In the webshop we're building we're outputting the price like so:

{{ cart.itemSubtotal|commerceCurrency(cart.paymentCurrency, convert=true) }}

which displays for example:


We will be using multiple currencies in the webshop. Is it possible to set the thousands/decimals signs? Or does the CMS take these settings from the locale? We can't find the settings for this anywhere.

Thanks in advance!

1 Answer 1


The thousands/decimals signs are based on the current users locale and can not be configure at the moment. The number is formatted based on the currency and locale. You would need to make your own currency formatter as a twig extension.

You could set format=false in the craftCommerce filter, then pass the value to your own number formatter filter.

  • Thanks! Do you think this feature will be added in the future?
    – Floriskoch
    Commented Jan 31, 2017 at 9:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.