Taxflag from TypoScript not respected

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
promptnet
Posts: 85
Joined: 24 Jul 2019, 12:22

Taxflag from TypoScript not respected

Post by promptnet » 23 Mar 2026, 16:54

I have set

Code: Select all

plugin.tx_aimeos.settings.mshop.price.taxflag = 0
in the TypoScript Setup, and the rest of the TypoScript in that file is working, and in the TYPO3 backend it shows that the value is set correctly.
But, unfortunately, the value is not respected. The basket and the checkout show the prices with tax included.
And, when I set

Code: Select all

$priceTaxflag = 0
instead of

Code: Select all

$priceTaxflag = $price->getTaxFlag();
then the prices are shown with tax excluded.
What can I do to have the tax excluded (correctly)?

TYPO3: 12.4.43
Aimeos: 24.10.5
PHP: 8.2

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

Re: Taxflag from TypoScript not respected

Post by aimeos » 24 Mar 2026, 08:52

For the frontend, the setting is correct but it's better to add this setting to a PHP config file so it's available in the scheduler tasks too.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

promptnet
Posts: 85
Joined: 24 Jul 2019, 12:22

Re: Taxflag from TypoScript not respected

Post by promptnet » 25 Mar 2026, 07:49

Thank you very much! That works perfectly.

Post Reply