Hey,

Thanks for the great addition of checking on product displays. It seems to work great if you actually select the terms you are looking for. However, if you try to use null, or not null, the condition doesn't validate.

Any thoughts?

Comments

MarcElbichon’s picture

Can you try this :

Add this line in includes/conditions/commerce_rules_extra_rules_condition_has_term.inc in function commerce_rules_extra_rules_condition_has_terms (line 117)

    $product_terms = array();

just before line

if ($product_display) {

  • Commit ea60a5a on 7.x-2.x:
    [#2222399]
    [#2178901]
    
Poieo’s picture

Status: Active » Reviewed & tested by the community

That did the trick.

MarcElbichon’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Commited to dev