Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problems with shopping cart


carloscanas

Recommended Posts

Posted

could you post a link? we dont have much detail with that. also, please create a dummy test account, and post the login and password for it.

Posted
could you post a link?  we dont have much detail with that.  also, please create a dummy test account, and post the login and password for it.

 

www.gambinosbakery.com

 

You don't need an account to see this problem. Just add something to the shopping cart and then select a new category. The prior product disappears from the shopping cart. I checked the table customers_basket and it seems that whenever you select a new category, the system assigns a new session id, and you end up with a new entry in the table. The old entry is still there but now you have a new entry with a different session id.

 

Carlos

Posted

You have an inappropriate slash at the end of your HTTP_SERVER define. Take it out. I woiuld also recommend that you move the /~gambinos to the beginning of DIR_WS_HTTP_CATALOG and off of HTTP_SERVER. Make the similar changes for the HTTPS defines.

 

You will also need to make the tep_redirect edit as shown here.

 

However, I think the REAL problem is that your links to the categories are hard-coded URLs and not using tep_href_link. Your store is not setting cookies (probably because HTTP_COOKIE_DOMAIN is also incorrect - it should be 'cancansys.com' ) In order to preserve sessions, the osCID needs to be passed all the time and your category links are dropping it.

Archived

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

×
×
  • Create New...