Page 1 of 1
Needed Add to cart redirect directly to checkout/cart page
Posted: Fri Sep 09, 2011 4:29 pm
by rupaknepali
Needed Add to cart redirect directly to checkout/cart page
I am using Opencart 1.5.1.1 and i want to redirect the page directly to index.php?route=checkout/cart( cart page )
I just don't like to stay on the same page when we click Add to cart on the modules.
How can i setup this?
For example if i click "Add to cart " on the latest products it will stay on the same page. How do i redirect to the cart page.
Thanking a lot for the reply.
Re: Needed Add to cart redirect directly to checkout/cart pa
Posted: Fri Sep 09, 2011 4:49 pm
by uksitebuilder
Please use our free search, asked and answered before
Re: Needed Add to cart redirect directly to checkout/cart pa
Posted: Fri Sep 09, 2011 4:53 pm
by rupaknepali
i have searched but unable to find the answer so i have posted here.
uksitebuilder,
I have find you posting these "Please use our free search, asked and answered before " in many post,
Please help me to find the link as well for other also don't only the above sentence as this will not help to solve problems.
I have searched but unable to find out.
Thanking you for such quick response
Re: Needed Add to cart redirect directly to checkout/cart pa
Posted: Fri Sep 09, 2011 4:58 pm
by uksitebuilder
You dont find me posting that in many posts at all, only in posts that have been dealt with and are repeatedly asked for over and over.
http://forum.opencart.com/viewtopic.php ... =0#p180983
[Solved] Needed Add to cart redirect directly to checkout/ca
Posted: Fri Sep 09, 2011 5:02 pm
by rupaknepali
Thanking you
Re: Needed Add to cart redirect directly to checkout/cart pa
Posted: Tue Dec 18, 2012 3:19 pm
by Saudi Bee
Thank you all for this helpful codes. Do they apply to OC 1.5.4 ?
Re: Needed Add to cart redirect directly to checkout/cart pa
Posted: Tue Dec 18, 2012 7:19 pm
by xxvirusxx
Saudi Bee
Yes work on 1.5.4, but you need to replace that code in product.tpl from you template