View Single Post
  #3  
Old 01-10-2007, 11:56 AM
 
burtsTechie burtsTechie is offline
 

Member
  
Join Date: Sep 2006
Posts: 20
 

Default Re: 'continue shopping' = return to last category or item

Thanks - I find searching through these forums a real skill, one I obviously haven't mastered!

I found this thread (http://forum.x-cart.com/showthread.php?t=873), but can't get it to work in 4.13. I'm trying to use xgard's code (http://forum.x-cart.com/showpost.php?p=100243&postcount=37) and I get a blank page when I update config.php.

Has there been a major change to in 4.1x that makes this code crusty and useless? Here's the code that I'm using:

Code:
x_session_register("last_cat"); x_session_register("last_productid"); if($HTTP_GET_VARS['cat'] != "") { $last_cat = $cat; } if($HTTP_GET_VARS['productid'] != "") { $last_productid = $productid; } $smarty->assign("last_productid", $last_productid); $smarty->assign("last_cat", $last_cat);

Any suggestions, or do you know of other mods that are more relevant?
__________________
X-Cart Version: 4.15 (in development)
Reply With Quote