How to configure and adapt Aimeos based shops as developer
Forum rules: Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#2523 by cnoelker
22 Feb 2016, 10:43
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
#5682 by Stefan80
14 Feb 2018, 11:35
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).
Attachments
shop_taxes.png
shop_taxes.png (39.13 KiB) Viewed 357 times
#5686 by aimeos
14 Feb 2018, 21:04
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.
#5691 by aimeos
15 Feb 2018, 14:25
Each price has a tax rate associated. The tax in your case comes from the delivery service option.
#5694 by Stefan80
16 Feb 2018, 08:24
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€

?
Attachments
shop_taxes_2.png
shop_taxes_2.png (34.87 KiB) Viewed 336 times
#5697 by aimeos
16 Feb 2018, 17:58
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.