Magento: compiling a list of products from category

Magento: compiling a list of products from category

September 11, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Magento: compiling a list of products from category

Magento: Creating a Simple Category Product List

Hello there! I see you’ve just started using Magento and are looking for a way to create a list of products from a specific category on your CMS page. Let me guide you through this process without requiring any file editing.

Understanding the Current Approach

You’re already on the right track with using Magento blocks:

{{block type="catalog/product_list" name="home.catalog.product.list"
alias="products_homepage" category_id="9"
template="catalog/product/list.phtml"}}

This block pulls a list of products from category ID 9 and displays them using the list.phtml template. However, as you mentioned, it displays too much information (price, picture, add to cart button) and is limited to 30 entries per page.

A Simpler Product Listing Approach

To achieve your goal, we’ll create a new block with custom settings:

  1. Create a new block: In the Magento admin interface, navigate to CMS > Blocks and click on “Add New Block.”

  2. Configure the block:

    • Set the identifier to something like simple_product_list
    • Choose “Custom” as the Content Type
    • Add the following content:
{{block type="core/template" template="catalog/product/simple_list.phtml"
category_id="{{block type='catalog/category' id='9'}}"}
  1. Create a new template: In your Magento installation’s app/design/frontend/default/your-theme/template/catalog/product folder, create a file named simple_list.phtml.

  2. Populate the simple_list.phtml file:

<?php $_productCollection = $this->getLoadedProductCollection(); ?>

<?php if (count($_productCollection)): ?>
    <ul>
        <?php foreach ($_productCollection as $_product): ?>
            <li><a href="<?php echo $this->helper('catalog/product')->getProductUrl($_product) ?>"><?php echo $_product->getName() ?></a></li>
        <?php endforeach; ?>
    </ul>
<?php endif; ?>

This template simply loops through the product collection and outputs a name-url pair for each product.

Using the New Block in Your CMS Page

To display this block on your CMS page:

  1. Go to CMS > Pages and edit your desired page.
  2. In the content area, add or replace the existing line with:
    {{block type="core/template" template="catalog/product/simple_list.phtml"
     category_id="9"}}
    
    <p>This is just a simple text paragraph.</p>
    

That’s it! With this approach, you’ll have a clean, unedited list of products from category ID 9 on your CMS page without changing any existing files.

Further Reading

If you’d like to learn more about Magento blocks and templates, I recommend checking out our comprehensive guide at LaravelCompany.com.

Remember, customizing your product display is a powerful feature in Magento. You can always modify the simple_list.phtml template to add additional information or style as needed.

Happy coding! Let me know if you have any other questions about Magento development.

Checkout Catalog Themes Admin

Our network