Niagol Posted February 25, 2007 Share Posted February 25, 2007 I have a piece of code in index.php that checks to see if a user is returning from something like a shipping information page. If they are I need it to redirect them back to the category they were already in. Such as if they click on the shopping cart and its empty, they then click continue and it sends them back to the category they were in, right now it sends them back to the main index! Link to comment Share on other sites More sharing options...
lstra Posted February 25, 2007 Share Posted February 25, 2007 I have implemented something similar on an oscommerce site. Go to www.partfinder.net , then click on any product. Click on warranty. Then scroll down and click on continue (it should take you back to the product you were just on). If this is what you mean then contact me and I will tell you how. Regards, I have a piece of code in index.php that checks to see if a user is returning from something like a shipping information page. If they are I need it to redirect them back to the category they were already in. Such as if they click on the shopping cart and its empty, they then click continue and it sends them back to the category they were in, right now it sends them back to the main index! Link to comment Share on other sites More sharing options...
Niagol Posted February 26, 2007 Author Share Posted February 26, 2007 That is very similar to what i'm trying to do. I have pretty much ripped out the index.php and hard coded it down to 3 categories with just products in each but I've setup the layout as static not dynamic with the products. So if they were ordering products from Category 2 and then goto the privacy notice page and then hit continue.. right now its sending them back as if they hadn't been shopping.. I want it to go back to category 2. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.