New fields on Country Liquid object
API
Effective October 23, 2023
We've added the available_languages
, continent
and popular?
properties on the country
object in Liquid.
You can now access the languages that have been added to the market that a country belongs to, the country's translated continent name, and whether the country is a popular one amongst those that the shop sells to.
These properties provide flexibility when building a localization switcher, allowing customers to switch country and language simultaneously and allowing for grouping or sorting countries in a theme's country selector
Learn more about these new fields in the dev docs.