Overriding standard translations (Magento 1)

Open your theme’s translate.csv file and add the following content as a new line:

This allows you to override the default translation of “Choose an Option…” with your own translation. You only need the original English text (“Choose an…

Loading child categories with flat categories enabled (Magento 1)

If flat categories are enabled in your Magento store, you need to load the child categories of a given category differently. The following code shows how:

Loading all cross-sell products of a product (Magento 1)

Use this code to load all cross-sell products associated with a product: