Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shopping Cart Major Problem in M2.2


secret

Recommended Posts

We found a major issue with our shopping cart.

 

When someone adds something to our shopping cart, and after the shopping cart has added the product, clicks on the drop down menu thats says "show" and list the other manufacturers under the same category, the shopping cart empties.

 

You can check it out on our site www.lowcarbsonline.com

 

Has anybody seen this problem before. It is extremely disturbing since we are loosing tons of customers because of this.

 

Can anyone help....

Link to comment
Share on other sites

I have seen this once before - it was due to the cookie domain being incorrect in catalog/configure.php - if you have 'http://' remove it

 

Matti

Link to comment
Share on other sites

Matti,

 

Thank you for your help.....We did check include/configue.php but we cannoy find the cookie domain.

 

Here is the code in our include/configure.php....

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License */

// Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.lowcarbsonline.com/'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.lowcarbsonline.com/shop');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_WS_HTTP_CATALOG', 'shop/');
 define('DIR_WS_HTTPS_CATALOG', '');
 define('DIR_FS_DOCUMENT_ROOT', '/home/lowcarbs/public_html/shop/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', 'admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/lowcarbs/public_html/shop/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', 'shop/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/lowcarbs/public_html/shop/'); // absolute path required
 define('DIR_WS_IMAGES', '/shop/images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
 define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'xx');
 define('DB_SERVER_PASSWORD', 'xx');
 define('DB_DATABASE', 'lowcarbsonline');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...