Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shopping Cart Empty Issue


horizon70s

Recommended Posts

I have spent countless hours over the past month or two trying to determine the "Shopping Cart is Empty" issue. When I test myself, I can do so correctly in IE, but firefox I cannot complete a checkout no matter how much I try. I have not changed any setting in the store in quite some time, maybe a couple years (both admin and code changes).

 

What's frustrating is there are so many topics covering this through the years but unless I missed a good thread or two, I've tried them all to no avail. Most often, I see the problem supposedly relates to an https issue, but when you check your cart contents, it's not under the secure server so the problem starts before I even access the SSL.

 

I run a seasonal business and unfortunately I'm in the busy season. We get at least an email a day from a customer stating they cannot put anything in their shopping cart which is frustrating to say the least.

 

I wish I knew what the root of the problem is but unfortunately I don't know where to start. Anyone else have this similar problem?

Link to comment
Share on other sites

I have the same problem. When I ask my webhosting if it is on their end they tell me that is has to do with cookies being enabled. I have tried for myself on my other system (Mac OsX running Safari & Firefox) and the same thing happens. I made sure that the security level was low and to except ALL cookies, but it still looses all the items in the cart. I noticed that IE also has issues on Mac OsX. I have been searching for a patch for this myself as I too am loosing potential orders from people becoming frustrated. The other thing which seems to be primarily a Mac issue is that sometimes you get stuck in a virtual login loop, where you keep circling in the login area and your home page. I added "Checkout without an account", and my customers complaints have been reduced. I check my Stats daily, and luckily less than 8% of my traffic is from Safari or FireFox and 10% total from Mac's running OsX.

 

If I come across a fix, I will post it here . I am amazed that more people do not have this issue. I would not have believed that it wasn't a cookie issue if I hadn't seen it for myself. Not everyone has the luxury to work on both Platforms.

 

Lady Alexandria

Link to comment
Share on other sites

I am also experiencing a similar issue. When a customer that already has an account adds items to the cart, the items disappear when the client attempts to login and checkout. I think osc is loosing the session variables when a client logs in. The problem does not appear to be browser-related or related to secure https functions. I have considered adding the forced login contribution but would like potential customers to be able to view the catalog. Any help with this issue would be greatly appreciated.

Thank you

Link to comment
Share on other sites

Same thing here, and we can't reproduce the issue ourselves. We are hearing this over and over from customers but have not been able to gather user condition variables from them because they just send emails to us and then go away. Here is the latest from this morning:

 

"I just spent 45 minutes ordering items from your specials which totaled more than $250. My items appeared in the top right corner shopping card, but it kept saying there were no items in my shopping cart when I clicked add to shopping cart. When I tried to check out, all the items in the box were not in my shopping list. What happened and how can I get the list back. I don't want to go through all 71 pages again. Is there a problem with the site or did I do something wrong in my ordering?"

Link to comment
Share on other sites

I have spent countless hours over the past month or two trying to determine the "Shopping Cart is Empty" issue. When I test myself, I can do so correctly in IE, but firefox I cannot complete a checkout no matter how much I try. I have not changed any setting in the store in quite some time, maybe a couple years (both admin and code changes).

 

What's frustrating is there are so many topics covering this through the years but unless I missed a good thread or two, I've tried them all to no avail. Most often, I see the problem supposedly relates to an https issue, but when you check your cart contents, it's not under the secure server so the problem starts before I even access the SSL.

 

I run a seasonal business and unfortunately I'm in the busy season. We get at least an email a day from a customer stating they cannot put anything in their shopping cart which is frustrating to say the least.

 

I wish I knew what the root of the problem is but unfortunately I don't know where to start. Anyone else have this similar problem?

With server update to PHP5 and register globals on.

Session variables are no more globals where as osocmmerce treats it globals.

 

So apply patches released so as to update Your code to rc2 level.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

With server update to PHP5 and register globals on.

Session variables are no more globals where as osocmmerce treats it globals.

 

So apply patches released so as to update Your code to rc2 level.

 

Satish

 

What patches are you referring to?

 

Thanks for the reply.

Link to comment
Share on other sites

I'm having the same issue too. It just started up once I turned on the SSL. I'm not sure if its exactly the same issue, but when I click the add to cart button I get the following error:

 

Although this page is encrypted, the information that you have entered is to be sent over an unsecured connection which could easily be read by a third party.

 

Are you sure you want to continue?

 

Can anyone point me in the right direction to find a fix for this??

 

Thanks!!

Link to comment
Share on other sites

I'm having the same issue too. It just started up once I turned on the SSL. I'm not sure if its exactly the same issue, but when I click the add to cart button I get the following error:

Can anyone point me in the right direction to find a fix for this??

 

Thanks!!

 

 

I just fixed my problem. I realized that I since I was forcing my site to always redirect to the https I was messing up the inter-workings of the ssl configuration within the cart so all I needed to do was to remove the redirect info from my .htaccess file and it works. Totally stupid mistake on my part (I'm new to the ssl thing), but maybe my stupidity can help someone else out of the same situation.

Link to comment
Share on other sites

With server update to PHP5 and register globals on.

Session variables are no more globals where as osocmmerce treats it globals.

 

So apply patches released so as to update Your code to rc2 level.

 

Satish

 

Sorry, I thought I'd highlight this since the thread got hijacked. I wanted to know what patches you were referring to.

 

Thanks!

Link to comment
Share on other sites

Anyone else have any ideas? We'd like to move on it but we don't know where to start in terms what's causing the problem?

 

We're getting flooded with emails of customers who can't order and it's killing our business. :'(

 

Any advice would be greatly appreciated!

Link to comment
Share on other sites

QUOTE(satish @ Feb 23 2008, 04:50 PM) *

With server update to PHP5 and register globals on.

Session variables are no more globals where as osocmmerce treats it globals.

 

So apply patches released so as to update Your code to rc2 level.

 

Satish

 

 

What patches are you referring to?

 

Thanks for the reply.

What patches are you referring to?

 

Thanks for the reply.

 

Does this apply to all version Osc ?- I have 2.2MS2

I see my server is using php 5.0.5.

Link to comment
Share on other sites

Download rc2 version of oscommerce.

It has an attachment for file log changes.

 

That will help.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

  • 2 weeks later...
Download rc2 version of oscommerce.

It has an attachment for file log changes.

 

That will help.

 

Satish

 

Hey Satish,

 

I've downloaded it and I've been looking hard for the "file log changes". Where and what should I be looking for? I'm not new to this, I'm just not following which attachment I'm supposed to find.

Link to comment
Share on other sites

CHANGELOG a file is there.

Plus upgrade.html is there.

 

Also in extras folder You do have update-20060817 and an upgrade file.

 

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

CHANGELOG a file is there.

Plus upgrade.html is there.

 

Also in extras folder You do have update-20060817 and an upgrade file.

Satish

 

 

Since I don't know what is causing the problem, I'm not sure what to look for in the files. Is it a session issue? And then fix any session related updates?

Link to comment
Share on other sites

We got over a dozen emails yesterday alone from customers who can't add to the shopping cart. There is too many inconsistencies in the update code and I can't understand which files have the problems.

 

If any developers are interested, we would gladly work with you.

Link to comment
Share on other sites

  • 3 weeks later...

I have had the same problem since a couple of days.

I noticed that since I activated the Search Engine Safe URL, the problem occured in FireFox and sometimes in Safari.

So I deactivated this option in the configuration and everything was up and running again...

 

I hope this solves your problem

 

with regards,

 

Joël

Link to comment
Share on other sites

  • 7 months later...
I have had the same problem since a couple of days.

I noticed that since I activated the Search Engine Safe URL, the problem occured in FireFox and sometimes in Safari.

So I deactivated this option in the configuration and everything was up and running again...

 

I hope this solves your problem

 

with regards,

 

Joël

 

I did a little experiment since I was also having the problem, but not always. Some people always had the problem with the cart but I never did even though I tried Opera and Firefox.

 

I made two versions of configure.com, one with SSL true and one with SSL false.

 

My marketing manager always had the problem with Firefox but never with IE. I had him try the cart with SSL true and it always failed. Then I had him try it with SSL false and it always worked. And, just to be sure, I changed the SSL to true again and it always failed.

 

This was using my host's shared SSL cert. I have ordered my own cert and I will see if that fixes it.

Link to comment
Share on other sites

  • 1 month later...

I have exactly the same problem as all of you. When I fill the shopping cart and I want to pay, I lose session and shopping cart gets empty. It's impossible to buy. I have lost customers for that.

 

Has someone tried Satish advice? I guess what I have to do is upgrade 2.2rc1 to 2.2rc2.

 

Regards,

 

Gemma

Link to comment
Share on other sites

  • 1 year later...

This is a very interesting point...

 

What happened with the shared SSL cert. Did that fix the issue?

 

Thanks!

 

I did a little experiment since I was also having the problem, but not always. Some people always had the problem with the cart but I never did even though I tried Opera and Firefox.

 

I made two versions of configure.com, one with SSL true and one with SSL false.

 

My marketing manager always had the problem with Firefox but never with IE. I had him try the cart with SSL true and it always failed. Then I had him try it with SSL false and it always worked. And, just to be sure, I changed the SSL to true again and it always failed.

 

This was using my host's shared SSL cert. I have ordered my own cert and I will see if that fixes it.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...