Categories
-
Hello,
Why doesn’t the logic work when a product has multiple categories, and you want both “is exactly” and “is not exactly” to apply?
For example:
- “is exactly” == ‘category 1’
- “is not exactly” == ‘category 2’
The issue arises because when a product belongs to multiple categories, the “is exactly” condition requires an exact match to only ‘category 1’. However, since the product is also assigned to other categories, it doesn’t satisfy the strict “exact match” condition.
Similarly, the “is not exactly” condition fails because it expects the product to belong only to a specific category that is explicitly different from ‘category 2’. If the product has additional categories, the logic doesn’t work as intended.
A possible solution would be to check for “contains” or “does not contain” instead of “is exactly” and “is not exactly”.
- You must be logged in to reply to this topic.