【问题标题】:Import block to CMS page using {{block ......}} not working after upgrade to Magento Community Edition 1.9.2.4升级到 Magento 社区版 1.9.2.4 后,使用 {{block ......}} 将块导入 CMS 页面不起作用
【发布时间】:2016-02-27 18:16:40
【问题描述】:

我有这个代码,它在升级到 Magento 社区版 1.9.2.4 之前运行良好,并且像 {{block ......}} 这样的所有代码在升级后现在都无法运行。 这是其中之一:

{{block type="catalog/product_list" category_id="3" template="catalog/product/list-home.phtml" column_count="3" products_count="3"}}

【问题讨论】:

    标签: php magento magento-1.9


    【解决方案1】:

    您可以在System > Permissions > BlocksSystem > Permissions > Variables 中配置允许的变量和块。

    您必须在此处添加catalog/product_list 块。 此功能是在 Community Edition 1.9.2.2 和 Magento Enterprise Edition 1.14.2.2 中添加的

    【讨论】:

      猜你喜欢
      • 2016-12-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-01-17
      • 1970-01-01
      • 1970-01-01
      • 2016-09-09
      相关资源
      最近更新 更多