It recommends to hide the .00 when it is .00 and only show decimals when they are needed (ie: .68) to change the following code in system/library/currency.php:
Code: Select all
return $string;
Code: Select all
return str_replace('.00','',$string);
I did a quick search in OpenCart 2.3.0.2 and noticed it does not have a system/library/currency.php
How does one go about making such a modification in OpenCart 2?