Articles on: For developers

Changing quantities in the cart

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()
}

Updated on: 28/04/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!