Support » Plugin: Change Quantity on Checkout for WooCommerce » Reload whole page after cart quantity changed

  • Thanks for the plugin. It works great.

    I have one request. Due to my custom checkout form with repeater fields, I would need to reload the page after cart quantity changed.

    How do I edit the plugin to reload the whole page after cart quantity changed?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author bhavik.kiri


    Hi @lcf

    I apologize for the delay in the response.

    You can change the “change-quantity-on-checkout-woocommerce.php” file and in that, after below line, you can add the page refresh code:

    jQuery( 'body' ).trigger( 'update_checkout' );

    You can edit using the FTP or you have a plugin edit screen on the admin side, but I won’t recommend it.

    Please let me know if you need my help with it.


    thanks for reply.

    What page refresh code should I use? Will this PHP line work?
    header('Location: '.$_SERVER['REQUEST_URI']);

    Plugin Author bhavik.kiri


    You have to write a jQuery code.

    Please use below line of code and let me result.


    Plugin Author bhavik.kiri


    Hi @lcf,

    Please let me know above solution worked and solved your issue?


    thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Reload whole page after cart quantity changed’ is closed to new replies.