Forums / Upgrading from 1.3.x to 1.3.9 / Multiple Add to cart broken after upgrade

Multiple Add to cart broken after upgrade

Views: 5,344

Results 21 to 37 of 37
20 Jul 2010, 8:01 PM
#21
mshultise avatar

mshultise

Zen Follower

Join Date:
Feb 2005
Location:
Captain Cook, Hawaii
Posts:
172
Plugin Contributions:
0

Multiple Add to cart broken after upgrade

I downloaded a new copy of 1.3.9d from the link that takes me to Sourceforge. The size of the saved ZIP is the same size as the previous one on my computer (for what that is worth).

I copied over the two files you requested, cleared browser cache and got the same problem.

I then copied the includes directory over. cleared cache and tried again.

Again it fails to add the item to the cart.

Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

20 Jul 2010, 8:08 PM
#22
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Multiple Add to cart broken after upgrade

Spookie ... :eek:

You may drop me a Private Message if you wish to pursue this ... it is starting to bug me ... :flex:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Jul 2010, 9:29 PM
#23
danglez avatar

danglez

New Zenner

Join Date:
Jul 2009
Posts:
5
Plugin Contributions:
1

Re: Multiple Add to cart broken after upgrade

I have the same problem and I hope the answer will be shown here. It is bugging me for 9 months now.

20 Jul 2010, 9:32 PM
#24
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Multiple Add to cart broken after upgrade

Danglez:

I have the same problem and I hope the answer will be shown here. It is bugging me for 9 months now.
Huh ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jul 2010, 9:33 PM
#25
mshultise avatar

mshultise

Zen Follower

Join Date:
Feb 2005
Location:
Captain Cook, Hawaii
Posts:
172
Plugin Contributions:
0

Re: Multiple Add to cart broken after upgrade

UPDATE: So far, this looks like an isolated problem on a particular server. Since there are many software packages varying somewhat from servers where this works, I am going to chalk it up to a server software incompatability.

The workaround for me is to just disable the multiple add to cart option and click directly into the product itself to purchase the item.

I don't know if further time spent on this is worth it as there is minimal impact to few, if enyone else.

Should others have a similar problem I'd be happy to help compare what I found.

Mark

Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

2 Aug 2010, 1:53 AM
#26
wolfsz avatar

wolfsz

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
286
Plugin Contributions:
3

Re: Multiple Add to cart broken after upgrade

Hi there
I just experienced the same problem and after reversing changes I had made over the last couple of days it turned out that the issue was with my browser (Firefox). After clearing all history and restarting Firefox all worked again. I assume the issue was somehow with session support, eg every page refresh started a new session.

This might have nothing to do with your issue anyhow I thought I'll share this in any case.

Wolf Skafte-Zauss
http://e-commerce-pros.com
Tools for E-commerce Professionals

2 Aug 2010, 4:02 AM
#27
wolfsz avatar

wolfsz

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
286
Plugin Contributions:
3

Re: Multiple Add to cart broken after upgrade

another update on this.
Firefox is again not adding multiple items to my cart on my Mac, however it works fine in Safari and in Firefox on my Linux box.
No clearing, restart, re-booting or config changes in ZC change this anymore.
While doing all of this testing IO have been receiving orders with nultiple items in them
So it seems to me at this point of time that is a Firefox on Mac problem.
Hmm, not sure what next. Ah, yes I also updated Firefox to latest version being 3.68. For the moment I'm going to ignore it and hope that whoever uses a Mac uses Safari and not firefox

Wolf Skafte-Zauss
http://e-commerce-pros.com
Tools for E-commerce Professionals

2 Aug 2010, 4:56 AM
#28
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Multiple Add to cart broken after upgrade

Interestingly, I use Firefox on Mac, as well as Safari, and can't recreate the problem of broken multiple-add-to-cart described in this thread.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Aug 2010, 5:05 AM
#29
wolfsz avatar

wolfsz

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
286
Plugin Contributions:
3

Re: Multiple Add to cart broken after upgrade

Hi DrByte
Could you do me a favour please and try this on my site. Because one thing I did do was rest my router and then it worked, but after some config changes in ZC admin > Stock to remove listing of new products etc. stopped working again and reversing everything and restarting router Mac etc. it will just not work in Firefox however Safari is fine.
Please note that I have a WordPress site and Zen-cart is displayed in an iframe when you dispaly a product.
Thanks very much for your help in this matter mate

Wolf Skafte-Zauss
http://e-commerce-pros.com
Tools for E-commerce Professionals

2 Aug 2010, 5:20 AM
#30
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Multiple Add to cart broken after upgrade

  1. This thread is discussing "Multiple Add To Cart" issues. You don't have any such feature enabled on your site.
    So, I think your issue must be something else, which while it may have some similar symptoms, isn't the same issue.

  2. You have broken image links in the header of your store. That usually makes customers think twice about shopping here.

  3. You have extraneous "?>" code sitting at the bottom of your store.
    This suggests you have invalid code somewhere, and makes me even more likely to find that your HTML probably doesn't validate.

  4. (Please take this as constructive criticism ... I'm not trying to be mean, offensive or rude:) I can't do any category navigation at all ... you've completely crippled that capability ... presumably because you're relying on your WordPress system to drive that. Even within WP I find it hard to navigate to other categories or products. Thus far I'm entirely unimpressed with whatever your wordpress setup has done with it ... not because it's not at all how Zen Cart has been designed to be used, but because it feels like a poorly-bolted-on store stuffed into a blog and makes me feel like I can't trust the systems involved in handling my purchase. But, that's just my gut feel. I guess if you're making a killing on sales then my view on this is meaningless.
    Sorry, those are maybe stronger words than I the message I mean to convey. But it's my initial reaction as a potential shopper new to your site.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Aug 2010, 9:36 AM
#31
wolfsz avatar

wolfsz

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
286
Plugin Contributions:
3

Re: Multiple Add to cart broken after upgrade

Hi again DrByte
Thanks for taking the time to have a look at my store. No offense is taken on your feedback.
I did have Add Multiple items to cart enabled but disabled it as per recommendations in this thread.
And yes I know I have crippled ZC and yes I've seen the ?> at the end of the ZC cart and will fix in due course.

And I also agree that I need to provide alternative navigation similar to what normally appears in ZC in addition to the dropdown menu and finally yes my customers like it because sales are doing well.

And finally maybe you are right and my problem is a different one then this thread was started on however the result was kind-of the same, you can only add one item to the cart, as soon as ones refreshes the cart, eg by going to a different product the previous product is gone.

So my aim is to use WordPress for all my presentation since ZC is really hopeless with this and use ZC for what ZC really is great at - the shopping cart and all the admin access to manipulate the products, special, sales etc etc.

In any case thanks again for looking at my issue and if you do have any thoughts I would love to hear the.

Wolf Skafte-Zauss
http://e-commerce-pros.com
Tools for E-commerce Professionals

2 Aug 2010, 1:36 PM
#32
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Multiple Add to cart broken after upgrade

Is this happening on budgethandles?

I was just there and adding products to the cart and do not appear to be losing the cart ...

Were you able to fix this? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Aug 2010, 5:36 PM
#33
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Multiple Add to cart broken after upgrade

wolfsz:

you can only add one item to the cart, as soon as ones refreshes the cart, eg by going to a different product the previous product is gone.
I was referring to the budgethandles site. I added 5 different items to my cart without issue. Tested on FireFox 3.6.8 for Mac, and also on Safari 5.0.1. No problems.

Typically when items are not getting added to cart between clicks it's an indication of a sessions problem on your site. In most cases clearing all session cookies will solve that problem. If it doesn't then you've got something else broken with how your site handles sessions between clicks. Further, when you're running iframes, you're spoofing multiple sessions on a page, and thus you run the risk of causing the symptoms you describe. Notwithstanding it's peculiar that your personal computer is experiencing problems that others aren't, and only in one browser.

You haven't stated which version of Zen Cart you're using, so can't offer much in the way of version-specific help.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Aug 2010, 10:08 PM
#34
wolfsz avatar

wolfsz

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
286
Plugin Contributions:
3

Re: Multiple Add to cart broken after upgrade

Hi Ajeh and DrByte
Thanks very much for helping with this issue.
I think DrByte is right in saying it is / was a session issue, because I tried it this morning and and all is well.
Thanks again guys, good to see that you are still willing to help even if I'm using ZC in a way you don't approve of.

Wolf Skafte-Zauss
http://e-commerce-pros.com
Tools for E-commerce Professionals

16 Feb 2011, 12:52 PM
#35
hobby_link avatar

hobby_link

New Zenner

Join Date:
Sep 2010
Posts:
5
Plugin Contributions:
0

Re: Multiple Add to cart broken after upgrade

Hi Ajeh and DrByte,

I stumbled upon this thread hoping it may have an answer but looks like its been a hit and miss issue to date.

I too have a problem with the multiple add to cart option where after selecting it a customer is directed to an empty shopping cart page.

It has been an elusive problem for about 12 months now. I did some testing and I think I've identified at least WHEN it consistently happens.

If a customer selects a manufacturer from the drop down sidebox, the list that is generated will consistently create this error by adding to cart.

If a customer generates the list by navigating through the menu or by doing a search, the add to cart button works as it should.

Given that most sites don't use the manufacturer sidebox, that may be why there is the impression its a minor issue. I do have the Simple SEO module added to my software and I assumed that was where the coding issue sat, but given someone has tested it on a clean install with the current zencart code I think we can say the SEO module is not the root cause.

If one of the gurus would like to have a look at it sometime, that'd be swell!

The address is https://www.hobbylink.com.au

Let me know your thoughts!

(I'm no programmer either, so this bug is beyond my abilities!!!)

16 Feb 2011, 2:19 PM
#36
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Multiple Add to cart broken after upgrade

I was just checking your site and it seems to be working ...

Did you solve this? If so how ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

17 Feb 2011, 4:58 AM
#37
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Multiple Add to cart broken after upgrade

Hobby Link:

I think I've identified at least WHEN it consistently happens.

If a customer selects a manufacturer from the drop down sidebox, the list that is generated will consistently create this error by adding to cart.
So, I just set up a fresh clean install of v1.3.9h, with demo products.
In the left column there's a manufacturers sidebox, and I click on "Fox" which brings up 5 search results. In a default install, there are two "Add selected products to cart" buttons, one at top and one at bottom, with quantity boxes next to each product. I put "1" in the first quantity box, and put "7" in the 3rd quantity box, and click one of the "add selected products to cart" buttons. The two products are added to my shopping cart, with their respective quantities as specified. Working as expected.

Am I missing a step?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.