Changing the title tag of the home page or any CMS page (Magento 1)

Magento automatically adds the defined suffix to the title tag on every page. If you want to change that for lets say the home page, open the CMS page “home” and add the following XML to the layout section:

Adding comments to fields in admin area (Magento 1)

It is possible and helpful to add comments to the Magento admin fields. Take a look at the following picture: To add a field and a comment, open your modules system.xml and add the below XML:

Making custom options available in quote in admin area (Magento 1)

Sometimes, when adding custom options to a quote in ther admin area, the custom options are not available. To avoid that problem, simply add the custom options to your modules config.xml, like this:

Getting the front name of a route programmatically (Magento 1)

Use the ollowing code to get a routes front name:

The code will return “config”, if you add the following XML to your modules config.xml: