Skip to content

Magento 2 – Do not apply catalogrule to products with a special price

I am looking for a good working solution to prevent Magento 2.4 to apply catalogrules to products that have a special price.

When trying to do it via a plugin/override on getMatchingProductIds from MagentoCatalogRuleModelRule and then checking the product id’s for special prices is costing a lot of time resulting in some rules taking over an hour.