Support the development of TastyIgniter Learn more
Is it easely possible to set a diferent tax percentage depending on the category of the chosen product?
Happy new year everyone.
Could someone help me on that?
Happy New Year!
It's currently not possible through the admin panel. However, its possible to apply taxes based on menu items.
sampoyigi thank you very much for your answer.
On which file should I work to acheive that?
I'm guessing you'll have to work on a number of files to get it to work. I haven't worked on v2 in a while so it will be hard to say which files. However, you can start from system/tastyigniter/libraries/TI_Cart.php under the calculate_tax() function.
Might be easier to ask on our Slack channel, there are other devs that would be happy to help 🙂