osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Add Item to Cart, authenticate, then deletes cart contents?

This is a discussion on Add Item to Cart, authenticate, then deletes cart contents? within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Like most eCommerce sites, I don't login right away, I will add stuff to my cart, then login. When I ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-13-2004, 03:36 AM
Anonymous
Guest
 
Posts: n/a
Default Add Item to Cart, authenticate, then deletes cart contents?

Like most eCommerce sites, I don't login right away, I will add stuff to my cart, then login. When I do it here, after I login, the cart is empty. What do I have to do to fix this?

Thanks, Corey
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 07-14-2004, 06:21 PM
New Member
 
Join Date: Jul 2004
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
koltz
Default

This is a friendly bump, because I wasn't logged in before and I want to be notified if somebody replies
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 07-14-2004, 07:09 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,330
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Check your ssl settings in the configure.php, and also make sure your sessions settings in the admin are correct for your ssl settings. Make sure the https cookie domain is correct.

Shared SSL = You cannot have 'Force Cookies' on
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 07-18-2004, 03:21 PM
Member
 
Join Date: Aug 2003
Location: Southampton UK
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
NickW
Default

Having the same problems with shared SSL.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 07-19-2004, 03:33 AM
Member
 
Join Date: Aug 2003
Location: Southampton UK
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
NickW
Default

I'm sure the 'cart empty' issue is caused by the same problem which requires the customer to login a second time at the checkout even though they are already logged in. I've just setup two test stores using shared SSL in different directories on the same domain, one is osc standard the other is oscMax. I've been very careful to ensure that the settings in the catalog configure are identical apart from the directory name. Also in the Admin section under sessions all settings are set to False and the cookie dir is /tmp for both stores.

I've created an account in both stores, logged in via https and added an item to the cart in both stores. On clicking the checkout button, osc goes straight to the delivery information page, oscMax goes to the login page. Somewhere there must be a differece in cookie or session handling between osc and oscMax?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 07-19-2004, 05:59 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,330
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

There isn't a difference. MAX uses the exact cookie/session handling as MS2, but the base settings in the sessions section of the admin may be different. Check them.

I have no issues using ssl, shared ssl at all. Both max and MS2 behave identically for me, no matter where I install. Do you have a link to see this in action?

If you are losing the seesion, it is either a path/file problem or your sessions settings are not correct. Try storing your sessions in the database. That will eliminate physically losing the session, since it will be stored in the db. Then you can concentrate on the nuts and bolts.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 07-19-2004, 06:55 AM
Member
 
Join Date: Aug 2003
Location: Southampton UK
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
NickW
Default

koltz, I hope I haven't hijacked your question, but I believe you are having the same issues I was and I think I've solved mine.

msasek, I think you were absolutely right, it was my SSL settings. Since my last post I tried the site on another PC and the second login appears to have gone, so maybe that was a browser caching issue. I think the problem with my SSL settings was that I hadn't included the 'http://' in the cookie path. My settings now look like this:

In catalog/configure.php:
Code:
define('HTTP_SERVER', 'http://my_domain_name.co.uk'); 
define('HTTPS_SERVER', 'https://my_shared_ssl_domain.co.uk/~my_package_name'); 
define('ENABLE_SSL', true); 
define('HTTP_COOKIE_DOMAIN', 'http://my_domain_name.org.uk');
define('HTTPS_COOKIE_DOMAIN', 'http://my_domain_name.org.uk');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
NB: there is no www in front of my_domain_name, I don't know how vital that is.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 07-20-2004, 10:14 AM
New Member
 
Join Date: Jul 2004
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
koltz
Default

No problem, I put it on the back burner trying to figure out MoPics which I did last night. I had 200 pics that needed to be moved and thumbed, found free software to do the thumbs, but I just decided not to rename the files with _big. Anyway, will check out my configure.php. Problem is I don't know if I have shared SSL or not. Does this mean shared with another store only or just in general? I am using e-smith which works great, but don't know what it does behind the scenes.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 07-20-2004, 10:48 AM
New Member
 
Join Date: Jul 2004
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
koltz
Default

I had most of that configured correctly, here is the line that I needed to change:

define('STORE_SESSIONS', '');

I had mysql for a session instead of blank, deleted it and worked fine. Weird. Well got that working Now just mostly cosmetic and add more items and can advertise.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Remove total from 'cart contents' box icecold osCMax v2 Customization/Mods 2 04-27-2006 03:43 AM
double item name in shopping cart PerzianKabob osCommerce 2.2 Modification Help 0 03-26-2005 08:01 PM
How to get item numbers to show in the CART? beachbum2377 osCommerce 2.2 Modification Help 4 03-15-2005 03:43 PM
checkout says theres no item in cart when there is humbags osCommerce 2.2 Modification Help 0 07-18-2003 12:59 PM


All times are GMT -8. The time now is 04:50 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax