• Resolved WebBuddy

    (@websprout)


    Hi,

    Whenever we are at the cart page then amend the quantity and click update cart, the ‘continue shopping’ button on top of the page will disappear.

    may I know how to make it stay even after we updated the quantity?

    Appreciate your help in this!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there,

    It looks like that “Continue shopping” button is only added as part of the wc_add_to_cart_message function, which by default is only triggered after adding a product to the cart. So after updating the quantity, the page refreshes and any previous messages/notifications are cleared. I’m not seeing any available filter to always show the continue shopping button. As a workaround, you could override the Cart template file and add a “Continue shopping” button to the page instead, linking back to your shop.

    You could add a button/link at the top of the /woocommerce/templates/cart/cart.php template. We have a guide for overriding template files here:
    https://docs.woocommerce.com/document/template-structure/

    I hope that helps!

    Plugin Support fevered – a11n

    (@fevered)

    Hey there, since we haven’t heard back from you in awhile I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Prevent ‘Continue shopping’ button from disappearing after update cart’ is closed to new replies.