Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Losing attribute options!


ryanf

Recommended Posts

Posted

Hey everyone, I am having a problem with my site I am hoping someone can fix. Currently I require people to log in before they can add stuff to the shopping cart or do any member related actions. The problem is occuring when they add something to the cart when they are not logged in. It redirects them to the log in page (good) then after they are logged in, it redirects them to the shopping cart (good) but the product they just ordered is not correct (bad). Its not saving the values they entered in text boxes. It just has blank values there. Anyone know how to stop this?

 

If you want to see what I am talking about this is my site and you can use the login information:

email: [email protected]

pass: tester

 

Buy something with a text box field (all rings have them for ring size) fill it out and hit add to cart with out being logged in. After you log in the size wont be there in the cart.

 

thanks for any help, I really need it on this one,

Ryan

If I was crafty, this would be a funny signature.

Posted

it is most likely a cookie / session problem, how are these setup in your configure.php file?

Posted

Thanks for taking a look mibble

 

Heres the configure code:

define('HTTP_SERVER', 'http://www.abdulky.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://fmabdulky.secure.powweb.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.abdulky.com');
 define('HTTPS_COOKIE_DOMAIN', 'fmabdulky.secure.powweb.com');
 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_PRODUCT_IMAGES', 'images/productimages');
 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', '/www/a/b/abdulky.com/htdocs/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

If I was crafty, this would be a funny signature.

Archived

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

×
×
  • Create New...