Qty in cart to dropdown and automatic update [closed]
-
12-12-2019 - |
Question
I've managed to convert the basket qty to a dropdown.
Any ideas how I can update the basket upon selection of dropdown value, as oppose to selecting "Update Cart".
Solution
If you've kept the templates default structure so that the cart products are in a form and the original qty field id/name is being used you should be able to just add onchange="this.form.submit()"
to the select.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange