ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Getting Started
  New Posts New Posts RSS Feed - Cart Empty after adding products from category pag
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Cart Empty after adding products from category pag

 Post Reply Post Reply Page  123 5>
Author
Message
ll4g View Drop Down
Newbie
Newbie


Joined: 11-February-2010
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote ll4g Quote  Post ReplyReply Direct Link To This Post Topic: Cart Empty after adding products from category pag
    Posted: 13-February-2010 at 11:00am
If I add products from the store home page - all is fine. 
 
If I start browsing by category and add an item to the shopping cart, I go to the checkout step via the BUTTON (onepagecheckout.asp) and it says the cart is empty. 
 
If I bypass the button and use the checkout link in the header navigation (checkout.asp) it works.
 
Seems to be an issue with the onepagecheckout.asp..... 
 
Help!  Either I need to bypass the onepagecheckout.asp or need some insight as to what can be wrong.
Back to Top
ll4g View Drop Down
Newbie
Newbie


Joined: 11-February-2010
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote ll4g Quote  Post ReplyReply Direct Link To This Post Posted: 13-February-2010 at 11:05am
Quick note:  If I bypass the button and use the link instead - I am still having problems because it is asking me to log in twice at checkout, again at the onepagecheckout.asp page.
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 13-February-2010 at 11:08am
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 13-February-2010 at 11:10am
It sounds like you are switching between www.yourdomain.com and yourdomain.com (without the www). That causes problems with your session as it sees them as two distinct sites. Additionally, the SSL will only usually only work with one or the other.
 
If this is the case, make sure you use relative links everywhere vs. full links and make sure the SSL URL in the control panel under Settings | Store Settings matches the URL you used when setting up the store. You may want to add some script that forces the correct URL when people first come to the web site, i.e. if someone uses yourdomain.com force it to switch to www.yourdomain.com.
NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 13-February-2010 at 11:11am
Nice article Hamish. I forgot about that one.
NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 13-February-2010 at 11:19am
We have found that forcing sites from domainname.com to www.domainname.com by using ISAPI-Rewrite is an effective (and permanent) solution to this issue.
Back to Top
ll4g View Drop Down
Newbie
Newbie


Joined: 11-February-2010
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote ll4g Quote  Post ReplyReply Direct Link To This Post Posted: 13-February-2010 at 11:32am
Ahhhh ah!!  Thanks so much for the quick response everyone!!! 
 
That was the problem.....
Back to Top
ll4g View Drop Down
Newbie
Newbie


Joined: 11-February-2010
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote ll4g Quote  Post ReplyReply Direct Link To This Post Posted: 13-February-2010 at 11:50am
It solved the problem - however everytime I go to the categories, it drops the https to http and thats where the problem is now.  I need the entire store to run under https in order for the checkout to work.  Is there a setting somewhere for this?
 
Every link on the home.asp keeps the https setting but the categories...... weird!
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 13-February-2010 at 11:55am
Why would you want the store to run in HTTPS?  That is unnecessary.  Only the checkout needs to run in SSL.
Back to Top
ll4g View Drop Down
Newbie
Newbie


Joined: 11-February-2010
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote ll4g Quote  Post ReplyReply Direct Link To This Post Posted: 13-February-2010 at 12:02pm
Because even if I go to http: and add the items - it redirects to https at checkout and I lose the cart items.  The only way I can seem to keep the cart items is by running is https.  Does it really matter if the entire store is https??? 
 
Unnecessary seems to be necessaryfor some reason on my cart setup....
Back to Top
 Post Reply Post Reply Page  123 5>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.