I want to show all products in one page from a custom cms block. This is the code I tried:

{{block class="\Magento\Catalog\Block\Product\ListProduct" template="Magento_Catalog::list.phtml"}}

It doesn't work because the page is blank.

有帮助吗?

解决方案

You need to try the below steps to show All Product in one page.

Content -> Pages -> Show/Hide Editor -> Insert Widget -> Select Widget Type

Further info. you need to help the below screenshot.

After Save CMS Page check on your frontend.

许可以下: CC-BY-SA归因
scroll top