Multiple cart buttons [Resolved]

Posted by Jithuvarma under JavaScript on 5/4/2017 | Points: 10 | Views : 362 | Status : [Member] | Replies : 1
I work for a ecommerce site where there are products, with individual quantity and cart button on the same page.

All the quantity dropdowns are default loaded with 1. So when I click the "add to cart" button of item 1 I want the quantity dropdown of Items 2,3,4 to become blank at the button click event. How can I do this with javascript?

I don't have a clear code sample with me. Would appreciate any help :)


Posted by: Jitendrasoft09 on: 5/14/2017 [Member] [MVP] Starter | Points: 50


Try to use createElement in javascript to add multi-item in Dropdownlist, similar thread share below.

Jitendra Kumar
If my post helps you, plz mark as an answer.

Jithuvarma, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response