srr Posted September 28, 2009 Posted September 28, 2009 Hi I'm in the process of putting a site together for a client using oscommerce for the first time. The site is quite simple with the following structure: index.php aboutus.php contactus.php /shop/ - oscommerce is in here What I'm finding is that if I browse the shop and add items into the cart, these are then lost if I browse outside of the shop i.e. go the contact us page. I'm assuming that this is related to the session id's but am not sure how to fix this. The site is being tested locally using xamp. If I check the session id table on my database I can see session id's being created in the database. I've lowered all of the IE settings to rule this out and also tested it on Firefox but get the same result. If I go to another oscommerce shop site via the live shops link on this site I don't have this issue. I've checked other posts but most of the solutions relate to stopping session id's being shown in search engine results - unless I've misunderstood the posts!! Any help would be appreciated.
Guest Posted September 29, 2009 Posted September 29, 2009 Steve, In most cases, I try to integrate custom pages into the OSC store rather than the store into custom pages. OSC contains a contact us page and you can add the about us information as a link the information box or create a custom box on the page for that information. You are correct when you say the session is lost if you leave the store to an external link. This is why I make all links internal. This helps with SSL problems as well. Chris
satish Posted October 2, 2009 Posted October 2, 2009 Hi I'm in the process of putting a site together for a client using oscommerce for the first time. The site is quite simple with the following structure: index.php aboutus.php contactus.php /shop/ - oscommerce is in here What I'm finding is that if I browse the shop and add items into the cart, these are then lost if I browse outside of the shop i.e. go the contact us page. I'm assuming that this is related to the session id's but am not sure how to fix this. The site is being tested locally using xamp. If I check the session id table on my database I can see session id's being created in the database. I've lowered all of the IE settings to rule this out and also tested it on Firefox but get the same result. If I go to another oscommerce shop site via the live shops link on this site I don't have this issue. I've checked other posts but most of the solutions relate to stopping session id's being shown in search engine results - unless I've misunderstood the posts!! Any help would be appreciated. This will happen if session is lost. session is managed thru oscsid which is either in the URl or in cookies. If some of the code ni Your info pages didnt followed oscommerce convention then there is a probability of get url not having osCsid. So check this. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.