Question about Taxes/VAT

Hi Guys,



I need to be able to set one class of TAX / VAT to only be charged if a field is emtpy in the customers profile.



Is the acheivable with CS-Cart as it stands?



If not, can somebody please direct me to the file that holds this information, and I will do the neccessary edits.



Thanks,

So I have had a look, and it looks like I need to change the Tax Code.



Anybody any tips on where to do this?



I want the following logic to occur:



IF PROFILEFIELD.CHECKBOX = TRUE AND PROFILEFIELD.X != ā€˜ā€™

THEN

TAXVARIABLE2 (2nd tax rate) = null

ELSE

TAXVARIABLE2 = 1



I’m quiet new to PHP, and the only real problem I think I have to get this working is the ARRAY function for the TAX RATES.



Can somebody please tell me the section of code that controls this, and I will attemp the rest.



Cheers