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 To Prevent Data Breaches Risks In Integration And Third-Party Apps | 2025 Updated

Due to the ever-increasing reliance of businesses on third-party apps and integrations to complete processes…

1 day ago

Best Website Design Practices For Restaurants | 2025 Updated

Your website is a visual representation of your restaurant. It acts as a welcome mat…

1 day ago

Custom SaaS Development vs. No-Code Platforms: The Ultimate Guide to Making the Right Choice in 2025

The availability of no-code tools has made software development more accessible than ever before. Businesses…

2 days ago

How To Get More Organic Traffic? Best 5 Tips For Your E-Commerce Website

Starting an e-commerce brand is not always a matter of building a powerful product. Your…

2 days ago

Generative AI for E-Commerce Business: Powerful Trends You Can’t Ignore in 2025

Generative artificial intelligence (AI) represents an exciting new frontier in technology with huge potential to…

2 days ago

4 Powerful Ways AI Meeting Managers Help Teams Organized and on Track

Without proper organization, meetings can become a drain on productivity, leading to missed deadlines, forgotten…

3 days ago