| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Add to cart button needs to redirect to a new page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have a list of products created in html code and when the client clicks on the product it adds to basket without changing the page however i would like it to add to basket and then take the client to a new page. Its basically a step by step process where they have to select one product at each stage. (This is great if you want them to just add 1 item to the basket without redirecting to the basket page)
Code i have at the moment for the buttons in the product list is: <a class="Button" href="http://www.xxx.com/cart.php?mode=add&productid=500&amount=1"> <img src="http://www.xxxx.com/skin1/images/go.gif" alt="" border="0" class="GoImage" /></a> Any help is appreciated Thank you. |
|||||||
#2
|
|||||||
|
|||||||
![]() Anyone have any ideas for this? I am also trying to do something similar.
__________________
Version 4.1.9 |
|||||||
#3
|
|||||||
|
|||||||
![]() Add this to the anchor link:
Code:
|
|||||||
#4
|
|||||||
|
|||||||
![]() Any suggestions on how to turn that in to a functional if then statement?
For example, if they are in category 1 and they click add to cart, then I want them directed to category 4. If they are in category 2 and click add to cart, i want them directed to category 6. I have been experimenting with it but I can't seem to get it right.
__________________
Version 4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|