Thanks for the reply!
On checkout I wanted a customer to say they would like a Tax free order yes, but only do the tax deduction to certain products which admin have flagged as VatFreeAvailable(or possibly have certain attribute or class?).
The approach I was going to take was decorate the product and order models like so:
Product with $vatReliefable;
Order with $agreeToVatRelief;
Then possibly override the XLite\Module\CDev\VAT\Logic\Order\Modifier\Tax Calculate method. To say something like:
PHP Code:
if ($item->vatReliefable && $order->agreeToVatRelief)
{
//Don't add tax and take away tax % from price
}
Then add a checkbox on the checkout which changes agreeToVatRelief to true/false and reloads the page.
Any input on if this is a viable/good idea, would be great!
Ill get back to you on my log files.
Thanks.