Category Archives for "Magento"

Change of Magento contacts page URL

Magento’s default contact us form page URL is a little bit awkward as its says We can change this easily by creating a small module. Step 1 Create a file in app/etc/modules/Namespace_Contacts.xml   Step 2 Create the config file in app/code/local/Namespace/Contacts/etc/config.xml That’s it upload the files and clear the cache. Yea the default Magento […]


Direct SQL queries in Magento

This tutorial mainly demonstrates direct SQL queries in Magento.  Magento data models are giving great flexibility for the data processing. We don’t need to touch the complex SQL statements because of this feature. This often gives really quick development speed and accuracy more over a bulletproof approach. But several situations it much needed to execute […]


Search by only product name in Mini Search In Magento

Magento has a good search functionality. By default when someone searches it search through all the description and short descriptions. So sometimes at first look this results appears to be strange. We need Search by only product name in Mini Search In Magento But the reason Magento pick this up because these keywords might be present […]


Get order total from order id in Magento

Getting order details from the order id, its an easy task in Magento. If you have an order id in hand, call the below function for the order object. Or you want to get the order details from the checkout session, you can use the below function. In above code lines  the first line is […]


Magento create category programmatically

  Everyone knows there are admin interface to create categories, but if you want to  create a category programmatically. Using Magento’s catalog/category model we can create a Magento category via a program. You have to set category title and Url key in order to show in the frontend. Magento creates category programmatically Here I’ve attached […]