I am trying to use checkboxes for selecting variants - see here - https://ecommerce-ds.webflow.io/product/bag-1a
In the example above, I am using Jquery to trigger the checkboxes to change the variant dropdown values for “CLIPS ADD ON” and “LIGHTS ADD ON” (these dropdowns are visible now for debugging but will not be when the site is live)
The checkboxes are working to change the values but they do not update the “Price” of the item nor do they register when added to the cart. I have used .trigger(‘change’) and .click() when changing the values in Jquery but neither seems to work.
Is there a way to get it working - to simulate a click using jquery? Or how can the cart / price update be triggered?
Here is the shareable link - https://preview.webflow.com/preview/ecommerce-ds?utm_medium=preview_link&utm_source=dashboard&utm_content=ecommerce-ds&preview=674831694e1c9750b0a76c6547a95235&mode=preview
The site is cloneable if anyone wants to play with it - https://webflow.com/website/ecommerce-ds-addons