wagnerwagner/merx

Conditional taxes, taxes variations

plagasul opened this issue · 3 comments

Hello,

According to my EU based client, he oly needs to charget VAT to EU customers, but no VAT to non-EU customers.

How can this be handled in merx?

Could I for example overwrite the tax on cart->add() as suggested in the product variations cookbook for price ?

Danke

Actually, according to documentation and my own test, product price is supposed to be introduced TAX INCLUDED ?

If I am correct, that seems to complciate tax variation.

I don't have much experience with web stores, but wouldn't it be more flexible to specify a product's base price and tax rate separatedly? and calculate total price from there ?

Or am I missing something ?

Hey @plagasul,

Merx is a basic toolkit to build shops. Conditional taxes are not supported as a core feature, sorry. But. You can build it by your own. In fact merx.wagnerwagner.de updates the price depending on the country you select. If the user selects Germany the VAT is added to the price of the license.

Here is the code for this feature: https://github.com/wagnerwagner/merx.wagnerwagner.de/blob/master/site/plugins/site/index.php#L183-L189

That is very useful, much appreciated.