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

Top 5 Powerful Visitor Check-in Kiosk Software Solutions in 2025

The way businesses manage visitors has changed a lot in recent years. From front desks…

7 days ago

Powerful Ways Managed IT Services and Video SEO Supercharge eCommerce Performance & Engagement

Managed IT Services and Video SEO are two powerful strategies that can transform your eCommerce…

7 days ago

6 Smart Strategies High-Performing Brands Use to Succeed in a Digital Marketing Campaign

Today’s digital landscape is more dynamic and competitive than ever, with countless brands trying to…

3 weeks ago

7 WooCommerce Menu Cart Features That Boost Sales and Improve Checkout

Running an online store takes more than just having nice products because the way your…

3 weeks ago

10 Ways Tech Candidates Can Make Their Strengths Obvious to Hiring Managers

Can Make Their Strengths Obvious – this is what every tech candidate and developer must…

3 weeks ago

Why WooCommerce Testing Is Crucial for eCommerce Success in 2025

In the fast-paced world of eCommerce, ensuring your online store operates seamlessly is no longer…

4 weeks ago