I’m currently developing an e-commerce on Webflow + Snipcart integration.
I’m trying to create a quantity selector (+ / - buttons) next to the quantity input. I found some js code to change the value inside the input when clicking on the + or - buttons.
The problem is that the value doesn’t change when adding the product to the cart.
With a picture:
Note: If you manually change the quantity in the input (= not using the + / - buttons), the desired amount of product is correctly added to the cart.
Is there anyone here who can help me with this?
Thanks a lot!
Here is my site Read-Only: Read-only link
Here is the published link, at the section where my problem is: Published site
To avoid opening the cart directly after adding a product, you need to add data-config-add-product-behavior="none" in your custom footer code, right after your API key.
It should look like this: <div hidden id="snipcart" data-api-key="YOUR API KEY" data-config-add-product-behavior="none">