How to show Products on Homepage in Magento 1.9


One of the first things you will notice when upgrading your Magento store to the recent 1.9.x versions is that products you had in static blocks on your homepage will be gone. You will likely get the following error:

The problem is that you will most likely try to display your products in the “old” Magento way like this:

The reason why this doesn’t work anymore in Magento 1.9 is that the default RWD theme/design has two child blocks for the product list. These are:

The template itself has no checks to see if they are actually present before they are attempted to be loaded and used. You can fix this issue very quickly by simply using a different template that is a copy of the main template but with some fixes built in to it like this:

The name.after occurs twice in the template but the after occurs only once. One final thing to note down is that the default RWD css template hides the actions section of the product list on the cms pages. We hope that this solution has helped you to show products on your Magento 1.9 homepage. If you have any questions you can ask them in the comments below and we will answer them quickly for you.


Leave A Reply