The Magento_SalesRuleStaging module is a part of the staging functionality in Magento Commerce. It enables you to add sales rule updates to existing store campaigns. In other words, you can add and/or remove sales rules for some period of time. These updates are shown on the campaign dashboard.
The Magento_SalesRuleStaging module changes the Cart Price Rules page and the sales rule related database tables to make them compatible with the Magento Staging Framework. The Magento_SalesRuleStaging module enables you to stage the following sales rule attributes:
- Rule Name
- Customer Groups
This module depends on the Magento_SalesRule module and extends its functionality. It changes the database structure of the Magento_SalesRule module and the way in which sales rules are managed.
Do not uninstall the Magento_SalesRuleStaging module, because it makes irreversible changes in the database during installation. Also, the Magento_SalesRule module cannot be disabled.
You can find the list of modules that have dependencies on the Magento_SalesRuleStaging module in the
require section of the
composer.json file. The file is located in the root directory of the module.
Extension points enable extension developers to interact with the Magento_SalesRuleStaging. However, the Magento_SalesRuleStaging module does not provide any specific extension points.
For more information about the Magento extension mechanism, see Magento plug-ins.
The Magento dependency injection mechanism enables you to override the functionality of the Magento_SalesRuleStaging module.
For more Magento 2 developer documentation, see Magento 2 Developer Documentation. Also, you can track there backward incompatible changes made in a Magento Commerce mainline after the Magento 2.0 release.