1

If we click on "add to cart" button , it's redirecting to "checkout page", but it should stay on same page.

This is our addtocart.phtml http://pastebin.com/37P4wUdb

Please help me to find solution

3

You can set that in admin panel itself.

Goto

Admin > System > Configuration > Checkout > Shopping Cart > After Adding a Product Redirect to Shopping Cart > No.

Admin Config

  • but its refreshing the page. is there any option to add the cart to item without refreshing? – Baby in Magento Aug 7 '15 at 11:05
0

Magento 2

Stores > Configuration > Configuration > Sales > Checkout > After Adding a Product Redirect to Shopping Cart > Yes

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.