My Account/app/design/frontend/Your-Interface/Your-Theme/layout/customer.xml My cart and Checkout/app/design/frontend/Your-Interface/Your-Theme/layout/checkout.xml My Wishlist/app/design/frontend/Your-Interface/Your-Theme/layout/wishlist.xml
2013 August
$order_id = 100; //order id goes here$_order = Mage::getModel(‘sales/order’)->load($order_id); $_cctype = ”;if(!empty($_order)){ $_cctype = $_order->getPayment()->getCcTypeName();}echo $_cctype;
If local.xml does not exist,create it /you_theme/layout/ and add the following code Ctalog.xml{{block type=”catalog/navigation” name=”catalog.topnav” template=”catalog/navigation/top.phtml”}}
There are two ways to do it. Add the field to the collection and get the data from the database,…
Delete the locks files from var/locks or Delete var folder and create it again and give 777 premission then tried…
You can get the current page URL and it’s parameters (if any) by using getCurrentUrl() method in Magento. Below code…
if you have same name of column in collection and in grid when you filter it you will get one…
Go to app/code/local/ModuleDirectoryName/ModuleName/Block/AdminHtml/Modulename.php and addthe below given code after parent::__construct(); parent::__construct(); $this->_removeButton(‘add’); Imp: The code highlighted in red depends upon your…
Here, you will see how to create Catalog Price Rule in Magento through code. Catalog Rules are applied on products…