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

WooCommerce Measurement Price Calculator: Smart Pricing Made Easy in 2025

Ever felt like your online store is losing sales just because your pricing doesn’t fit…

1 week ago

The Ultimate SEO Outsourcing Strategy for 2025: Scale Your Business Smarter

You’ve probably heard the phrase ‘Just outsource it’ around the business circles like a life-saving…

1 week ago

PrestaShop Auction Module for Better Sales and Customer Engagement 2025

Customers on the internet aren't content with static product descriptions and once-off price lists. A…

1 week ago

7 Powerful Benefits of DevOps for Mobile App Development Beginners Should Know

In today’s fast-paced digital landscape, delivering mobile apps that are fast, reliable, and secure is…

1 week ago

9 Proven Tips for a Smooth and Successful eCommerce Store Migration

Your online store is growing, but your platform isn't. That slow checkout process, those missing…

2 weeks ago

5 Proven Strategies High-Performing Websites Use to Master User Flow

High-performing websites look appealing and help users navigate through content with intent. Many websites look…

2 weeks ago