Workflow_ng Problem when using "Check an order's number of products" condition

Posts: 29
Joined: 11/05/2007

Hello,

I am using ubercart with flatrate shipping and when I use the workflow_ng "Check an order's number of products" condition and highlight the products to which I would like to apply this rule, the rule is not applied to all of the products which I have selected. If I select then the rule is applied to the products which fail when I have manually selected them. Is the products value the node or the SKU? What is the best way to debug this problem?

Thanks for your help,

Patrick

Posts: 1998
Joined: 08/07/2007
AdministratoreLiTe!

I'm not sure what you mean by "the rule is not applied to all of the products". How do you expect it to work?

Posts: 29
Joined: 11/05/2007

It appears that part of my comment was omitted. It should have read:

I am using ubercart with flatrate shipping and when I use the workflow_ng "Check an order's number of products" condition and highlight the products to which I would like to apply this rule (I manually select all of the product numbers listed since they are all of the same type), the rule is not applied to all of the products which I have selected. If I select ALL PRODUCTS at the top then the rule is applied to the products which fail when I have manually selected them. Is the products value the node or the SKU? What is the best way to debug this problem?

Thanks for your help,

Patrick

Posts: 2
Joined: 01/07/2008

Patrick, I have the same problem here.

I am trying to setup a rule as follows.

"Check an order's number of products"
Pick the the products that I want
Set the count value and comparison

The rule won't run when I click on get shipping quote
however if I go back and change products to "All Products"
The rule will run fine..

Posts: 1998
Joined: 08/07/2007
AdministratoreLiTe!

The value of products is based on the SKU, which is not what I would have said if I hadn't just looked. If you have attributes that adjust the SKU, then they wouldn't ever be counted except when "All products" was chosen. And that's a problem.

The condition "order has products" uses the nid, and it seems to work pretty well. I think I'll use that as the standard until there's a better way to get all the possible SKUs that a product can have.