Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding osCsid to "Top" link


loganx17

Recommended Posts

Hello,

When you shopping at my site: http://www.shopourshop.com/, there is one link in the breadcrumbs ("Top") which does not contain a osCsid value. The result of this is that if you click this link, it begins a new customer session and their cart contents are lost.

 

Does anyone know where in the code I can add this on to this link? Also, where can I change it from "Top" to something else. I assume that the answer to the first question will lead me to the second as well, but just asking to be sure.

 

Thanks all,

 

Logan

Link to comment
Share on other sites

Hello,

When you shopping at my site: http://www.shopourshop.com/, there is one link in the breadcrumbs ("Top") which does not contain a osCsid value.  The result of this is that if you click this link, it begins a new customer session and their cart contents are lost. 

 

Does anyone know where in the code I can add this on to this link?  Also, where can I change it from "Top" to something else.  I assume that the answer to the first question will lead me to the second as well, but just asking to be sure.

 

Thanks all,

 

Logan

 

includes/application_top.php

 

line 466

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
 $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

try

  $breadcrumb->add(HEADER_TITLE_TOP, tep_href_link(HTTP_ SERVER));
 $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

includes/application_top.php

 

line 466

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
 $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

try

  $breadcrumb->add(HEADER_TITLE_TOP, tep_href_link(HTTP_ SERVER));
 $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

 

Thanks,

That didn't work, probably because HTTP_ SERVER does not contain a filename (just the site url). I just decided to comment out the "Top" code, so that it does not show up at all.

Link to comment
Share on other sites

Thanks,

That didn't work, probably because HTTP_ SERVER does not contain a filename (just the site url).  I just decided to comment out the "Top" code, so that it does not show up at all.

 

could you not have appended the filename to the call of the folder? if it's ok like this though, just leave it :-)

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...