Skip to main content
All CollectionsDeveloper resources
Changing quantities in the cart
Changing quantities in the cart
N
Written by Narmina Balabayli
Updated over a week ago

WARNING: The installation also requires technical knowledge and prior experience with Liquid code and Javascript. If you are not comfortable with this, please request an installation.

ATTENTION: Make sure to create a backup of the theme file before editing it.

If you add a bundle (or multiples) to the cart (common cart, not Ajax. For example myshopifystore.com/cart ) and change the quantity of an individual item and it doesn't recalculate the bundle discounts, this happens due to the 'Ajax' method of updating the quantities and pricing.

We have a function you can fire after the price change to recalculate the bundle discounts:

if (window.MAKEBECOOL_BUNDLES && typeof window.MAKEBECOOL_BUNDLES.updateCart === 'function') { window.MAKEBECOOL_BUNDLES.updateCart() }

Did this answer your question?