I am trying to setup different taxes for different products. I've read that one way to do it was to create different product classes and then tax them differently. But since I have many products and the taxes are very likely to change in time for some of the products, I do not see an easy way to rapidly convert a product from one class to a product from other class.
Therefore, I was trying to follow a different approach. I could add three or four different taxes and only apply them for a specific product if a specific condition was met. For example, I could add a Taxonomy Term for each product containing the value of the tax for that specific product and then use TAX conditions, Execute Custom PHP code to see if that product should have this tax applied or not.
I see that we have these variables available:
$order uc_order Order
$tax tax Tax rule
$account user Conta de utilizador
Can you give me some hints on how to see the structure of these variables and confirm that my idea will work? Does $order has information on each product and all the fields submitted such as taxonomy terms associated to a product (or perhaps custom CCK fields which could be used instead of taxonomy terms)
