Hi i need a two button in view page

  1. Add to cart Product should be added into cart and it should not redirect to shopping cart

  2. Buy now Product should be added into cart and It should redirect to Shopping cart

How to implement this?


You can do this by editing the phtml file Add a link there which will redirect you to the shopping cart page view.phtml can be find in catalog->product->view.phtml

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.