Variables
Last updated
Last updated
The Geolocation Button app block provides a range of customizable variables, allowing you to adjust its appearance to match your store's style and needs. These variables can display country flags, currency symbols, and other relevant details to create a localized experience for your customers.
Below is a list of available variables and examples of how to combine them to create unique button styles.
{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.
{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.
{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").
{language}
Language name (e.g., "English", "Spanish").
{language_code}
Language code in ISO 639-1 format (e.g., "en", "es").
{disclosure}
An arrow or disclosure icon indicating additional options or a dropdown menu.
{circle_flag} {country} ({currency_code})
{square_flag} {country_code}
{icon} {currency_code}
{square_flag} {currency_code} {disclosure}