Add to cart not working in Firefox from web server

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
RachelLynnSmith
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Mon Mar 09, 2009 10:29 am

Add to cart not working in Firefox from web server

Post by RachelLynnSmith » Tue Jun 16, 2009 5:34 pm

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.

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Re: Add to cart not working in Firefox from web server

Post by ZLA » Tue Jun 16, 2009 5:53 pm

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?

User avatar
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

Post by jmestep » Wed Jun 17, 2009 5:57 am

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

RachelLynnSmith
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Mon Mar 09, 2009 10:29 am

Re: Add to cart not working in Firefox from web server

Post by RachelLynnSmith » Wed Jun 17, 2009 2:48 pm

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

User avatar
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

Post by jmestep » Wed Jun 17, 2009 3:04 pm

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

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Re: Add to cart not working in Firefox from web server

Post by ZLA » Wed Jun 17, 2009 3:15 pm

Have you tried clearing your browser cache?

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Add to cart not working in Firefox from web server

Post by AbleMods » Wed Jun 17, 2009 8:06 pm

Build 9381...isn't that Release Candidate 3?

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Add to cart not working in Firefox from web server

Post by mazhar » Thu Jun 18, 2009 7:50 am

Could you provide your store URL here, it would be helpful to check add to basket functionality on your store.

RachelLynnSmith
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Mon Mar 09, 2009 10:29 am

Re: Add to cart not working in Firefox from web server

Post by RachelLynnSmith » Sun Jun 28, 2009 5:05 pm

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

:D

Post Reply