Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Your Shopping Cart is empty!


goodwinj

Recommended Posts

Posted

Apologies - I am a newbie. :blush: Just spent an hour looking for other posts on this but have not found solution.

 

I have installed MS2.2 at Will Spencer Custom Trumpets

 

When shopping (logged in or not) I add items to the cart in the normal way.

 

When I press checkout, I get a message saying "Your Shopping Cart is empty!"

 

When I click back onto Cart, items are there!

 

This was tested and working fine a month ago, I have not changed the configuration (being lazy) so what is going wrong? :angry:

 

Thanks for your help.

Posted

Try leaving your https cookie domain and https cookie path blank in your includes/configure.php. It seems as though you are losing the session when moving to https.

 

Vger

Posted
Try leaving your https cookie domain and https cookie path blank in your includes/configure.php.  It seems as though you are losing the session when moving to https.

 

Vger

 

Thanks Vger as you say the cart contents don't appear to migrate from the http to the https domains.

 

I tried your solution but it did not work. Code looks like this now.

 

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

define('HTTP_COOKIE_DOMAIN', 'www.willspencer.org');

define('HTTPS_COOKIE_DOMAIN', );// changed to solve checkout problem

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

define('HTTPS_COOKIE_PATH', );// changed to solve checkout problem

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

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

 

 

 

Any other ideas to try?

 

John

  • 1 month later...
Posted
Thanks Vger as you say the cart contents don't appear to migrate from the http to the https domains.

 

I tried your solution but it did not work.  Code looks like this now.

 

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

  define('HTTP_COOKIE_DOMAIN', 'www.willspencer.org');

  define('HTTPS_COOKIE_DOMAIN', );// changed to solve checkout problem

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

  define('HTTPS_COOKIE_PATH', );// changed to solve checkout problem

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

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

Any other ideas to try?

 

John

 

D'Oh! did not need to change the https cookie domain, just the path. :blush:

 

All works fine now!

 

Thanks again Vger.

Archived

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

×
×
  • Create New...