Blog‎ > ‎

Magento : Display all products in 1 page

posted Jul 28, 2010, 2:44 PM by Ankit Sharma   [ updated Jul 28, 2010, 2:57 PM by Ankit Sharma ]
magento logo
I was looking for solution to display all products in 1 page in Magento version 1.4 then I came across an article showing all special products. I made the changes in products filter to display all products.

All the files are attached here:
Attachment

1) Add Special.php on the following location :
app/code/core/Mage/Catalog/Block/Product/Special.php

2) Create Folder Special and Add Toolbar.php on the following location :
app/code/core/Mage/Catalog/Block/Product/Special/Toolbar.php

3) After you are done with this you have to now move to
/app/design/frontend/YourTheme/YourTheme/template/catalog/product
folder and add special.phtml

4) Now you can go to Admin Panel->CMS->Pages create a New Page and in the content paste this line:
{{block type="catalog/product_special" template="catalog/product/special.phtml"}}

Now you can save this page and assign this page’s link anywhere on the site.
You’ll get a list of products.

Comments