Support » Plugin: Dynamic Conditions » Condition “equal to” not working with taxonomy

  • Hi there,

    I’m struggling with the “equal to” condition. I’m using it with a custom taxonomy and it only works with contains, not “equal to” which in my user case scenario won’t work.

    When I debug, both fields are the same (see screenshot) and the condition should be met but it’s not…

    https://prnt.sc/urhvvg

    Any idea why?

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author crazypsycho

    (@crazypsycho)

    Hello @klaggy

    the dynamic-tag-value has a span around, so they are not equal.
    You could check for contains instead of equal.

    Doesn’t it compare with the dynamic tag raw value? It comes straight from a taxonomy so if the span is there, it’s generated by the system.

    Also, I think it would be much more stable if we coud compare with the taxonomy term ID rather than the value, this is very prone to errors…

    Thanks,

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