Converting comma separated currency to dot separated

lukaskk
New Member
2 0 0

Hi there, 

the price-decimals on my store are by default separated by comma (e.g. 6,99 €). 
Now I need to convert them into dot separated version without the currency icon (e.g. 6.99). 

Does anyone know how to do this with liquid filters? I'm stuck! I don't want to change the base-formatting settings in the store. 

Thank you! 

0 Likes
David_Weru
Trailblazer
154 15 36

Hello @lukaskk

 

The money filter is what you're looking for.

https://shopify.dev/api/liquid/filters/money-filters#money

If you'd like further assistance implementing it, please message me.

0 Likes