Automatically update the Shopify cart when the quantity changes

Sell Online With Shopify
Trusted by millions of businesses worldwide
Sign up for a free trial and enjoy the first month of Shopify for $1.

You want to auto update the cart when quantity is changed. It’s very simple.

  1. From your Shopify admin, to to Online Store > Theme.
  2. Find the theme you want to edit and then click Action > Edit code.
  3. In the Templates section, click cart.liquid to open the file in the online code editor.
  4. Add the below code at the end of file.
  5. Save

Attention: Load the jQuery library before this code.

Happy coding!

Looking for Shopify Experts?

Hura Apps can help you take your store to the next level

Our team of experienced designers and developers can help you create a beautiful, high-converting Shopify store that will drive sales and increase customer satisfaction. From custom design to app development and optimization, we have the skills and expertise to help you achieve your eCommerce goals.

Get in touch

You may also like...

2 Responses

  1. Omar Perez says:

    Thanks for this information, but one additional piece of information will be appreciated…..how do you load the jQuery library???

  2. JCS says:

    I’m having issue with this. Any suggestions? Cheers.

Leave a Reply

Your email address will not be published. Required fields are marked *