I have a lot of shipping rules using "Order has a specific quantity of products" condition to see if the products will fit in a small package for shipping. With the latest update of this module, all of those rules no longer worked.

I wanted to post the fix here in case anyone comes looking.

You have to enable the Commerce Discount module in order for these conditions to be available in Rules. I don't use this module so it was disabled on my build.

Comments

zmove’s picture

Priority: Normal » Critical

Same problem here, it seems related to #2500407: function '_inline_conditions_operator_options' not found. The original post is for commerce discount but I think the issue is more related to inline condition.

As it break all rules operator, I think it can be considered as critical.

jkuma’s picture

Hello,

I'm currently quite busy and i'll do my best to jump into this issue this afternoon. Since the business rules have moved to commerce_discount, this function might have been removed during the migration. You can try to reimplement that function into inline_conditions own rules files in order to attempt resolving this issue.

jkuma’s picture

Status: Active » Needs work
jkuma’s picture

Status: Needs work » Fixed

This issue has been tackled and fixed by joelpittet and I from issue #2534972: Rules lost its operator with the latest update. So this issue is no longer in effect and must be updated to fixed. Please feel free to re-open it if you are still encountering that kind of problem.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.