Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Wrong quantity passed from category view to cart. (RESOLVED)
 
malbiniak
Member
 
Avatar
Total Posts:  34
Joined:  2008-07-26
Saint Paul, MN
 

hi there,

i can’t seem to track back this problem - on the catalog view, no matter what quantity you enter, only 1 is added to the cart:
http://r29dev.com/catalogsearch/result/?q=fruit+caramel&x;=0&y;=0

but if you try to add it from the product view, the quantity is carried correctly.
http://r29dev.com/catalog/product/view/id/305/s/fruit-caramels-mini-tub/

i wasn’t involved with the template build and i’m still learning magento. i hope i can find it eventually, but any shortcuts or hints you can provide would be greatly appreciated.

thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
crius
Guru
 
Avatar
Total Posts:  623
Joined:  2007-10-16
Denmark
 

It looks like the add to cart button simply links to an add to cart URL. The button and quantity input should be inside a form, and the button should submit that form, just like on the product view page.

 
Magento Community Magento Community
Magento Community
Magento Community
 
malbiniak
Member
 
Avatar
Total Posts:  34
Joined:  2008-07-26
Saint Paul, MN
 

thanks, anders. i was comparing the product view page form and the category view form and think i saw where this was different.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top