Wednesday, May 9, 2012

Magento Onestep Checkout – Remove Payment Method Step

Magento Onestep Checkout – Remove Payment Method Step

In this blog post, we will see how to remove the payment method step from onepage checkout.
This source code of this blog has been tested in magento 1.6 but should work on magento 1.4+, no core magento files have been changed including javascript files............

Monday, May 7, 2012

Expanding the Internet: From IPv4 to IPv6



A Practical Introduction to IPv6


Thursday, April 26, 2012

Important Magento: Edit links on Customer Account page in Magento

Important Magento: Edit links on Customer Account page in Magento: When a user log in to a Magento Store, he/ she is taken to the User Account page. It looks like this: There are various items on t...

Saturday, February 11, 2012

Magento...............

Get adminhtml Front Name

$adminFrontName = (string)Mage::getConfig()->getNode('admin/routers/adminhtml/args/frontName');


Get Product image path:
$productId = 1;
$product = Mage::getModel('catalog/product')->load($productId);
$path = Mage::helper('catalog/image')->init($product, 'image')->resize(75, 75);

 Format a number as price:
$this->formatPrice(10);
 Call a .phtml explicitly:
echo $this->getLayout()->createBlock('sales/order_recent')->setTemplate('sales/order/recent.phtml')->toHtml();
 Get Currency Code:
Mage::app()->getStore()->getCurrentCurrencyCode();
 Get Currency Symbol:
Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();


To load the product Tier price details in the product list view

$_productCollection=$this->getLoadedProductCollection();
$_productCollection->addTierPriceData();