我想在主页上显示产品 . 为此,我使用属于某些特殊类别的产品 .
我在我的cms页面中有这个:{{block type =“catalog / product_list”category_id =“8”template =“catalog / product / list.phtml”}}
对于可配置产品,我想显示选项 .
我应该使用什么方法?
我尝试更改list.phtml文件并添加:
getChildHtml('product_type_data')?>
但那个子块不存在 . 我已经检查了catalog.xml的外观,我发现可配置产品有布局更新 .
所以,一般来说,我的问题是我应该采用什么方法: - 在代码中创建块 - 或更新此cms页面的布局 - 或其他什么?
谢谢 .