| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
add to cart button help | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() hi guys,
could you tell me that how can i change the link on add to buy button so it would keep me to the same page when i click on add to cart button. it takes me to the basket page which i dont want becuase i have mini basket which appears once you click on add to basket. you may view the website at www.lootsale.co.uk Kind Regards,
__________________
iddiboy.. lootsale.co.uk.. x-cart 4.1.3.. |
|||||||
#2
|
|||||||
|
|||||||
![]() General Settings/Redirect customer to cart. Uncheck it.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() nice, fanx..
__________________
iddiboy.. lootsale.co.uk.. x-cart 4.1.3.. |
|||||||
#4
|
|||||||
|
|||||||
![]() I was looking for the exact same thing, so thanks
|
|||||||
#5
|
|||||||
|
|||||||
![]() that checkmark to not redirect is great, but i've just learned that is does not apply when you're in a wishlist and you click add to cart.
in wlbuttons.tpl this is the code... <td class="ButtonsRow">{include file="buttons/add_to_cart.tpl" href="cart.php?mode=wl2cart&wlitem=`$wlitem_data.w ishlistid`"}</td> <td class="ButtonsRow">{include file="buttons/add_to_cart.tpl" href="cart.php?mode=wl2cart&fwlitem=`$wlitem_data. wishlistid`&eventid=`$eventid`"}</td> how would you get the add to cart action to take place, but stay in the wishlist? i've tried messing with the urls, and i can get it to stay put, but i cannot get it to add the item. ***EDIT... i just found this... the call or action is wl2cart. so, go to wishlist.php and this appears to be the chunk of code that controls the action. anyone have any idea how to modify it to not redirect to the cart? or would we not even need to touch the php, and it can be done in the tpl's? Code:
__________________
X-Cart version 4.1.7 - PHP 5.2. - MySQL server 5.0.41-community-nt - MySQL client 5.0.22 - Web server Apache/2.2.4 (Win32) - PHP/5.2.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|