Multicurrency with custom fields

Hey guys, do any one of you know if it’s possible to use custom fields with multicurrency? Like with additional price…

Example:
“Large” option will increment the price by “10 USD” OR “2 EUR”

So, from this: Small|Large[+10.00]
To this (which doesn’t work): Small|Large[{ "USD": "+10.00", "EUR": "+2.00" }]

If we can’t do this like this, will the following workaround work?

/product/1.json?currency=USD will return the product JSON in USD, and custom fields will have the correct USD price.
Small|Large[+10.00]

and /product/1.json?currency=EUR will return product JSON in EUR
Small|Large[+2.00]

Will the order validation work correctly, provided I’ve set up the backend to handle currency based responses?

While I’m at it, just a small question. Are there any better docs available for JSON crawler? I’m not able to find a complete JSON crawler API reference, like which fields are available. Variants, variant weight/dimension, shippable, payment interval, etc.

Thanks!

Just an update after I did some testing:

Multi-currency URL-based solution does work! But still, it’d be nice to have customField prices in JSON format as well to support multicurrency like this:
Small|Large[{ "USD": "+10.00", "EUR": "+2.00" }]

This can be marked as resolved!

1 Like

I’m wondering how you were able to solve this. Help would be very much appreciated. Thanks