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);
Continue reading Magento: Create Directive Button Add to Cart & Add to Wishlist
2 Comments