- Getting Started
- Liquid reference
- Filters reference
- Tags reference
- Localization
- Theme structure
- Theme sections
- Theme assets
- Theme config
- Theme layout
- Theme templates
-
- article.liquid
- blog.liquid
- cart.liquid
- collection.liquid
- customer/account.liquid
- customer/addresses.liquid
- customer/details.liquid
- customer/login.liquid
- customer/order.liquid
- customer/register.liquid
- customer/reset-password.liquid
- home.liquid
- page.no-heading.liquid
- products.liquid
- search.liquid
- list-collections.liquid
- store-locator.liquid
- 404.liquid
- customer/activate_account.liquid
- customer/orders.liquid
- Submission
settings_data.json
The settings_data.json file stores the values a merchant has saved for the settings you defined in settings_schema.json. Where the schema declares which settings exist and how they appear in the theme editor, settings_data.json holds the actual chosen values.
The current object
Saved values live under the current key as a map of setting id to value. Each key matches the id of a setting defined in the schema, and each value is what the merchant selected in the theme editor.
{
"current": {
"color_text": "#333333",
"page_width": 1550,
"logo_width": 100
}
}
Reading values in Liquid
You do not read settings_data.json directly. Instead, the saved values are exposed to your templates through the settings object, keyed by setting id:
{{ settings.color_text }}
#333333
For the full list of properties available on the settings object, see the settings object reference.