Page 1 of 1
Search found 8 matches
Re: Disable Ajax Add to Cart -- Go straight to Cart
I did it for testing only at home page in featured - module/featured.tpl
If you want to use it in all places there are about 5 or more files including product.tpl, you'll just have to look for..
If I gonna use it in my site everywhere, I will post the list of files.
- Sun Jul 17, 2011 6:53 pm
- Replies 16
- Views 14798
Re: Disable Ajax Add to Cart -- Go straight to Cart
There is a little problem with this method. Sometimes the redirect works faster than the ajax add to cart code, it does adds a product to cart, but when you get to the carts page you don't see the product until you refresh. To solve this you can use setTimeout(). add to common.js function function R...
Jump to post- Thu Jul 14, 2011 9:57 pm
- Replies 16
- Views 14798
Re: When customer hits Add to Cart button, want to redirect
There is a little problem with this method. Sometimes the redirect works faster than the ajax add to cart code, it does add a product to cart, but when you get to the carts page you don't see the product until you refresh. To solve this you can use setTimeout(). add to common.js function function Re...
Jump to post- Thu Jul 14, 2011 9:54 pm
- Replies 30
- Views 33433
Re: [1.5]Disable ajax add to cart?
There is a little problem with this method. Sometimes the redirect works faster than the ajax add to cart code, it does add a product to cart, but when you get to the carts page you don't see the product until you refresh. To solve this you can use setTimeout(). add to common.js function function Re...
Jump to post- Thu Jul 14, 2011 9:53 pm
- Replies 7
- Views 2658
Re: When customer hits Add to Cart button, want to redirect
In opencart 1.5.0.5v, there is no way to do it from the admin panel like in earlier versions. I have seen different php based solutions that haven't worked for me, so I've came with my own javascript based solution. The idea is very simple. You just have to append a redirect command to onclick event...
Jump to post- Thu Jul 14, 2011 5:58 am
- Replies 30
- Views 33433
Re: How to turn off ajax
what kind of version you use?
Jump to post- Thu Jul 14, 2011 5:43 am
- Replies 6
- Views 1733
Re: Disable Ajax Add to Cart -- Go straight to Cart
today I've spent an hour or so to find a solution on how to redirect a client to the cart page when pressed "add to cart". I'm using 1.5.0.5v, there is no way to do it from the admin panel like in earlier versions. I have seen different php based solutions that haven't worked for me, so I ...
Jump to post- Thu Jul 14, 2011 5:40 am
- Replies 16
- Views 14798
Re: [1.5]Disable ajax add to cart?
Hi, this is my first post :) anyways, today I've spent an hour or so to find a solution on how to redirect a client to the cart page when pressed "add to cart". I'm using 1.5.0.5v, there is no way to do it from the admin panel like in earlier versions. I have seen different php based solut...
Jump to post- Thu Jul 14, 2011 5:35 am
- Replies 7
- Views 2658
Search found 8 matches