View Single Post
  #4  
Old 05-07-2008, 03:46 AM
 
xsurf xsurf is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 56
 

Default Re: The universal solution "Continue Shopping Button"

As to whether this will work at all I don't know, haven't had the time to try it as am presently overloaded. It looks as though it should work though.

But depending on how your cart is set up, I would consider adding some restrictions to "if ($mode == "add")".
In my case for example, I have the ability to "add to cart" from the actual cart page, so I would add the restriction that if I am already on that page, the
back_url variable shouldn't change. There might be other cases where you don't want the variable changed, in which case you should add these restrictions as well.


__________________
X-cart Gold 4.1.12
One Page Checkout
CDSEO Pro
Smart Search
PHP 5.2.5
FreeBSD
Reply With Quote