Page 1 of 2

How to set the tax flag

Posted: 22 Feb 2016, 10:43
by cnoelker
Hello,
I want the shop to display all prices without VAT. According to the code, this is checked upon the $price->getTaxFlag() method.
Where can I set this value to be 0 for the complete shop?
Claudia

Re: How to set the tax flag

Posted: 22 Feb 2016, 10:47
by aimeos
cnoelker wrote:Where can I set this value to be 0 for the complete shop?
Please use this configuration setting:
https://aimeos.org/docs/Configuration/C ... ce/taxflag

Re: How to set the tax flag

Posted: 22 Feb 2016, 11:47
by cnoelker
Thanks, got this working!

Re: How to set the tax flag

Posted: 02 Mar 2016, 14:18
by aimeos
There's now a complete article regarding B2B setups available:
https://aimeos.org/docs/User_Manual/Setup_B2B_shop

Re: How to set the tax flag

Posted: 14 Feb 2018, 11:35
by Stefan80
Hello,

I used

plugin.tx_aimeos.settings.mshop.price.taxflag = 0

too, but the taxes are shown in the basket and are also wrong calculated (see image in the attachment).

Re: How to set the tax flag

Posted: 14 Feb 2018, 21:04
by aimeos
Where did you set it? It must be in the setup TS-Config of your (shop) root page so it inherits to all pages below. Furthermore, you have to set it in the TS-Config field of the scheduler task as well so it's used in the e-mails.

Re: How to set the tax flag

Posted: 15 Feb 2018, 08:01
by Stefan80
I set the code into the root template of the page.

Where can I manipulate the tax...e.g. from 20% to 7% ?

Re: How to set the tax flag

Posted: 15 Feb 2018, 14:25
by aimeos
Each price has a tax rate associated. The tax in your case comes from the delivery service option.

Re: How to set the tax flag

Posted: 16 Feb 2018, 08:24
by Stefan80
Ok.

But the system calculated the tax wrong (see image)

7% - > 15€ x 0,07 = 1,05€

19,00% -> 4,95€ x 0,19 = 0,94€

?

Re: How to set the tax flag

Posted: 16 Feb 2018, 17:58
by aimeos
The tax flag configuration is still not used in your basket page because of "Inkl. ... MwSt". When it's used, "+ ...% MwSt" would be shown instead. Please check in the Typoscript object browser if the taxflag setting is available in your basket page resp. why it's not.