• Our product pages were displaying the price as $28.5 instead of $28.50. Settings all checked and selected to display two decimal points.

    This fix overrides the admin settings, but I always want to show 2 decimals in the price, so I don’t care.

    Here’s the fix:

    cart66-lite/views/cart-button.php
    Change line 6 – change
    from
    $priceString = $data['price'];
    to
    $priceString = number_format($data['price'], 2, '.', '');

  • The topic ‘Cart66 Lite – Product page not displaying 2 decimals’ is closed to new replies.