Showing results for 
Search instead for 
Did you mean: 

Add multiple products to cart

Add multiple products to cart

Please help me!


I want to add multiple products to cart by one click.

So, I tried below article.


It seems to work, but a message '## actual product name ## : Please specify the product's option(s).' appears when I add  configurable products.

I think there are issue in my template.

But I have no ideas.


My template is below.


<form action="<?php echo $this->helper('multiadd/cart')->getAddToCartUrl(); ?>" method="post" id="productAddToCartForm">
<input type="hidden" name="products[]" value="111" />
<input type="hidden" name="products[]" value="222" />
<input type="hidden" name="qty111" value="1" />
<input type="hidden" name="qty222" value="1" />
<input type="hidden" name="super_attribute[333]" value="1" />
<button class="button btn-cart" type="button" onclick="productAddToCartForm.submit()"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>