List of values for: Country.Unit_System please?

Solved
joestephenson
Visitor
3 0 0

I have tried to implement {{ localization.country.unit_system }} but noticed that for the UK/GB, the unit system is listed as imperial which is incorrect. Has anyone got a list of values so that I can see if there are any others that look wrong?

Accepted Solution (1)
SB_90
Shopify Partner
215 52 65

This is an accepted solution.

This GraphQL query on the Storefront API seems to do it:

 

query {
  localization {
    availableCountries {
      name
      unitSystem
    }
  }
}

 

 

I didn't want to paste the whole json on this thread but here's a github Gist of the results: 

https://gist.github.com/sambarnes90/227bb1bcf8b428c08b123f0170d074cb 

View solution in original post

Replies 2 (2)
SB_90
Shopify Partner
215 52 65

This is an accepted solution.

This GraphQL query on the Storefront API seems to do it:

 

query {
  localization {
    availableCountries {
      name
      unitSystem
    }
  }
}

 

 

I didn't want to paste the whole json on this thread but here's a github Gist of the results: 

https://gist.github.com/sambarnes90/227bb1bcf8b428c08b123f0170d074cb 

joestephenson
Visitor
3 0 0

Thank you!!

 

Still not sure why UK is listed as Imperial but thanks for the list query!