I am using Magento CE 1.7 for a site. The theme being used has overridden the default behavior in Magento where after adding an item to the cart, the user is taken to teh cart page; with this theme, the user remains on the same product page, with a jquery layer poppping up to show that the item is added.
I’d like the user to be taken to the cart page every time they add an item to the cart. How best can I do this?
Thanks.
-TM
Take a look @
/app/design/frontend/default/[theme]/template/catalog/product/view/addtocart.phtml
The default
onclickmethod should beproductAddToCartForm.submit(this). If your custom template have the sameonclickmethod, then take a look at both base and your custom theme productAddToCartFormsubmit()method.Also take a look @ Admin -> System -> Config -> Sales -> Checkout -> Shopping Cart -> After Adding a Product Redirect to Shopping Cart