Workflow-ng: Check an order's products

Posts: 32
Joined: 03/17/2008

Hello,

May I start out by saying how wonderful Ubercart is. I absolutely love it.

That being said, I am having a small issue. I am trying to enable a flat shipping rate based on a given product in the order. In Workflow-ng, I have have added a condition of "Check an order's products" and have made sure to select the correct product #.

When I go to checkout... the flat shipping rate does not show up. If I disable the "Check an order's products" condition, and calculate shipping again... the rate does show up. I have triple-checked to make sure the product # is correct.

As a note -- I do have the attributes module enabled on my site, but this given product does not have attributes and therefore does not have a unique # based off of any attributes.

Any help anyone could give would be greatly appreciated. Thanks!

-JaceRider

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

I just noticed what seems to be a bug in the condition's code, so that's probably what's not right. Switching the "Inclusive mode" setting to require all the products selected works, so if you're selecting just one product, that should make it usable.

Posts: 32
Joined: 03/17/2008

Thanks for looking into this. If you come up with a fix for this, please let me know as I do need more than one item to be selected -- but for now this will help. Thanks again!

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

A fix has been committed, so now it's all about waiting for the next release. Or getting the latest code through Bazaar.

Posts: 32
Joined: 03/17/2008

The fix worked. Thanks so much!