$_productId = '166';
$_product = Mage::getModel('catalog/product')->load($_productId);
$_url = $this->getSubmitUrl($_product);
Solution 2:
$_productId = '166';
$_product = Mage::getModel('catalog/product')->load($_productId);
$_url = Mage::helper('checkout/cart')->getAddUrl($_product);
No comments:
Post a Comment