How can I use custom numbers with multiple currencies in my store?

Topic summary

Main issue: Multi-currency displays correctly for product prices, but arbitrary/custom numeric amounts (e.g., a fixed bundle price from theme settings) do not convert when using Liquid filters.

What works: Using product.price with money or money_with_currency shows the selected currency and converted amount (example: $150 displays as 39,100 LKR).

What doesn’t: Applying money_with_currency to a plain number (e.g., 150000 or a section setting value) shows the currency but does not convert the numeric value; it remains the same across currencies.

Attempted fix: Suggested switch to money_with_currency. Result: No change—the custom number still isn’t converted.

Evidence: A screenshot demonstrates the product price converting while the custom number remains unchanged. The image is central to illustrating the discrepancy.

Latest update & actions: Support requested the store URL and password to inspect the implementation.

Status: Unresolved. Open question: How to ensure custom numeric values respect the selected currency’s conversion rather than merely formatting with a currency symbol.

Summarized with AI on February 4. AI used: gpt-5.

Hi,

I’m using multiple currencies in the store and it is working fine with default price tags.

eg: {{ product.price | money }}

But I need to use this with a custom number added from theme settings.

eg:

{% assign custom_price = 1000000 %}

(or {% assign custom_price = section.settings.bundle_price %})

{{ custom_price | money }}

This is not converting to other currency, it will show the same number.

Thank you!

Hi @Nalinda ,

Please change code:

{% assign custom_price = 1000000 %}
{{ custom_price | money_with_currency }}

Hope it helps!

Hi, Thanks for the reply.

It is still not working, check the example
The product price is $150

Code:

<span>{{ product.price | money_with_currency }}</span> /
<span>{{ 150000 | money_with_currency }}</span> /

As you see, the 1st one is converted with the actual product price, 150$ > 39,100 LKR
Still 2nd one with the number is not converting.

Thank you!

Hi @Nalinda ,

Please send your site and if your site is password protected, please send me the password. I will check it.