Hi,
So far as I remember, the Profit Margin (in this case is Margin rate) formula supposed to be:
(Selling Price - Buying Price) / Selling Price
and Markup rate is using different formula: (Selling Price - Buying Price) / Buying Price)
From the picture above it’s look like the percentage number are swapped.
I already changed code in some files in margin module but somehow it’s still not worked.
Finally, I change some text in htdocs/margin/admin/margin.php
and htdocs/langs/en_US/margins.lang
to fit my needs.
Thanks
Kinsod
3
Hello,
Please share your findings
altatof
4
hello, i disagree with your formulas; they are the opposite
This is my reference for Profit Margin and Markup formula:
Profit Margin = (Revenue - Cost) / Revenue
Markup = (Revenue - Cost) / Cost
https://personalmba.com/profit-margin/