How to update inventory, Price using custome attribute in magento


Step 1: Create a test.csv file as you  see in above  picture in magento root directory.
Step 1: Create a test.php  file  in magento root directory.

How to get Controller, Module, Action & Router Name in Magento

In most of the case you need to know the name of controller or module in order to debug. Simple one line code to get these.
1. Get Controller Name In Template Files:
$this->getRequest()->getControllerName();

2. Get Action Name In Template Files:
$this->getRequest()->getActionName(); //the function inside the controller

3. Get Router Name In Template Files:
$this->getRequest()->getRouteName();

Adding links to the Top menu in Magento


One of the things that may sound easy to set are the top menu items, or the main menu items if you prefer.

Custom category menu navigation in Magento


Magento has its top menu reserved for category navigation. It’s pretty solid for displaying categories, even when there is a large number of them.

Change Base url in magento using database.

How to change Unsecure  “base url” and Secure “Base url” In magento using databse.
1.       Open Database and find “core_config_data” table. In this table find “web/unsecure/base_url” and “web/secure/base_url” under “Path” column.
2.       Under value column change your desire url.
3.       Save data

Finsish