Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
In my metafield, I create one metafield type money then I inserted 1 in USD as default value. My store available 3 markets places which's EUR, USD and CNY.
When query metaobject to get that metafield there was an unexpected result on that such as:
1. when query language in EN-EN (USD) value display:
{ "data": { "metaobjects": { "nodes": [ { "handle": ".....", "fields": [ { "key": "money", "value": "{\"amount\":\"1.0\",\"currency_code\":\"USD\"}", "type": "money" } ] } ] } }, "extensions": { "context": { "country": "EN", "language": "EN" } } }
2. when query language in DE-DE (EUR) value display:
{ "data": { "metaobjects": { "nodes": [ { "handle": ".....", "fields": [ { "key": "money", "value": "{\"amount\":\"1.95\",\"currency_code\":\"EUR\"}", "type": "money" } ] } ] } }, "extensions": { "context": { "country": "DE", "language": "DE" } } }
3. when query language in CN-ZH (CNY) value display:
{ "data": { "metaobjects": { "nodes": [ { "handle": ".....", "fields": [ { "key": "money", "value": "{\"amount\":\"8.0\",\"currency_code\":\"CNY\"}", "type": "money" } ] } ] } }, "extensions": { "context": { "country": "CN", "language": "ZH" } } }
The issue is by the shopify automatically exchange rate conversion not correctly on 1 USD = 1.95 EUR.
Anyone here can help with issue that I mention?
Thanks
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025