opengento / featuretoggle
Magento模块,用于添加切换标志功能。
1.0.0
2018-04-22 17:18 UTC
Suggests
- magento-hackathon/magento-composer-installer: Allows to manage this package as a dependency.
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)
维护者
查看贡献者列表.