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.
Ditto. I'm looking to do the
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.
I have managed to create a
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.
The Rule condition is now
The Rule condition is now integrated into commerce_conditions. Check it out and let me know if it gives y'all any trouble.
what to set in data selector?
I have a similar problem. I have to set different rates for different product types. But I am not getting what to set in Data Selector.Please help me in this.