Am working shopping cart project in MVC razor with knockoutJS.
My scenario is an grid with dropdown. Each product will have different quantity dropdown.
Product : hammam soap
Quantity (dropdown ctrl) : 1,2,3,4
Product : rice
My problem is for all product shows same quantity . It takes last product quantity for all products. I need solution for this ASAP.
My problem is for all product shows same quantity
Maybe there is same quantity. maybe is what you return from database. Maybe you have the wrong html code. Maybe…
BUt it is better to show some code.
Please post the code where you are populating the quantity drop down values.