Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shopping cart was there - Today it is empty!!


Newbie45

Recommended Posts

Good afternoon!! I really hate to bother everyone, but I just cannot figure this one out. I have searched and searched this wonderful forum and found answers to every one of my other problems. I have searched on 'Shopping Cart is Empty', but none of the solutions that I found seem to help.

 

Here is what I have --

 

I have been testing my site, and it has been working great. I could add items, checkout, and everything. Today when I add any item to my shopping cart, I get the following message, "Shopping cart is empty!". No matter what item I add, I get the same message.

 

I tried adjusting my configure file as others suggested, but it has not helped. I did not even have my domain listed in the file until I read about today! I reinstalled a previous version of my site that I had backed up, but it still does not work.

 

Thanks for your time, and I appreciate your wonderful expertise!!!!

Link to comment
Share on other sites

post a link, also your configure.php file WITHOUT the database connection info

 

 

My site (aggielanddieselperformance.com) is nothing special...pretty basic at the moment. I have been testing it for weeks, and it has worked fine. I am in the process of getting my SSL certificate and the ability to accept credit cards. I had not touched my configure.php file until yesterday when researching my problem. I added my information in the server and cookie lines. Here is the current file:

 

define('HTTP_SERVER', 'http://aggielanddieselperformance.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://aggielanddieselperformance.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '.aggielanddieselperformance.com');

define('HTTPS_COOKIE_DOMAIN', '.aggielanddieselperformance.com');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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/');

 

Thanks!

Link to comment
Share on other sites

I am in the process of getting my SSL certificate and the ability to accept credit cards.

 

I know that you have enable_ssl set to false - but you also have an https cookie domain in that file. Unless you actually have your ssl cert installed and the server rebooted then leave blank all https references.

 

Vger

Link to comment
Share on other sites

i would be you removed the quantity box from the page, reinsert the code and it should work

 

 

Wow! Who knows how I did that! Is that in my catalog/shopping_cart file? I tried searching the forum but didn't find the exact information. Thanks -

Link to comment
Share on other sites

Wow!  Who knows how I did that!  Is that in my catalog/shopping_cart file?  I tried searching the forum but didn't find the exact information.  Thanks -

 

 

I found a contribution, "easy way add Qty box in your product_info.php", and I made the corresponding changes to my application_top and product_info files to add a quantity box. My shopping cart still shows empty when I add an item!

 

I have an on-line catalog that I am developing for another website at the same time as this one. I have copied the product_info, application_top, etc. files from that site to my troubled site...but no luck so far!!

 

I am about to pull my hair out! What am I missing??

Link to comment
Share on other sites

try putting the original code back in there and see what happens

 

 

Thanks so much for your assistance today! I really appreciate it. Are there particular files that I need to revert to the original files or just certain ones? (I am hoping just certain ones :) )

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...