The Magento_SalesRuleStaging module is a part of the staging functionality in Magento EE. It enables you to create new sales rule updates or add new changes to the existing store updates. In other words, you can modify the sales rules in updates. These updates are shown on the content 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 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 with the Magento_SalesRuleStaging module in the
require object of the
composer.json file located in the same directory as this
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 Magento extension mechanism, see Magento plug-ins.
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.