magento-lts
magento-lts copied to clipboard
Cannot exclude products based on special price in Coupon promo.
I am trying to create a cart rule with a specific coupon that will work
Preconditions (*)
- Openmage LTS 20.0.20
- Openmage LTS 20.0.13
Steps to reproduce (*)
- Set special_price attribute as used for promo rules.
- Create a new cart rule with a specific coupon.
- In actions tab, Apply the rule only to cart items matching the following conditions (leave blank for all items), use rule If all conditions are true ->Special Price less than 0.1 or equals or less than 0.
- Add product to cart and try to apply coupon code.
Expected result (*)
- If the product doesn't have a special price the coupon code is applied and discount is given.
- If the product has a special price than the rule should not be applied.
Actual result (*)
- The coupon code isn't applied with the message: Coupon code "AnnaMaria" is not valid.
Some more information:
If the user switches up the rules to all conditions are false and special price greater than 0 then the coupon is applied regardless if the product has special price or not. This worked flawlessly in Magento 1.9.4.5. I have a hunch that the rule is checking against NULL and that's why it fails.
Up. For some attention.