Money filter renders amount_no_decimals with wrong thousands separator (period instead of comma)

Short description of issue

money filter renders amount_no_decimals with wrong thousands separator (period instead of comma)

Reproduction steps

Hi,

shop.money_format is set to {{ amount_no_decimals }}€ on my store (currency: EUR). Per the docs, amount_no_decimals uses a comma as thousands separator, e.g. 1,135.

Expected: 1,000€
Actual: 1.000€

For a 1000€ price, the thousands separator renders as a period instead of the documented comma.

  1. Set money_format to {{ amount_no_decimals }}€ (Admin → Settings → General → Store currency)
  2. Display a round price via {{ price | money }}

Additional info

Shopify’s own Horizon theme hardcodes a comma for this exact case in its JS reimplementation (money-formatting.js):

case 'amount_no_decimals':
  precision = 0;
  break; // thousandsSeparator stays ',' (the default)

So on a Horizon-based store, a server-rendered price and a JS-recomputed one would show different separators for the same amount - which suggests this is a real bug, not a locale quirk.

Thanks!

What type of topic is this

Bug report

Thanks Max! I think this bug report makes sense. We’ll have a look.