Discussions

How do I set a shipping rule to ignore one product type in the order count?

I am trying to set up specific flat rates for shipping different quantities of product (1-3 quantity = $10, 4-7 quantity = $15, etc...). This is product #1.

But, I want to provide free shipping for product #2.

If I add 3 quantities of product #1 and add 1 quantity of product #2, how do I make it so that the flat rate shipping doesn't count the total as 4 products and therefore apply the 4-7 shipping flat rate?

I looked for a way to set a condition that had the rule ignore product #2 in the order count, but I haven't been successful in formulating that condition.

Any help would be greatly appreciated.

Thank you,
Joe

Posted: Sep 3, 2011

Comments

essbee on November 3, 2011

Ditto. I'm looking to do the exact same thing here. I need to compare order quantity but restrict or manipulate the quantity to remove a particular product type.

essbee on November 3, 2011

I have managed to create a new Rule condition called "Total product of type quantity comparison"

This condition is the same as the "Total product quantity comparison" but also takes a product type, and only counts items of that type.

I have posted it to Commerce Extra Rule Conditions as that seemed the best place for it. Hopefully they integrate it into the project.
http://drupal.org/project/commerce_conditions

Cheers,
Sam