Mini-Basket Tax
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Mini-Basket Tax
Hi Aimeos-Team,
i try to show the taxrates in the mini-basket, but the values of "taxrates" are 0.00.
Is this a bug or is this the wrong way?
Thank you!
i try to show the taxrates in the mini-basket, but the values of "taxrates" are 0.00.
Code: Select all
$tax = $this->miniBasket->getProducts()->sum( 'order.base.product.taxrates' );
Thank you!
Re: Mini-Basket Tax
The "order.base.product.taxrates" value is a list of tax rate values even if you only use one tax rate. Therefore, sum() won't work on those arrays.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star