Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shopping Cart Issues


Load-This

Recommended Posts

Posted

Hey Peoples,

 

I got a bit of an issue with my shop im hoping someone can help me fix.

 

All of my customers carts are being lost if they sign up an account ... if they come to the site, put things in their cart, then go to sign up an account to purchase the things the cart empties.

 

Has anyone seen this issue before that might be able to help me out.

 

Cheers,

Posted

Sounds like a session issue.

 

1. Are you using SSL?

2. Do you have cookies working properly?

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Posted

Hey ... Yeh im using SSL ... The cart doesnt clear when going into SSL mode though.

 

Im not sure if im using cookies properly ... How do i check that?

 

In my configure.php the cookies path isnt set ... would that make a difference?

 

Cheers

Posted

This is the contents of /catalog/includes/configure.php

 

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

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

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

define('HTTP_COOKIE_DOMAIN', 'website.com.au');

define('HTTPS_COOKIE_DOMAIN', 'website.com.au');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

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

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

//define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_CATALOG', '/hsphere/local/home/website.com.au/');

 

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'mysqlserver'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'user');

define('DB_SERVER_PASSWORD', 'password');

define('DB_DATABASE', 'database');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Posted

Hey ... I managed to fix it ... It was an issue with the cookies ... the configure.php didnt set the right cookie parameters.

 

Alllllll good :)

Posted

Good stuff :D

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Posted

Hey Load-This

 

What specifically did you have wrong? Our website after months of working has now decided to do the same thing!

 

Cheers

Alex

Archived

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

×
×
  • Create New...