This part of the Magento tutorial will provide detailed information regarding the Magento’s default files and folders structure.You will learn…
4x Masonry Grid
This is simple example to get nested category list. We can easily create a left navigation and a drop-down menu…
<?php// find ‘path’ in table ‘core_config_data’ e.g. ‘design/head/demonotice’$my_change_config = new Mage_Core_Model_Config();// turns notice on$my_change_config->saveConfig(‘design/head/demonotice’, “1”, ‘default’, 0);// turns notice off$my_change_config->saveConfig(‘design/head/demonotice’,…
AJAX Ajax Framework Apache Host Configuration and name change Apache Host Configuration and name change c:windowssystem32drivers file : hosts Change…
Magento: Save shipment information of order programatically After creating invoice and shipment, it is necessary to add tracking information to…
If your Magento website have feature where guest user can place an order without registering themself in your site, you…
Suppose you want to add column to some table before it gets save in Magento. Example, Magento doesn’t save regular…
In Magento, it’s a feature to create multiple invoices and shipments. But you can’t find the link between invoice with…
If you have noticed or not, in version 1.5 of Magento when you use GROUP BY clause in any Grid.php…
<?php $helper = $this->helper(‘catalog/category’) ?> <?php foreach ($helper->getStoreCategories() as $_category): ?> <a href=”<?php echo Mage::getModel(‘catalog/category’) …
Mage::getUrl(‘customer/account/login’); //login urlMage::getUrl(‘customer/account/logout’); //logout urlMage::getUrl(‘customer/account’); //My Account urlMage::getUrl(‘customer/account/create’); // Register urlMage::getUrl(‘checkout/cart’); //Checkout url
This is one of the easiest way to show Either Error message or Success message in magento for one time.If…
Suppose you have a multi select attribute and you have displayed it in admin grid. You have displayed the multi…
Follow the steps to add column in sales order grid: Here by i am two column called Payment method and…
Want to create a custom report in Magento Admin? After taking help from some forums & all I was able…
Magento seemingly makes the most mundane development tasks an exercise in patience. The over engineered PHP beast makes you do…
Below is the php code to create an order in magento. It requires a valid customer account with shipping and…
Below is a php code to create invoice for an order in magento. $order = Mage::getModel(‘sales/order’)->loadByIncrementId(‘100000001’);try {if(!$order->canInvoice()){Mage::throwException(Mage::helper(‘core’)->__(‘Cannot create an invoice.’));}…
Below is a php code to create a shipment for an order in magento. $order = Mage::getModel(‘sales/order’)->loadByIncrementId(‘100000001’); try { if($order->canShip())…
Below is a php code to create a credit memo for an order in magento.$order = Mage::getModel(‘sales/order’)->load(‘100000001’, ‘increment_id’); if (!$order->getId())…
The solution was quite simple, this one doesn’t mess up the paths. However it feels like this method is slower….
Go System->Configuration->Google API->Google CheckoutEnable Google Checkout and other configurations set details about your google checkout like merchant id, merchant key…
Many time during design and development of magento theme we require toremove default top menu bar of magento to do…
Most of the time we want to access Store Contact info at different places of our magento site to do…