Order Calculation understanding
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- DamanMokha
- Posts: 13
- Joined: 29 Mar 2023, 03:00
Order Calculation understanding
Hi,
I would like to seek clarification on how the order payment is calculated. I have two products: "Perlage - Sparkling Water (Glass-300 ml)" priced at $6.99 with a tax rate of 15%, and "Jumbo Braised Beef Octagons Ravioli (1 Bag)" priced at $19.99 with a tax rate of 13%.
According to my calculations, the tax for the first product would amount to $1.05 (6.99 * 0.15 = 1.0485 ≈ 1.05), while for the second product, it would be $2.60 (19.99 * 0.13 = 2.5997 ≈ 2.60).
Thus, the grand total amount, inclusive of taxes, should be (6.99 + 1.05) + (19.99 + 2.60) = $31.63, with a total tax amount of $3.65 (1.05 + 2.60).
However, in your order description, it indicates a total of $26.98 with a tax amount of $3.21, summing up to $30.19. This seems to deviate from the calculated total.
I kindly request you to provide further information and attach any relevant screenshots to aid in resolving this discrepancy.
Thank you.
I would like to seek clarification on how the order payment is calculated. I have two products: "Perlage - Sparkling Water (Glass-300 ml)" priced at $6.99 with a tax rate of 15%, and "Jumbo Braised Beef Octagons Ravioli (1 Bag)" priced at $19.99 with a tax rate of 13%.
According to my calculations, the tax for the first product would amount to $1.05 (6.99 * 0.15 = 1.0485 ≈ 1.05), while for the second product, it would be $2.60 (19.99 * 0.13 = 2.5997 ≈ 2.60).
Thus, the grand total amount, inclusive of taxes, should be (6.99 + 1.05) + (19.99 + 2.60) = $31.63, with a total tax amount of $3.65 (1.05 + 2.60).
However, in your order description, it indicates a total of $26.98 with a tax amount of $3.21, summing up to $30.19. This seems to deviate from the calculated total.
I kindly request you to provide further information and attach any relevant screenshots to aid in resolving this discrepancy.
Thank you.
Re: Order Calculation understanding
The calculation in Aimeos is correct because your prices are gross prices which already include the tax. The net total would be 26.98 - 3.21.
If you want to use net prices instead, use the "mshop/price/taxflag = 0" config option.
If you want to use net prices instead, use the "mshop/price/taxflag = 0" config option.
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
- DamanMokha
- Posts: 13
- Joined: 29 Mar 2023, 03:00
Re: Order Calculation understanding
Hi,
Thanks, But i am not able to find it, where and how to add this in the config?
Thanks, But i am not able to find it, where and how to add this in the config?
Re: Order Calculation understanding
Please read this article: https://aimeos.org/docs/latest/laravel/ ... figuration
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