Forums / All Other Contributions/Addons / Adding multiple products to the cart

Adding multiple products to the cart

Views: 1,060

Results 1 to 7 of 7
23 Jul 2012, 10:17 PM
#1
ari25 avatar

ari25

New Zenner

Join Date:
Feb 2009
Posts:
8
Plugin Contributions:
0

Adding multiple products to the cart

When I try to add multiple items to the cart by typing the number in the box and clicking add to cart - it only adds one item. When I'm viewing the shopping cart, I can change the number of items in the cart and click refresh and that works correctly.

Here's my online store if that helps: http://www.oxycise.com/store/

This seems to happen with all products, and I don't think it has always had that problem, so it could have been a module that I've added. Has anyone had that problem or have any idea how to fix it?

Thanks for your help!

23 Jul 2012, 10:57 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Adding multiple products to the cart

I cannot reproduce the problem on your site ...

Regardless of the Category, I can go to it and add multiple products at one time without any issues ... did you fix this?

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!

16 Oct 2012, 6:11 PM
#3
loosefast avatar

loosefast

Zen Follower

Join Date:
Jun 2005
Posts:
199
Plugin Contributions:
0

Re: Adding multiple products to the cart

I also have this issue. If you choose a larger amount than 1 on the product page and Add To Cart, it only adds 1 item on the shopping cart page.

Ajeh:

I cannot reproduce the problem on your site ...

Regardless of the Category, I can go to it and add multiple products at one time without any issues ... did you fix this?

16 Oct 2012, 7:15 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Adding multiple products to the cart

loosefast:

I also have this issue. If you choose a larger amount than 1 on the product page and Add To Cart, it only adds 1 item on the shopping cart page.

You have 2 add to cart buttons on your product_info ...

When you use the top one, you get quantity 1, regardless of the quantity entered ...

When you use the bottom add to cart, you get the right quantity when you enter it ...

I suspect that you have the first add to cart setup outside the form tags or some other error that is causing the quantity issue ...

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!

18 Oct 2012, 2:24 PM
#5
loosefast avatar

loosefast

Zen Follower

Join Date:
Jun 2005
Posts:
199
Plugin Contributions:
0

Re: Adding multiple products to the cart

Ajeh:

You have 2 add to cart buttons on your product_info ...

When you use the top one, you get quantity 1, regardless of the quantity entered ...

When you use the bottom add to cart, you get the right quantity when you enter it ...

I suspect that you have the first add to cart setup outside the form tags or some other error that is causing the quantity issue ...

Yes, I had two instances of the Add To Cart *<!--bof Add to Cart Box -->...**<!--eof Add to Cart Box--> code on the *tpl_product_info_display.php. What is interesting is that after I deleted the instance at the page bottom, the top instance which was not carrying the selected quantity to the Checkout, began to work again. Is there something else that would preclude having multiple instances on one page?

Thanks!

18 Oct 2012, 4:19 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Adding multiple products to the cart

You would need some sort of java to change the quantity when set in the bottom to fill the one in the top as the top one is the one being "heard" when the button is clicked to submit ...

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!

18 Oct 2012, 4:27 PM
#7
loosefast avatar

loosefast

Zen Follower

Join Date:
Jun 2005
Posts:
199
Plugin Contributions:
0

Re: Adding multiple products to the cart

Ajeh:

You would need some sort of java to change the quantity when set in the bottom to fill the one in the top as the top one is the one being "heard" when the button is clicked to submit ...

OK, got it. Additional coding is required for multiple instances.
Thanks!