• 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”.

    https://prnt.sc/yAJxeXZ9hTml

Viewing 1 replies (of 1 total)
  • BerryPress

    (@berrypresssupport)

    Hi, Here’s how the condition currently works:

    ? The match runs against each category on the product individually and stops as soon as a match is found.

    ? If any category meets the condition, it is considered met. If none match, it is not met.

    Given this logic:

    1. “Is exactly” – This should work as expected. If at least one of the product’s categories exactly matches the specified category name, the condition is met—even if the product has additional categories.

    2. “Is not exactly” – Currently, this condition is met if any category is different from the specified one, even if the specified category is also present. We understand that users might expect it to fail for products that include the specified category, regardless of other categories. We plan to revisit this logic to ensure it aligns with expectations.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.