this is how i did it
add to cart: echo Mage::getUrl(‘checkout/cart/add’, array(‘product’=>$_product->getId(),’qty’=>1))
addto wishlist: Mage::helper(‘wishlist’)->getAddUrl($_product);
Indonesian Magento Developer
this is how i did it
add to cart: echo Mage::getUrl(‘checkout/cart/add’, array(‘product’=>$_product->getId(),’qty’=>1))
addto wishlist: Mage::helper(‘wishlist’)->getAddUrl($_product);
2 Comments