Hi i am working on site where i can add products to cart using query like this :
window.location.href = '<?php echo Mage::getBaseUrl(); ?>checkout/cart/add?product=<?php echo $current_product_id; ?>&qty='+ qty + '&super_attribute='+ size +'&super_attribute='+ color+'';
Now i am trying to submit multiple item to cart with single query (only options to add to cart) .I try above method by sending static parameters but it only adds one product.As there any alternative for this ? thanks in advance.
I saw this method but this uses options with product ids.I have only