Display product list on home page in magento

Display product list on home page in magento

To display a product list on the home page in Magento, you can use widgets, layout XML updates, or modify CMS blocks.

One of the simplest methods is to use the Catalog Products List widget.

Navigate to Content > Pages, edit the Home Page, and add the widget to the content section.

Configure it to display specific products or dynamic collections based on categories, bestsellers, or new arrivals. Alternatively, you can customize the homepage layout using XML updates in layout files (home.xml or cms_index_index.xml).

If you need more flexibility, a custom block or module can be created to fetch and display products dynamically using Magento’s \Magento\Catalog\Model\ProductRepository and \Magento\Catalog\Block\Product\ListProduct classes.

Entry without preview image

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.

  1. Nulla consequat massa quis enim.
  2. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.
  3. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.

Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus.

Read more