Add to cart url for magento products
Posted by navaneeth on Sep 20, 2013 in Magento | No comments yet
Some times when customizing the themes for magento we need to get the add to cart url for magento products.Its not much complicated as its done with the help of one line of code
$this->helper('checkout/cart')->getAddUrl($_product); Mage::helper('checkout/cart')->getAddUrl($_product);
The above codes shows the two ways to get the add to cart url for magento products
Leave a Reply