How to achieve following format for whole eshop?
€ 1 650
I found this working but i don't want to format price everywhere:
price | money_without_trailing_zeros | replace: ".", " "
And also i found this https://shopify.dev/docs/themes/liquid/reference/filters/money-filters but it don't seem to cover my use case as well.
Is there any possibility to format price globally with format above?
Solved! Go to the solution
This is an accepted solution.
There's actually a dedicated area in your Shopify settings where you can change the global formatting of your store's currency. I've taken a screenshot below to show you how this can be accomplished in your Settings > General page:
I hope this helps! If there is anything else I can help you with, please let me know.
For this, I would suggest checking out an older forum topic where this was brought up here. There are some snippets of code provided that may prove to be useful!
Note: Be sure to duplicate your theme before editing theme files. In case something breaks, you have a working theme file still.
If there is anything else I can help you with, please let me know
Dear @Dirk Thank you for taking your time in replying! Yes, I noticed this post before, but it's from year 2013 and I guess the code has been changed. Would you have any idea where to look for the snippet files, what @Caroline_Schnap suggested at the end of your mentioned forum topic?
I am using Debut theme and cannot find the place where to replace the
| money | remove: ','
Editing the 'product-price' snippet will remove the , in your pricing on each product page:
Thanks a lot @Dirk I particullary value the fact that you are taking your time to reply in even Solved threads! Your solution worked like a charm! I just want to add to those who are also searching for this - one must also edit product-price-listing.liquid the same way, so the comma is also removed on all listings and collection pages, not just an opened product page.
Thank you once again! More people like you and the world will be a better place one day.