Need suggestion
I am wanting to only charge tax on specific product types as defined on the product types screen. Would the best way for me to do this is to create a new field such as commerce_taxable when I create the product type then set up a condition to verify that it is set and is true?
Comments
Switch on type, product, or field
That will work fine. Or you could have a separate product type for taxable items.
Product Type Would Be Great
Using the product type would be great however for the life of me I can't figure out how to write the rule to look at the product type. Anyone care to buy me a clue?
Assistance most appreciated.....
Data comparison
To compare on product type, you would use a data comparison on commerce-product:type
Ok I think I got this finally can someone check my logic?????
Alright I think I finally have this figured out here is what I did.
Under conditions I have Elements of
Condition 1:
Order address component comparison which goes against my state
Parameter: Order: [commerce-line-item:order], Address: Address, Address component: Administrative area (State ..., Value: MO
Condition 2:
Entity has field
Parameter: Entity: [commerce-line-item], Field: commerce_product
Condition 3:
OR
Condition 4 associated with Condition 3:
Data comparison
Parameter: Data to compare: [commerce-line-item..., Data value: Product Type 1
Condition 5 associated with Condition 3:
Data comparison
Parameter: Data to compare: [commerce-line-item..., Data value: Product Type 2
Is my logic even close to making sense as I only want to do tax IF they live in my state and the Product is of product types 1 or 2 but not 3 or 4?
Thanks in advance