I created a new Catalog Price Rule on my Magento CE 2.3.2
I also have in my products 2 custom attributes: brand and season.
I have 3 products:
- price=100; brand=X; season=Y; categoryIds=3,4,5
- price=100; brand=X; season=Y; categoryIds=3,4,6
- price=100; brand=X; season=Y; categoryIds=3,4,7
How I created the rule:
-Info
Name=test
Status=Enabled
Websites=All selected
Customer Groups=All selected
From Date=Today date
Priority=0
-Conditions
If [ALL] of these conditions are [TRUE]:
Brand [IS] X (selected from dropdown list)
Season [IS] Y (selected from dropdown list)
Category [IS NOT/NOT CONTAINS/IS NOT ONE OF] 5 (I tried with this 3 options)
-Actions
Apply=first option selected
discount=10
Expected Result:
- new price=100;
- new price=90;
- new price=90;
Actual Result:
- new price=90;
- new price=90;
- new price=90;
I tried with a lot of combination but there is no way to exclude a product of a specific category.
Hope for help, thanks in advance.