• Resolved sonnendieb

    (@sonnendieb)


    Hey guys,
    I was trying to form a condition consisting of two sub conditions that both need to be true, so with ADN, but also, the second one needs to be NOT. Is there a way to do this?
    Best
    Johannes

    [ Please do not bump. ]

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

    (@intoxstudio)

    The NOT condition will unfortunately not work with other condition groups because it forms OR NOT logic. It is on the roadmap to remove negated conditions in favor of something better.

    For now, you can create 2 sidebars like this:

    Sidebar A:
    Add the 2 conditions that need to be met.
    Action: Replace default sidebar

    Sidebar B:
    Add the 1 condition you need NOT to be met.
    Action: Replace Sidebar A

    This will essentially make it so Sidebar B will only be displayed if the 2 conditions are met AND the 1 condition is NOT met.

    I hope this helps!

    Thread Starter sonnendieb

    (@sonnendieb)

    Ok, got it, thanks.
    Since sidebar A does not replace but add to the primary sidebar, I also had to change the order and give sidebar B a value of 1 and A of 2.
    Best
    Johannes

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Two conditions with AND and one NOT’ is closed to new replies.