Getting an orders tracking information (Magento 1)

Using the following code, you can obtain the tracking information of a Magento order.

Getting the attribute set name of a product (Magento 1)

Use the following code to get a products attribute set name.

Activate JavaScript console for Firefox (Magento 1)

For whatever reason, the JavaScript console is not working for Magento by default. So if you try to output messages using console.log, nothing will happen. To change that, open js\varien\js.js and uncomment the following code:

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:

Getting order data on success page (success.phtml) (Magento 1)

To get the order data on the Magento success page, use the following code. The key here is to create an order object and get the data from there.