Hi,
Thanks for https://drupal.org/node/2155995.
I have following rule. The field "field_categorie" is a taxonomy field on the commerce product-entity.
Somehow it is not known. I got following login:
The condition commerce_taxonomy_conditions_rules_contains_product evaluated to FALSE
But the commerce product-entity has this field "field_categorie" as a term-field!
{ "commerce_shipping_service_free resellers" : {
"LABEL" : "Rate Free resellers",
"PLUGIN" : "rule",
"REQUIRES" : [ "rules", "commerce_taxonomy_conditions", "commerce_shipping" ],
"USES VARIABLES" : { "commerce_order" : { "label" : "Volgorde", "type" : "commerce_order" } },
"IF" : [
{ "user_has_role" : {
"account" : [ "site:current-user" ],
"roles" : { "value" : { "4" : "4" } },
"operation" : "OR"
}
},
{ "commerce_taxonomy_conditions_rules_contains_product" : {
"commerce_order" : [ "commerce_order" ],
"term_field_names" : "field_categorie",
"term_ids" : "33",
"operator" : "\u003E=",
"value" : "1"
}
}
],
"DO" : [
{ "commerce_shipping_service_rate_order" : {
"shipping_service_name" : "gratis_resellers_bola",
"commerce_order" : [ "commerce-order" ]
}
}
]
}
}
Greetings, Martijn
Comments
Comment #1
summit commentedHi,
I think it is fixed. Somehow Inline Entity Form didn't save my product term value...thats why it became false!
Greetings, Martijn
Comment #2
redsd commentedAh good to hear!
Hope you won't come across any other problems.
Comment #3
redsd commented