How do I display products on home page from a category
-
10-12-2020 - |
Pregunta
I use the following widget to display products on the home page for new products
<p>{{widget type="catalog/product_widget_new" display_type="new_products" products_count="10" template="catalog/product/widget/new/content/new_grid.phtml"}}</p>
How do I list products from a category under this?
I have tried using this:
{{block type="catalog/product_list" column_count="4" category_id="7" template="catalog/product/list.phtml"}}
but it doesn't do anything?
Solución
Magento 1.9 adds some permissions feature about including blocks in CMS content
Check this Product list by category in CMS page
Otros consejos
Have you create permission. If not then you can create permission from System->Permissions->Blocks
Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange