Re: Translate & Adapt and Money Metafields

Solved

How can I fix the 'currency_code' error when saving a Money Metafield in a different market?

cemino
Shopify Partner
14 0 11

Hello,

 

our shop has a Metafield of type Money. We want to have market-specific values for this, but when trying to save the value of this metafield for another market, the app shows an error: 

Market Localizable content is invalid

 

After checking the network request tab in chromes devtools , I have figured out that this issue relates to the missing "currency_code" in the request. 
Payload contains following:

{\"amount\":\"12\",\"currency_code\":\"undefined\"} 


Is it a known limitation that there is no UI to choose the "currency_code"? 

Accepted Solution (1)
shopifyavi
Shopify Staff
40 6 19

This is an accepted solution.

Hi Camino, this is now fixed!

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Replies 2 (2)

shopifyavi
Shopify Staff
40 6 19

Hi Cemino, thanks for bringing this up, you found a bug 🙂 we are working on a fix. I'll post here when it is solved. Stay tuned.

To learn more visit the Shopify Help Center or the Community Blog.

shopifyavi
Shopify Staff
40 6 19

This is an accepted solution.

Hi Camino, this is now fixed!

To learn more visit the Shopify Help Center or the Community Blog.