Come on, even prestashop has a function to display no-decimals. In some countries displaying decimals is not even legal, come on guys...I hate to hack the code...
Solved! Go to Solution.
Functionally it's pretty simple and there should be a central place in the code base to make this change. We haven't done it yet because majority of our customers don't need this functionality and there's a huge testing cost in making the change. We'd love to get this as a PR along with expanded tests around price/tax that stress possible rounding issue areas. So far I've heard several asks for 0,3 and 4 digits of price precision.
As an aside we consider bulk pricing ( i.e. buying kg's of nails, or meters of cloth, etc ) as a B2B feature where you might have 8 digits or so of precision for pricing + dimension but when calculate would round to the # of digits of price precision to be shown in the cart, order screens, etc. That's considered a B2B feature.
See my «Price Format» Magento 2 extension: https://mage2.pro/t/355
It has a lot of options for price/currency formatting.
Demo video: https://www.youtube.com/watch?v=0Edmk8uKn0Q
Examples:
Functionally it's pretty simple and there should be a central place in the code base to make this change. We haven't done it yet because majority of our customers don't need this functionality and there's a huge testing cost in making the change. We'd love to get this as a PR along with expanded tests around price/tax that stress possible rounding issue areas. So far I've heard several asks for 0,3 and 4 digits of price precision.
As an aside we consider bulk pricing ( i.e. buying kg's of nails, or meters of cloth, etc ) as a B2B feature where you might have 8 digits or so of precision for pricing + dimension but when calculate would round to the # of digits of price precision to be shown in the cart, order screens, etc. That's considered a B2B feature.
i understand, but think positive...about how many small business will you get with EE that need this solution. in my case we have been using magento ce for about 4 years, from about 100k usd annually we stepped to about 10m, of course hacking the code very badly. Actually we are considering getting some serious stuff like EE, but there will be no point having no support with hacked code, anyway i understand your position about targeting the majority, thanks for the reply
See my «Price Format» Magento 2 extension: https://mage2.pro/t/355
It has a lot of options for price/currency formatting.
Demo video: https://www.youtube.com/watch?v=0Edmk8uKn0Q
Examples: