The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Prices being rounded in cart


is there anything can do here? Our client wants to show the not rounded price when a discount is applied


  • fc_adamfc_adam FoxyCart Team
    edited November 2017

    Good question. By default we will show the rounded number in the cart as you've noted. If you wanted to display the full precision number, you would need to edit the cart include template to display the specific value you want.

    For example, the following portion of the cart include template is handling the way we output it natively:
    {{ item.price|money_format }}{% if item.price_is_fractional %}<span title="{{ item.price }}">…</span>{% endif %}
    If you wanted to always show it at full precision, you could update it like this:
    ${{ item.price }}
  • Hello @fc_adam,

    Where would I find the cart include template? I haven't had to modify it yet and I'm not sure where it is

  • fc_adamfc_adam FoxyCart Team

    Sorry for not being clearer in my previous post - you'll find the cart include template in the FoxyCart administration for your store - under "Templates" will be an menu item for "Cart Include". Set it to "Custom Template" to be able to customise it.
Sign In or Register to comment.