I am trying to add products with custom options in cart via query string but it does not worked.
//my redirecting on click here
<?php echo "http://localhost/magento_bnsb_guide/index.php/checkout/cart/add/product/".$_product->getId()."?qty=2&options[3]=1"; ?>')">
i copied this url from source.
http://localhost/magento_bnsb_guide/index.php/checkout/cart/add/product/7?qty=2&options[3]=1
Best Answer
If you are using Magento version greater 1.7.x.x you need to add form key with URL