Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Losing cart when going to checkout


HDLLC

Recommended Posts

Posted

Hi-

 

Looking for the root of a problem causing me to lose the cart contents when I go to checkout.

I am just finished installing - and am not customizing my site.

 

When I add a few items to the cart, then go to checkout - I see the items in cart go to zero, I log in, and then it shows the cart empty. When I go back out of the secure mode and into the regular store catalog, I get my cart back...

 

Any ideas?

 

Thanks!

 

--Jeff

Posted

Without looking, are you using a shared SSL certficate? If so, what does your configure.php file look like?

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Posted
Without looking, are you using a shared SSL certficate? If so, what does your configure.php file look like?

 

 

NO - should not be shared. I purchased one - main domain is: shehunts.com

 

SSL running on: secure.shehunts.com

 

I can go back and forth - but they act like totally different sites - no cart carry-over...

Posted

I doubt this is the problem but for simple little shopping carts, I have used NOP Cart, I am sure some you have heard of it anyways I had onced used it on a site that was masked, so it was basically sitting in a frame and when checking out it caused a problem where the cart would turn up empty because somehow it had left the frame and went to the actual page, so I just threw in a break frames code at the top of all pages relating to the shopping cart and it fixed the problem, so long story short, if you are using domain masking where your site basically sits in one big frame then you may want to put in a break frames script, and try it again.

 

Again, I doubt this is the problem, but it is atleast somthing to try, it sounds more like an issue with moving from http to https but i don't know for sure. Oh, how are you saving sessions, in files or in the database, in my mind I think that could be a problem, I have my shops set to store it in the database, but so far I havnt done any shops with SSL yet so im not going to beable to help too much with it.

 

EDIT: lol I didnt realize that was ur site in the next post.

Uh oh it says it can't connect to the database server

Posted

No frames here...

 

You have to use the https://secure.shehunts.com

 

Any other ideas... I'll double-check the config files - but they act like two completely different sites...

 

Thanks!

 

--Jeff

 

 

 

I doubt this is the problem but for simple little shopping carts, I have used NOP Cart, I am sure some you have heard of it anyways I had onced used it on a site that was masked, so it was basically sitting in a frame and when checking out it caused a problem where the cart would turn up empty because somehow it had left the frame and went to the actual page, so I just threw in a break frames code at the top of all pages relating to the shopping cart and it fixed the problem, so long story short, if you are using domain masking where your site basically sits in one big frame then you may want to put in a break frames script, and try it again.

 

Again, I doubt this is the problem, but it is atleast somthing to try, it sounds more like an issue with moving from http to https but i don't know for sure. Oh, how are you saving sessions, in files or in the database, in my mind I think that could be a problem, I have my shops set to store it in the database, but so far I havnt done any shops with SSL yet so im not going to beable to help too much with it.

 

EDIT: lol I didnt realize that was ur site in the next post.

Uh oh it says it can't connect to the database server

Posted
No frames here...

 

You have to use the https://secure.shehunts.com

 

Any other ideas... I'll double-check the config files - but they act like two completely different sites...

 

Thanks!

 

--Jeff

 

oh, ok now it works, I see ur problem, you're right they are acting like 2 diff sites well, im new to using secure sites but i think on the add to cart buttons i think the links need to go to secure.shehunts.com and not www.shehunts.com because with two different subdomains it will be essentially 2 different websites.

 

PS - off topic, i had just created a topic about setting up the product listing to be a 2x2 like yours and actually you are using the template, I described in the topic from template monster...lol do you know how they got the product listing to be set up as a 2x2 instead of just a bunch of rows of products? My guess is that it is probably in includes/modules/product_listing.php here is the topic

Posted

SOLVED>>

 

Looking at the configure.php file, the line that represents the HTTPS_COOKIE_DOMAIN

 

That was not set to the secure server.

 

That's it - works now.

 

Thanks for helping me think that through!!

 

--Jeff

 

 

 

oh, ok now it works, I see ur problem, you're right they are acting like 2 diff sites well, im new to using secure sites but i think on the add to cart buttons i think the links need to go to secure.shehunts.com and not www.shehunts.com because with two different subdomains it will be essentially 2 different websites.

 

PS - off topic, i had just created a topic about setting up the product listing to be a 2x2 like yours and actually you are using the template, I described in the topic from template monster...lol do you know how they got the product listing to be set up as a 2x2 instead of just a bunch of rows of products? My guess is that it is probably in includes/modules/product_listing.php here is the topic

Archived

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

×
×
  • Create New...