0

I am showing accessory products on popup and it appears just after adding actual product in cart.

Modal popup after product is added to cart

0

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.