Page 1 of 1
Add to cart not working in Firefox from web server
Posted: Tue Jun 16, 2009 5:34 pm
by RachelLynnSmith
When adding a product to the cart from any page in IE and Opera the add to cart functionality works, but in Firefox the basket ID is reset to zero and the page display says the basket is empty. Firefox works fine in my development environment and adds products to the cart with no problem, but it does not on the web server. What could be the problem? - Thanks for any help.
Re: Add to cart not working in Firefox from web server
Posted: Tue Jun 16, 2009 5:53 pm
by ZLA
I just tested 7.0.2 in FF 3.0.11 against my local dev site and against my hosted test site and it worked fine. However, I did have a problem the other day when I was working on hiding the quantity updown control. If you make it non-visible, it doesn't get posted back and keeps it default value of zero. For the basket, item.save then erases the item.
I don't know if that is related to your problem but I do know that IE and FF handle disabled html controls differently, although usually FF will show an enabled control while IE will show a disabled control. Have you done anything with disabling of controls via a disabled attribute or something with the quantity controls?
Re: Add to cart not working in Firefox from web server
Posted: Wed Jun 17, 2009 5:57 am
by jmestep
What build of Able are you using?
Re: Add to cart not working in Firefox from web server
Posted: Wed Jun 17, 2009 2:48 pm
by RachelLynnSmith
Both my local environment and the server are:
VERSION: 7.0
BUILD: 9381
These are the only differences I can see for AC between the server and my local environment
server
CommerceBuilder.Services: 7.0.9733.0
CommerceBuilder.Configuration: 7.0.9733.0
local
CommerceBuilder.Services: 7.0.9344.0
CommerceBuilder.Configuration: 7.0.9344.0
Re: Add to cart not working in Firefox from web server
Posted: Wed Jun 17, 2009 3:04 pm
by jmestep
There is a bug in 7.0.3 if you don't have the minibasket on the page, but that wouldn't apply to your build. That is why I asked, though.
Re: Add to cart not working in Firefox from web server
Posted: Wed Jun 17, 2009 3:15 pm
by ZLA
Have you tried clearing your browser cache?
Re: Add to cart not working in Firefox from web server
Posted: Wed Jun 17, 2009 8:06 pm
by AbleMods
Build 9381...isn't that Release Candidate 3?
Was that bug a known issue in RC3?
Re: Add to cart not working in Firefox from web server
Posted: Thu Jun 18, 2009 7:50 am
by mazhar
Could you provide your store URL here, it would be helpful to check add to basket functionality on your store.
Re: Add to cart not working in Firefox from web server
Posted: Sun Jun 28, 2009 5:05 pm
by RachelLynnSmith
I figured out that it worked as long as someone was logged in, so it turned out that this was an anonymous user problem.
I searched the forum and found the item linked below. I added the domain attribute with the domain name to the anonymousIdentification element in the web.config and now the cart is holding items. This solved the problem.
<anonymousIdentification domain="
www.domainname.com" ... />
Here is the post where I found the answer:
viewtopic.php?f=42&t=10250&p=44507&hili ... art#p44507
