Add to cart not working in Firefox from web server
-
- Ensign (ENS)
- Posts: 4
- Joined: Mon Mar 09, 2009 10:29 am
Add to cart not working in Firefox from web server
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
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?
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?
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Add to cart not working in Firefox from web server
What build of Able are you using?
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
-
- Ensign (ENS)
- Posts: 4
- Joined: Mon Mar 09, 2009 10:29 am
Re: Add to cart not working in Firefox from web server
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
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
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Add to cart not working in Firefox from web server
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.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Add to cart not working in Firefox from web server
Have you tried clearing your browser cache?
Re: Add to cart not working in Firefox from web server
Build 9381...isn't that Release Candidate 3?
Was that bug a known issue in RC3?
Was that bug a known issue in RC3?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Add to cart not working in Firefox from web server
Could you provide your store URL here, it would be helpful to check add to basket functionality on your store.
-
- Ensign (ENS)
- Posts: 4
- Joined: Mon Mar 09, 2009 10:29 am
Re: Add to cart not working in Firefox from web server
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

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
