Smootify.getLocalization()
country, currency, language and where the store sells, once known
On this page
country, currency, language and where the store sells, once known New in 2.0.
getLocalization(): Promise<Localization>Types
Localization
/** The visitor's market: country, currency and language, and where the store sells. */
export interface Localization {
country: Country & { unitSystem: string; market: { id: string; handle: string } | null };
language: Language;
market: { id: string; handle: string };
availableCountries: (Country & { availableLanguages: Language[] })[];
availableLanguages: Language[];
}