We are working on a feature where we want to add support for multi-currency so customers can pay through their local currency.
To achieve the functionality, we have a requirement to retrieve currency conversion rate within liquid. We did a lot of R&D and tried possible solutions, however, couldn't succeed.
We found that the rate can be obtained through a piece of JS code: window.Shopify.currency.rate, but this works on the storefront. If we use this way, it will add huge complexity to our code and execution.
How can we obtain currency conversion rate through liquid?
Dive into the world of Print-on-Demand and discover how it can transform your online busin...By Imogen Feb 19, 2024
Discover how to transform your online store into a delightful shopping destination. Learn ...By Ollie Feb 13, 2024