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

Add Quantity Parameter to the Add to Cart URL
 
jrochman
Jr. Member
 
Total Posts:  24
Joined:  2007-09-05
 

From the demo store you can add an item to the cart by clicking on the following link:

http://demo.magentocommerce.com/checkout/cart/add/product/51/

I think there should be some way to add a quantity parameter to this link.  For example:

http://demo.magentocommerce.com/checkout/cart/add/product/51/quantity/2
or
http://demo.magentocommerce.com/checkout/cart/add/product/51/#2
or
http://demo.magentocommerce.com/checkout/cart/add/product/51/2

Not sure the best implementation, but I think it would be useful.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

http://demo.magentocommerce.com/checkout/cart/add/product/51/qty/2

 
Magento Community Magento Community
Magento Community
Magento Community
 
jrochman
Jr. Member
 
Total Posts:  24
Joined:  2007-09-05
 

Turns out you guys have thought of everything.  Keep up the great work!

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