Skip to content

country object ​

Last updated View as Markdown

A country, from localization.

Properties ​


NameTypeDescription
iso_codestringTwo-letter country code, for example MA
namestringCountry name in the store language
currencycurrency objectThe currency that prices are shown in for this country
popular?booleanAlways false

When you print a country object, you get its iso_code.