actiview/magento2-sales-rule-condition-not-in-sale

Module for Magento 2 that adds a condition to sales rules that excludes products in sale (with applied catalog rule or active special price)

0.1.0 2025-05-26 14:53 UTC

This package is auto-updated.

Last update: 2025-05-26 15:01:39 UTC


README

Module for Magento 2 that adds a condition to sales rules that excludes products in sale (with applied catalog rule or active special price).

Features

  • Adds "Additional Conditions" group with "Is In Sale" condition to product conditions in Sales Rules (cart prices rules).
  • Condition validates simple and virtual 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.

Installation

Install the module through Composer or manually, then activate the module.

Composer

composer actiview/magento2-sales-rule-condition-not-in-sale

Manually

Download the module and copy the files in the src directory to app/code/Actiview/SalesRuleConditionNotInSale.

Activate

bin/magento module:enable Actiview_SalesRuleConditionNotInSale
bin/magento cache:clean

Support

For issues or feature requests, please open an issue on the GitHub repository.

License

This module is licensed under the Open Software License 3.0 (OSL-3.0).