I have the need to do something that I find a little bit bizarre but needed by a client. I'm curious if this can be done without the source code release. I need to accomplish 2 things. First I need to add an attribute to the products. This is something I think I can do very easily using the templates. In this case, its a flag that indicates whether a particular product is an accessory. Then I need to use this custom bit to determine how to tax in a particular state. In this case, if the billing address is in MN, then only the accessories should be taxed. All other non-accessory items in the cart should be untaxed. Does anyone have any suggestions how to do this?
Thank You For Your Time
Custom Tax Calculations
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: Custom Tax Calculations
I wonder if you could just use Tax Codes and the built in tax rules for this purpose? Create two tax codes: Accessory and General (or whatever makes sense for non-accessory products). For accessory products, they get the Accessory tax code. Other taxable products get the General code.
Now in your tax rules, you can create a tax rule for MN that only applies to the the Accesssory tax code. You can create a tax rule for other states that applies to both Accessory and General if you need.
Does this accomplish your goal?
Now in your tax rules, you can create a tax rule for MN that only applies to the the Accesssory tax code. You can create a tax rule for other states that applies to both Accessory and General if you need.
Does this accomplish your goal?
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Re: Custom Tax Calculations
I believe that it does. I will try to implement and see if it satisfies my requirements. Going by you're description I think it will. Thanks for the assistance. I'll come back if I have any questions.
Re: Custom Tax Calculations
I am having a similar problem. Please help!
I have a product that is taxable. This product needs to have a product accessory attached to it. The product accessory is set to non-taxable. The problem is that when the product accessory is selected for the product it increasing the cost per unit and then at checkout the tax is applied to the entire cost per unit. The rule of non-taxable is disregarded for the product accessory. It should only have tax charged against the original product price per unit and not the price per unit w/ the product accessory.
Please help with a solution. Thank you.
I have a product that is taxable. This product needs to have a product accessory attached to it. The product accessory is set to non-taxable. The problem is that when the product accessory is selected for the product it increasing the cost per unit and then at checkout the tax is applied to the entire cost per unit. The rule of non-taxable is disregarded for the product accessory. It should only have tax charged against the original product price per unit and not the price per unit w/ the product accessory.
Please help with a solution. Thank you.