• Resolved charlesgodwin

    (@charlesgodwin)


    We are using version 7.1.3 When a user pushes the Empty Cart button, this URL is created but the cart is not cleared. This used to work but we have received complaints in past few weeks, alas, I can be specific on when it stopped working. My temporary “fix” is to disable the button to reduce user confusion.

    what do you suggest?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support David G

    (@gravid7)

    Hi @charlesgodwin,

    If possible can you please share screenshots of your configuration settings and screenshots of your issue? So, we can check and help you.

    Thread Starter charlesgodwin

    (@charlesgodwin)

    I’m not sure what you need but I’ll try.

    When I click on the button the page url changes to this but nothing happens.
    https://ogs.on.ca/cart/?wcj_empty_cart=Empty+Cart&wcj_empty_cart_nonce=8aeb3571c1&_wp_http_referer=%2Fcart%2F

    Here’s the cart page Here’s the setting page

    Here is the form code on the page

    <form>
    <input type="submit" class="button" name="wcj_empty_cart" value="Empty Cart" onclick="return confirm('Are you sure you want to clear cart?')">
    <input type="hidden" id="wcj_empty_cart_nonce" name="wcj_empty_cart_nonce" value="8aeb3571c1">
    <input type="hidden" name="_wp_http_referer" value="/cart/?wcj_empty_cart=Empty+Cart&amp;wcj_empty_cart_nonce=4cfe5f8908">
    </form>

    Here is an extract from the settings export file

    	"wcj_empty_cart_enabled": "yes",
    	"wcj_empty_cart_text": "Empty Cart",
    	"wcj_empty_cart_div_style": "float: right;",
    	"wcj_empty_cart_button_class": "button",
    	"wcj_empty_cart_position": "woocommerce_after_cart",
    	"wcj_empty_cart_checkout_position": "woocommerce_before_checkout_form",
    	"wcj_empty_cart_confirmation": "confirm_with_pop_up_box",
    	"wcj_empty_cart_confirmation_text": "Are you sure you want to clear cart?",
    Plugin Support David G

    (@gravid7)

    Hi @charlesgodwin,

    Can you please contact us from our website? So, we can take a deeper look and help you.

    Thread Starter charlesgodwin

    (@charlesgodwin)

    I’ll contact later today. In about 4 hours

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Empty Cart button has stopped working’ is closed to new replies.