- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Magento. How to change number of new products per row on Home page
April 9, 2015
Magento. How to change the number of new products per row on the Home page
In this tutorial you will learn how to change number of items in New Products section on home page in Magento template:
-
Log into your Admin panel and go to CMS -> Pages:
-
Select your Home page and navigate to the Design tab:
-
Look for the following code:
4 4 -
Change number of columns and count value to, for example 6:
6 6 -
Save your changes.
-
Lastly, you need to alter the source code for New Products section to align items correctly.
-
Go to app\design\frontend\default\themeXXX\template\catalog\product directory on your server and open new.phtml file to edit.
-
We need to change the li class to fit 6 products instead of 4. Look for:
-
Save this file and upload it to the server. Open your site and reload the page:
Note, that you may need to clean Magento Cache as well to see the changes.
Thank you for reading this tutorial. Now you know how to change the number of New Products items on Home page in Magento template(s).
Feel free to check the detailed video tutorial below:
Magento. How to change the number of new products per row on the Home page