Setting 10 products per page in magento

Setting 10 products per page in magento

July 27, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Setting 10 products per page in magento

Setting 10 Products Per Page in Magento

In Magento, you can easily set the number of products displayed per page on category pages to improve user experience and optimize performance. Here’s how to do it.

Changing the Number of Products Per Page

Magento allows you to change this setting through the admin panel:

  1. Log into your Magento administrator.
  2. Navigate to Stores > Configuration.
  3. Under the Sales section, click on the Catalog tab.
  4. In the Pagination area, you’ll find the “Number of products shown per page in catalog” configuration field.
  5. Enter 10 (or your desired number) and save the changes.

This will update the setting site-wide for all category pages. However, it’s important to note that this method may not always provide optimal results, especially if you have multiple categories with different layout configurations or if you want more granular control over product per page settings.

Using Custom Layout XML

For a more advanced solution and better control, consider updating the catalog_category_view.xml file in your theme:

<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/layout_generated.xsd">
    <category id="category products_list">
        <referenceBlock name="product.list">
            <action method="setMode">
                <argument name="mode" xsi:type="string">grid</argument>
            </action>
            <action method="setProductLimit">
                <argument name="limit" xsi:type="number">10</argument>
            </action>
        </referenceBlock>
    </category>
</layout>

This code sets the product list mode to grid (for a traditional category view) and explicitly sets the productLimit argument to 10.

Performance Considerations

Remember, while setting the number of products per page can enhance user experience, it’s crucial to consider performance implications. Displaying too many products at once can increase load times and decrease overall site speed.

For better performance, especially on heavy traffic sites or sites with a large product catalog, consider implementing pagination or lazy loading techniques. You might want to check out the Laravel Company article on Magento Performance Optimization.

Conclusion

Setting 10 products per page in Magento is straightforward and can be done through the admin panel for a simple solution. For more advanced customization, you can use layout XML to gain greater control.

Remember that this setting should balance user experience with performance considerations. It’s always recommended to monitor your site’s performance after making such changes to ensure optimal user experience.

Let me know if you have any other questions or need further guidance!

Catalog Performance Themes Admin

Our network