Magento 2. How to display products of specific category on home page

In this tutorial, I will show you how to display products of a specific category on a home page.

Step 1: Please go to the Magento 2 admin panel > Product > Categories

Step 2: Open the desired category then find the category ID like below image. Please take note of the category ID value, you will need to use in the next step

Step 3: In Magento 2 admin panel, please go to Content > Elements > Page > Choose desired Homepage

Step 4.Open the content tab and insert the following HTML code

{{block type=”catalog/product_list” category_id=”4″ template=”catalog/product/list.phtml”}}

If you want to display a specific number of column in product listing, you can use the following code:

{{block type=”catalog/product_list” column_count=”4″ category_id=”4″ template=”catalog/product/list.phtml”}}

Step 5. Open Content > Elements > Blocks > Add New Blocks

Step 6. Specify Block name as “catalog/product_list”
allow the Block by choosing the YES/No for “Enable Block”

Alena Dao

“Good marketing makes the company look smart. Great marketing makes the customer feel smart.”

Recent Posts

How a SaaS SEO Consultant Can Transform Your Growth Strategy

En a digital-first economy, Software-as-a-Service (SaaS) businesses need to be visible. Without visibility, even the…

3 days ago

Embracing the Cloud | Powerful Advantages of Leveraging Cloud Servers in 2025

After all, in business we're living by a binary decision. As the world becomes more…

3 days ago

Top 7 Emerging Programming Languages Developers Should Learn

In a world where technology evolves rapidly, developers who stay ahead of the curve gain…

4 days ago

Top Website Development Trends Every PPC Expert Swears By in 2025

The digital world is constantly changing and this way together website development and PPC advertising…

4 days ago

From Factory Floor to Online Store: How Manufacturers Can Leverage eCommerce to Boost Growth

Manufacturing is changing fast. Buyers want direct access to products, quick fulfillment, and reliable updates.…

6 days ago

Top 10 Powerful Magento 2 Extensions to Maximize ROI in 2026

The eCommerce industry is competitive. Business owners need to explore all possible ways to enjoy…

1 week ago