Guest Posted April 14, 2003 Share Posted April 14, 2003 If you go http://www.dp-motorsport.co.uk/catalog/cat...t.php?cPath=1_9 here, and add something to the shopping cart, then use the navigation to go to another section, the shopping cart becomes empty and the user is logged out. Anyone know how to fix this please? Thanks, Rob Link to comment Share on other sites More sharing options...
burt Posted April 14, 2003 Share Posted April 14, 2003 There is no SID on your navigation in the left hand column. Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2003 Share Posted April 14, 2003 Hi Robbb, Any New links you add in your Store need to reflect the osCommerce standard and should look similar to this below: <a href="<?php echo tep_href_link(FILENAME_DEFAULT, '', 'SSL'); ?>">Home Page</a> adding standard HTML links like this below Will kill the SID, IE: <a href="http://www.dp-motorsport.co.uk">Click here</a> SID - the numbers and letters after a link IE: http://www.dp-motorsport.co.uk/product_id=23&SID=34578623ff09783523094872 The SID is needed in shops for customers who dont like to accept "cookies", (Cookie - a small file download to the customers PC whilst shopping - its used to remeber the customer when the return to your site.) the SID gets passed from page to page in the store like a short term memory but by clicking on html standard links will break-it. - the result loss of memory - no shopping cart contents, logged out. this is usally the case when a customer does not accept "cookies", brok=en shopping cart - auto log-outs, go back through all you new add-on's anh make sure you change all the "STANDARD HTML LINKS" to osCommerce approved links: <?php echo tep_href_link(Whatever I too learned the hard way :lol: Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2003 Share Posted April 14, 2003 Hey Hi Robbb, Everthing from the Words "Car Audio" up on the left navagation need to be modified as below - this is what you should have in there insted of plain HTML.... <a href="<?php echo tep_href_link(FILENAME_DEFAULT, '', 'SSL'); ?>">HomePage</a> <a href="<?php echo tep_href_link(FILENAME_ABOUT_US, '', 'SSL'); ?>">About Us</a> <a href="<?php echo tep_href_link(FILENAME_FINDING_US, '', 'SSL'); ?>">Finding Us</a> <a href="<?php echo tep_href_link(FILENAME_CONTACT_US, '', 'SSL'); ?>">Contact Us</a> <a href="<?php echo tep_href_link(FILENAME_SITE_MAP, '', 'SSL'); ?>">Site Map</a> You need to defined the NEWLY ADDED FILE_NAMES IN APPLICATION_TOP.PHP, Such as, aboutus.php, findingus.php, sitemap.php - the other two look like standard osCommerce pages and should already be included in application_top.php For the other new 3 and any other new files you decide to add/create it is highly recommended you do this. open: /catalog/includes/application_top.php Look for the File name Definitions - should be a nice big list of all osCommerce Files listed there and add the new ones from below to the bottom of the list or in alphabetical order (I prefer alphabetical easier to find in the future if need be) define('FILENAME_ABOUT_US', 'aboutus.php'); define('FILENAME_FINDING_US', 'findingus.php'); define('FILENAME_SITE_MAP', 'sitemap.php'); If you cant see the SID=34i5234i563o875on2387y342 you have COOKIES Turned-on you can turn OFF COOKIES for development purpose in Internet Explorer, under TOOLS>INTERNET OPTIONS>SECURITY> TURN THE SLIDER UP TO "HIGH LEVEL SECURITY" or CUSTOM and UNTICK the box next to "ALLOW COOKIES". Hope this Help you.. PS. I like the Navagation Style - is that a contribution? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.