Just upgraded to Cart66-lite 22.214.171.124, product price tags seemed to have taken a shorter form, eg $29.9 instead of $29.90 (assuming Decimals set to 2 at Cart66 Settings > Main).
It can be traced to currencyMarkup function in models/Cart66Common.php:
$postDecimal = isset($decimalBreak) ? $decimalBreak : '';
Could it be revised slightly? Eg
$postDecimal = str_pad(isset($decimalBreak) ? $decimalBreak : '', $decimal, '0');
Appreciate the folks working behind the scene. Merry Christmas~
- The topic ‘Zero(s) padding for price tags’ is closed to new replies.