Zen Cart Logo
Forums / General Questions / Cart not adding the proper quantity

Cart not adding the proper quantity

Locked

Views: 698

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
30 Jan 2008, 8:24 PM
#1
wizardsandwars avatar

wizardsandwars

Zen Follower

Join Date:
Jan 2004
Location:
Chesterfield, VA
Posts:
72
Plugin Contributions:
1

Cart not adding the proper quantity

Greetings,

It's been awhile since I worked on Zen-Cart, though I am familiar with most aspects. Sometimes I just need a nudge in the right direction.

I have one cart that from the product info page, when you enter an amount in the quantity box, and click 'in cart', it ignores the amount you entered, and instead just puts one of the item in the cart. After that point you can update your cart as appropriate.

Any idea why it's only adding 1 product into the cart instead of hte amount entered in the quantity box?

30 Jan 2008, 8:35 PM
#2
wizardsandwars avatar

wizardsandwars

Zen Follower

Join Date:
Jan 2004
Location:
Chesterfield, VA
Posts:
72
Plugin Contributions:
1

Re: Cart not adding the proper quantity

Nevermind. Found and fixed the problem.

It seems I had copied the code that produces the quantity box in order to move it to a different place in the page, and having 2 quantity boxes on the same page caused the cart to have this issue. When I removed one of them, the cart went back to working fine.

Thanks in advance.

30 Jan 2008, 8:51 PM
#3
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,599
Plugin Contributions:
0

Re: Cart not adding the proper quantity

:) Thanks for posting the follow up.