4

I'm setting up Drupal Commerce in the checkout Rules section. But this question also applies to any Rules.

Currently I have 3 conditions in my rule set. By default what is the default operator in this section? Is it an OR or AND? I see you can add these in manually, but it would be good to know what they are by default.

Data comparison

Entity exists by property

Data comparison

enter image description here

1

If you're confused as to how a specific rule is being evaluated by Drupal, you should enable the debug display for Rules. You can do so here: /admin/config/workflow/rules/settings

I find this helps a ton when trying to understand the eventual outcome of a Rule, and will show you an audit trail of how each condition was evaluated.

3

AND

And here's some filler text to get me over the 30 character minimum.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.