Open dnlmzw opened 2 years ago
Thanks for this @dnlmzw!
Multi-currency is something I've been looking into, lots of moving parts with that, not only with displaying correct prices, but also taking a customer to the shopify checkout flow.
I don't have any immediate plans to add this just yet, but it is on the roadmap 😉
If you have any other insights from your experience let me know!
Hi @ndimatteo,
Thanks again for this amazing repo. Using it for another project now. I like the features you've added since I last pulled the code. Awesome!
I implemented a multi currency feature on the last project, which I need on this project as well so I thought I'd bring it up as a feature request. I solved it by making all of my prices available through an API, to avoid having to update the records in Sanity every time the exchange rate changed
What I wrote is a quite handheld/hacky and is breakable with +250 products, but maybe you can use my code for inspiration.
I'm very happy to hear if this is something you've already thought about how you'd go about implement it, since I'd be happy to find a more future-proof solution. Also, detecting the IP and duplicating the checkout to create a new checkout on Shopify's side is something I've worked on but haven't yet found a good solution for.
Keep up the good work!
in
/api/shopify/product-prices?currencyCode=DKK