In my magento application created a phtml page in template/page/ folder..
Here displayed a products...Then there is a need for displaying
$this->getAddToCartUrl($product)
But it return null value...that means no value returned it.
How can i get it in my phtml page?
This is the html code:
<input id="url_<?php echo $_iterator;?>" name="url_$_iterator;" type="text" value="<?php echo $this->getAddToCartUrl($product) ?>">