Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

empty shopping cart


coldclimber

Recommended Posts

Posted

when i add an item to my shopping cart its fine but when i go to check out it say my shopping cart is empty anyone have any ideas

Climb to Live, Live to climb

  • 3 weeks later...
Posted

I had the same problem, solved after doing following:

 

http://www.oscommerce.com/forums/index.php?sho...10entry363363

I've been struggling with this problem also:

 

Log in--click to buy some things--try to checkout--kicked back to login again--kicked to top page (occasionally I could check me out, but usually after creating a new account); this Log in--Try to Checkout--Log in again--Top Page endless loop was really frustrating the HECK out of me.

 

I use a shared SSL server and clicked to enable SSL while installing osCommerce. I used the correct address when asked for the SSL (https) server.

I noticed in the catalog/includes/configure.php file that it did not add the SSL server address to the define HTTPS COOKIE DOMAIN command line. It read:

define('HTTPS_COOKIE_DOMAIN', 'mysite.com');

 

After I changed it to:

define('HTTPS_COOKIE_DOMAIN', 'mysslserveraddress.com'); everything seemed to work perfectly.

Now, when I login at the Top (or Home) page, I can purchase items and go directly to checkout without having to log myself back in. Also, when I log off, it completely logs me off without leaving items in the cart like it would before.

So what happened is that when osCommerce installed, it asked for the secure server address for my shopping cart, but didn't copy the same address for my cookies.......it used the unsecure address instead of the secure one. I guess that caused the lock to appear when using the shopping cart, but the cookies not to function properly when purchasing and logging on or off.

  • 3 months later...
Posted

It seems like a lot of people are posting regarding this problem but no one has an answer....

 

I have an SSL for my site.. it is not shared....

 

after shopping around and adding items to my card, I try to click on checkout...

 

I am taking from http: to https: for the login page...

 

After I login I am sent to a page still on https:

 

and my cart is empty

 

my store sessions are set to

define('STORE_SESSIONS', 'mysql');

 

Has anyone ever solved this problem? I would really like to know because if it can't be solved then what good is osCommerce if you cant take credit card information securely... and if using SSL means your cart gets emptied...

 

Please post how this is solved someone.. I am sure someone solved it.

 

I hate to have posted this but I have spent days trying to find the solution but only found a bunch of people with the same problem... and all with no solutions

 

Thanks

Eric

AJ2000

Posted

How does one redem multiple give vouchers?

 

Would it be good to add serveral all in the same box with a space?

 

Or Redem one at a time with each coupon name and amount noted in a separate line in the mini total at the top right before going to the confirmation page?

 

Thanks

Posted

Hi Everyone,

 

I am not too sure what I did but I think by modifying the configure.php files fixed my problem because everything works fine now. It was probably fixing the https value. But I also had a custom define statement for my payment gateway at the beginning of my file... I moved that down further with the other define statements. So I am not sure which one solved the problem.

 

I am happy that it works right now though. Hopefully, anyone having this problem will be able to change those settings too and fix the empty cart problems.

 

Eric B

AJ2000

Archived

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

×
×
  • Create New...