Currently, this product gets added with a quantity of only one, and I’d like to give users the option to choose how many they want.
Since the default Order Bump functionality doesn’t support quantity selection, I’ll need to implement a custom solution using HTML, JS, and CSS. However, I’m having trouble finding the right code to add, remove, or update the product based on a quantity selector.
Could you please guide me or share a code snippet that would help me implement this functionality?
Currently, this product gets added with a quantity of only one, and I’d like to give users the option to choose how many they want.
Since the default Order Bump functionality doesn’t support quantity selection, I’ll need to implement a custom solution using HTML, JS, and CSS. However, I’m having trouble finding the right code to add, remove, or update the product based on a quantity selector.
Could you please guide me or share a code snippet that would help me implement this functionality?
Yes, this is possible — but you’re right, it needs a custom-built solution.
You can use JavaScript to:
Add the product using Funnelish’s addProduct() function
Update quantity by calling updateProductQuantity() (if using newer APIs) or re-adding with new quantity
Remove using removeProduct()
Since the Order Bump doesn’t natively support quantity input, you’ll need to:
Create a custom quantity input field
Listen for changes with JS
Use Funnelish’s internal product functions to update cart accordingly
This kind of setup needs some careful implementation, and it may depend on your product ID and checkout layout. If you’re on an Advanced user plan, I suggest reaching out to Funnelish Support — we can provide or validate the custom code for your specific case.
Hope that helps! Let me know if you need a starter code snippet.