Hello everyone,
I am looking for a currency converter app (or even a custom code if it works) that only converts on the frontend (on the webstore - product/collection pages, etc.), but in backend (in the Shopify admin) and on checkout, the currency should be the store’s currency, and the prices as they are in the Shopify admin. Also, the exchange rate should not be automatic, but manual.
More exactly:
- On product pages, collection pages, homepage, etc. → Euro (EURO), converted from Romanian Leu (RON)
- In Shopify admin & checkout → Romanian Leu (RON)
I tried several apps, but none is meeting our needs.
Thank you in advance!
Replace .price with your actual selectors.
Hi @shoniir !
Solution: Custom Code (Manual Rate + Frontend Display Only)
This involves modifying your theme’s Liquid code:
What you’ll need:- A manual exchange rate variable in your theme settings or hardcoded (e.g., 1 EUR = 5.00 RON)
Example Code (Liquid + JS):
{{ product.price | money }}
If this reply was useful to you, we would really appreciate it if you gave us a LIKE and mark the issue as SOLVED!
Hello @Nilankar ,
Thank you for your response!
In your attached code I see this line: “shop.metafields.currency.ron_to_eur.value”. How can I create a “shop”-type metafield if there is no definition for Shop? Overall, I am not sure how can I work with your attached code. Is it possible that you can explain a little bit more.
Thank you!
Hello @Vi-WizzCommerce ,
Thank you for your response!
Is there any possibility that you would guide me step-by-step with your solution? Only adding this code in theme.liquid or anywhere else won’t do the work as of now.
Thank you!
Hi!
I’m not exactly a web developer but you can try placing this snippet in your product.liquid, collection.liquid, and index.liquid files wherever price rendering occurs.
Let me know if this helps!
Then ADD This CODE in before in them.liquid
2 Likes
Hello @Nilankar ,
This might be the solution, I think I am almost there, but there are some issues that I am encountering and I think it is because of the decimals.
I have these two products: https://ibb.co/Y7pG7fbd - as you can see, one has the price of 0.23 EUR and the other 5.000 EUR, but that’s not correct at all, because the 0.23 EUR product is actually more expensive than the other one (in Shopify admin, in RON).
I think, the issue appears because of the decimals. 0.23 EUR product is actually 1,150.00 lei in Shopify admin, while the 5.000 EUR product is 250.00 lei in Shopify admin. Maybe the code considers 250.00 lei as 25.000 lei and, at a conversion of 1 EUR = 5 RON, it goes to 5.000 EUR, while 1,150.00 lei is considered 1.1150, which indeed, is around 0.23 EUR.
How can it be fixed so it will work properly?
Thank you very much!
oh! Conventions issue.
use this!
1 Like
Hello @Nilankar
This is perfect! There only one more thing that I am curious about. How is it possible to make also the variables keep the EUR currency? If I go on a product page with variants and I choose another variant, it changes to Romanian lei (RON). Also, is it possible to have it changed on cart page too with the same code?
Before changing variant (when you go first on the product page): https://ibb.co/RTzKQx8t
After you change variant: https://ibb.co/mCJLxc7N
Thank you so much for your help.
I’ve already provided the core feature implementation, which required significant time and effort especially considering the limited information shared about the theme in use.
However, for deeper integration or theme-specific adjustments, it’s far more efficient to hire a Shopify theme developer or a trusted Shopify Partner. They specialize in aligning functionality precisely with your theme’s structure and design standards. This not only saves time but ensures that updates are stable and maintain theme compatibility going forward.
Trying to force changes without full context often leads to technical debt or broken layouts something best avoided.
1 Like
Understood, thank you for your time and help @Nilankar , your solution helped us a lot!