Variables
The Country Selector app block comes with a set of customizable variables, letting you tailor its look and feel to fit seamlessly with your store’s design. You can display country flags, names, codes, and other details to create a clear and localized selection experience for your customers.
Below you’ll find the list of available variables and examples of how to combine them to build the selector style that best matches your brand.
Available variables
Country selector layout
Variables available for the Country selector layout.

{square_flag}
Displays a square version of the country flag.

{rounded_flag}
Shows a rounded version of the country flag.

{circle_flag}
Displays a circular version of the country flag.

{country}
Full country name (e.g., "United States").

{country_code}
2-letter ISO code of the country (e.g., "US").

{currency_symbol}
Currency symbol (e.g., "$" or "€").

{currency_code}
Abbreviated currency code (e.g., "USD" or "EUR").

{icon}
The icon you have uploaded in the icon input.

{icon_code_svg}
The SVG icon you have pasted inside the Icon (SVG code) input.

{language}
Language name (e.g., "English", "Spanish").

{language_code}
Language code in ISO 639-1 format (e.g., "en", "es").
Country dropdown layout
Variable available for the Country dropdown layout.

{square_flag}
Displays a square version of the country flag.

{rounded_flag}
Shows a rounded version of the country flag.

{circle_flag}
Displays a circular version of the country flag.

{country}
Full country name (e.g., "United States").

{country_code}
2-letter ISO code of the country (e.g., "US").

{currency_symbol}
Currency symbol (e.g., "$" or "€").

{currency_code}
Abbreviated currency code (e.g., "USD" or "EUR").
Last updated
Was this helpful?