How do I display products on home page from a category
-
10-12-2020 - |
سؤال
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?
المحلول
Magento 1.9 adds some permissions feature about including blocks in CMS content
Check this Product list by category in CMS page
نصائح أخرى
Have you create permission. If not then you can create permission from System->Permissions->Blocks
لا تنتمي إلى magento.stackexchange