A very interesting way to make the homepage of your site more appealing is definitely to show your best products on the homepage or the latest news.
In this article then, we will see how to show products in an E-Commerce in Magento 2. In particular, we will see how to show the following products:
- Products in a specific category
- Latest products added
Products from a specific category
First, go to the Admin and follow the path CONTENT -> Pages.
Select the "Homepage" and click on Edit.
Now expand the menu related to the "Content" item and click on "Insert Widget" from the 'homepage editor:
Now select Catalog Products List from the drop-down menu related to Widget Type and fill in all the details according to your requirements. After you have provided all the details, go to Condition, select the Category option, and select the category of your choice that you wish to display. Finally, click on Insert Widget.
Now click on Save Page.
If you now go to the 'homepage of your store, you will see that there will be products belonging to a specific category.
Latest products added
Click on insert widget from the Content Editor on your Home page.
Select from the dropdown menu related to Widget Type, the Catalog New Product List item and enter all the details, as needed. When this is done, click Insert Widget.
Click on Save Page.
When this is done, you will find all newly added products on the homepage.