Select Page

Refresh page after click on “update cart”

Home Forums Feature Requests Refresh page after click on “update cart”

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Helpful
    Up
    0
    Down
    Not Helpful

    Hello Divi Engine team,

    Thanks again for your great solution!

    One question: when we are in the checkout page, would it be possible to reload/refresh page after click on the “update cart” button? The reason why i ask that is because we are facing two issues currently:
    – after the click, the product pictures disappear. Quantity changed well but pictures are not displayed anymore.
    – quantity in the cart logo is not refreshed and keep old value.

    No need necessary an update, maybe just a code could help.

    In advance, thanks a lot!

    Cyrielle

    Helpful
    Up
    0
    Down
    Not Helpful

    You could try add some custom code – maybe this will work?

    `
    <script>
    jQuery( document.body ).on( ‘updated_cart_totals’, function() {
    location.reload();
    });
    </script>
    `

    Helpful
    Up
    0
    Down
    Not Helpful

    Working perfectly! Thanks a lot!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.