Product Add, Remove, and update using custom code

I have a checkout page here: Secure Checkout, where I’ve added an Order Bump product (screenshot: Screenshot by Lightshot).

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?

Thanks so much!

1 Like