How to set the tax flag

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)
cnoelker
Posts: 54
Joined: 20 Feb 2016, 18:21

How to set the tax flag

Post 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

User avatar
aimeos
Administrator
Posts: 3114
Joined: 01 Jan 1970, 00:00

Re: How to set the tax flag

Post by aimeos » 22 Feb 2016, 10:47

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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

cnoelker
Posts: 54
Joined: 20 Feb 2016, 18:21

Re: How to set the tax flag

Post by cnoelker » 22 Feb 2016, 11:47

Thanks, got this working!

User avatar
aimeos
Administrator
Posts: 3114
Joined: 01 Jan 1970, 00:00

Re: How to set the tax flag

Post by aimeos » 02 Mar 2016, 14:18

There's now a complete article regarding B2B setups available:
https://aimeos.org/docs/User_Manual/Setup_B2B_shop
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Stefan80
Posts: 27
Joined: 27 Nov 2017, 09:57

Re: How to set the tax flag

Post 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 693 times

User avatar
aimeos
Administrator
Posts: 3114
Joined: 01 Jan 1970, 00:00

Re: How to set the tax flag

Post 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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Stefan80
Posts: 27
Joined: 27 Nov 2017, 09:57

Re: How to set the tax flag

Post by Stefan80 » 15 Feb 2018, 08:01

I set the code into the root template of the page.

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

User avatar
aimeos
Administrator
Posts: 3114
Joined: 01 Jan 1970, 00:00

Re: How to set the tax flag

Post 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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Stefan80
Posts: 27
Joined: 27 Nov 2017, 09:57

Re: How to set the tax flag

Post 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 672 times

User avatar
aimeos
Administrator
Posts: 3114
Joined: 01 Jan 1970, 00:00

Re: How to set the tax flag

Post 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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply