Module for Magento 2 that adds a condition to sales rules that excludes products in sale (with applied catalog rule or active special price).
- Adds "Additional Conditions" group with "Is In Sale" condition to product conditions in Sales Rules (cart prices rules).
- Condition validates
simple
andvirtual
products, other product types are skipped.
The "Is In Sale" condition checks if a product has an active catalog price rule or active special price that is lower than the regular price.
Install the module through Composer or manually, then activate the module.
composer actiview/magento2-sales-rule-condition-not-in-sale
Download the module and copy the files in the src
directory to app/code/Actiview/SalesRuleConditionNotInSale
.
bin/magento module:enable Actiview_SalesRuleConditionNotInSale
bin/magento cache:clean
For issues or feature requests, please open an issue on the GitHub repository.
This module is licensed under the Open Software License 3.0 (OSL-3.0).