Blog

How To Display Product Custom Option On list.phtml

Some time we need to display custom option of product on category list page to achive this task we only need to paste the code given below in your list.phtml file [php] $productSku = $_product->getSku(); $product = Mage::getModel(‘catalog/product’); $productId = $product->getIdBySku( $productSku ); $product = Mage::getModel("catalog/product")->load($productId); $attVal = $product->getOptions(); $optStr ...

Read More

Remove Credit Card Information From Sales Email In Magento

Magento sends the credit card number openly by email, which is not secured at all. Here is how we can remove it. Step 1: Open the file app/design/frontend/default/your_theme/template/payment/info/cc.phtml Step 2: Find the lines that read: [php] <?php echo $this->__(‘Credit Card Number: xxxx-%s’, $this->htmlEscape($this->getInfo()->getCcLast4())) ?> <?php echo $this->__(‘Expiration Date: %s/%s’, $this->htmlEscape($this->getCcExpMonth()), ...

Read More