opengento/featuretoggle

Magento模块,用于添加切换标志功能。

安装: 132

依赖项: 0

建议者: 0

安全: 0

星标: 0

关注者: 22

分支: 0

公开问题: 0

类型:magento-module

1.0.0 2018-04-22 17:18 UTC

This package is auto-updated.

Last update: 2024-08-29 04:54:22 UTC


README

由Opengento提供 查看Magento 2模块版本.

如何使用?

  • 在Module/feature.xml文件中添加您的自定义功能到feature.xml文件(参考此模块中的features.xml.template格式示例)
  • 使用您的功能ID在布局中,仅用于块或动作,感谢切换属性
<block type="page/html_topmenu" name="catalog.topnav" toggle="feature_id" template="page/html/topmenu.phtml"/>
  • 或者,您可以使用辅助函数showFeature($featureId)

维护者

查看贡献者列表.