Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Disappearing Items in Shopping Cart


hebiki

Recommended Posts

Once inside the site, upon adding an item to the cart and the user uses the navigation at the top to go to another category, the items in the shopping cart disappear.

 

Please visit: www.blenderpros.com

 

Click on the tabs at the top to navigate into the site.

 

Add an item to the cart. Then proceed to click on "Blenders" or "Parts" tabs at the top, and the shopping cart will empty out. Please help!

 

i have set store sessions to mysql (below)

define('STORE_SESSIONS', 'mysql');

 

in both configure.php files.

Link to comment
Share on other sites

so i changed my header tab links from:

<a href="index.php?cPath=21">

 

to:

<a href="<?php echo tep_href_link("index.php?cPath=21");?>">

 

i did this to maintain the session id. when i click from "Parts" add an item to the cart, then click on "Blenders" at the top. the shopping cart empties.

 

still no luck. Please help.

Link to comment
Share on other sites

so i changed my header tab links from:

<a href="index.php?cPath=21">

 

to:

<a href="<?php echo tep_href_link("index.php?cPath=21");?>">

 

i did this to maintain the session id. when i click from "Parts" add an item to the cart, then click on "Blenders" at the top. the shopping cart empties.

 

still no luck. Please help.

 

okay.. i found a fix. for those that create a custom navigation bar... and want to "hardcode" links. use this for category links.

 

<a href="<?php echo tep_href_link(FILENAME_DEFAULT,'cPath=21');?>">

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...