我是magento2的新手。我想在我的主頁中顯示特定類別的產品。我正在使用此代碼:{{block type =「core/template」column_count =「4」category_id =「50」template =「catalog/product/list.phtml」}}在magento2中不工作
{{block type="core/template" column_count="4" category_id="50" template="catalog/product/list.phtml"}}
但它不工作。
由於提前, 拉尼
雖然這個代碼片斷可以解決的問題,[包括一個解釋](http://meta.stackexchange.com/questions/114762/explaining-entirely-基於代碼的答案)真的有助於提高你的文章的質量。請記住,您將來會爲讀者回答問題,而這些人可能不知道您的代碼建議的原因。 –
我覺得上面編輯的代碼片段是不錯的。 –