Apply coupon code only to non discounted products
-
25-02-2021 - |
Question
I need to make a coupon code which should be applied only to non-discounted products and certain categories. In Cart price rules->Actions I tried the following conditions:
If ALL of these conditions are TRUE :
Special Price is 0
Category is not one of 727, 777, 1379, 1380, 778, 111...
However, the coupon is getting applied to discounted products also.
Solution
Magento does not have the feature like check the product catalogue discount on the cart items.
Magento does not calculate Catalogue discount like Catalog Price rules,Special Price rules, Tier price on cart price rules.
As per as,magento architecture ,a product price during add to cart time depends on Final Price field of products which is depends on Catalog Price rules, Special Price rules, Tier price
.
The final price does not calculate as cart item element,So you cannot do like that what you want.