Add products to cart from modal popup
-
24-03-2021 - |
Solution
I have modified the form submission mechanism to achieve this.
First I changed the button type from submit
to button
to avoid default submission.
Then I programatically added all products with mentioned quantities to cart using ajax request.
Refresh the page afer ajax is complete to get it reflected in mini-art as well as in main shopping cart.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange