Hi!
In Sweden we calculate tax on shipping in a special way, I don´t know if other countries do the same. If a VAT of for example 6% is applied to 40% of the order total and a VAT of 25% is applied to 60% of the order total, then 6% VAT is applied to 40% of the shipping cost, and 25% VAT is applied to 60% of the shipping cost, and so on.
Now my problem is that in one way or the other I want to modify HikaShop so that tax on shipping is calculated in this way. First I tried creating a plugin which would modify the tax calculation, but I couldn´t make it work. Then I have been looking at the source code for Hika Shop to find the appropriate place to insert my own code for tax calculation, but I don´t understand where I should put my code.
Is there a single file and piece of code where I could put my code, or will I have to put it in several places? Could anyone in this forum help me understand in which files and code parts I need to insert my code so that the correct tax on shipping and tax total will be calculated, displayed and saved to the database in every relevant part of the shop?
Our website uses Joomla 1.5.25 and HikaShop Starter 2.0.0
Kaj Westin