Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

“shopping cart is empty” on http after upgrade to 1.7.0.1
 
organizeitmom
Jr. Member
 
Total Posts:  4
Joined:  2012-03-17
 

Hi all,

I upgraded my site to 1.7.0.1 this morning and missed one bug in testing. The shopping cart will display anything you add to it as long as you are using ssl (https://). But if you switch to http, the shopping cart is showing as empty.

Any items in the cart will also show up if you go to the cart page (which is not an ssl page).

I had this issue previously and discovered that I had switched the secure and insecure domains. That is not the issue…
I also have extended the cookie timeout to 86400 seconds and added my site’s domain as the session domain.

Is there something else I might be missing here?

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
organizeitmom
Jr. Member
 
Total Posts:  4
Joined:  2012-03-17
 

I am still really stuck on this. As far as I can tell, the cookie is being read properly since I can go back to the cart and see everything that’s in it. But when I am browsing any web page other than the cart or https I can’t see anything in the cart.

 
Magento Community Magento Community
Magento Community
Magento Community
 
jonmck
Sr. Member
 
Total Posts:  234
Joined:  2009-02-02
Birmingham, AL
 

Did you ever figure this out? We are having the same issue.  Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
kalenjordan
Sr. Member
 
Avatar
Total Posts:  218
Joined:  2011-10-31
Pasadena, CA
 

Don’t really have any specific ideas as to what it might be - but few general suggestions just in case.

- Did you try disabling any 3rd party modules and see if it still occurs?
- If you were to change your secure base url to http just for testing, would that resolve the issue?
- You may want to just clear out sessions, whether in db (core_sessions table), or file (var/sessions/)

Out of curiosity is this on a staging site or production site?  Hoping the former.  Oh and be sure to clear cache storage if not already.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top