Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot exclude products based on special price in Coupon promo. #3610

Open
ioweb-gr opened this issue Oct 24, 2023 · 1 comment
Open

Cannot exclude products based on special price in Coupon promo. #3610

ioweb-gr opened this issue Oct 24, 2023 · 1 comment

Comments

@ioweb-gr
Copy link
Contributor

I am trying to create a cart rule with a specific coupon that will work

Preconditions (*)

  1. Openmage LTS 20.0.20
  2. Openmage LTS 20.0.13

Steps to reproduce (*)

  1. Set special_price attribute as used for promo rules.
  2. Create a new cart rule with a specific coupon.
  3. 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.
  4. Add product to cart and try to apply coupon code.

Expected result (*)

  1. If the product doesn't have a special price the coupon code is applied and discount is given.
  2. If the product has a special price than the rule should not be applied.

Actual result (*)

  1. The coupon code isn't applied with the message: Coupon code "AnnaMaria" is not valid.

image

image

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.

@sreichel
Copy link
Contributor

Up. For some attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants