/feature-toggle

Module for M1 to use Feature Toggles (or Toggle flags)

Primary LanguagePHPMIT LicenseMIT

Feature Toggle module for Magento 1

by Opengento See Magento 2 Module Version.

How to use ?

  • Add your custom feature inside feature.xml file, in your Module/feature.xml (see the features.xml.template format example on this module)
  • Use your feature ID on your layout, only for the block or action, thanks to the toggle propriety :
<block type="page/html_topmenu" name="catalog.topnav" toggle="feature_id" template="page/html/topmenu.phtml"/>
  • Or, you can use helper function showFeature($featureId)

Maintainers

See Contributors list.