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.

icon-accounticon-add-newicon-add-storeicon-appicon-appleicon-archiveicon-arrowdownicon-ascicon-bookicon-cancelicon-cart-addonicon-checkouticon-cherryicon-collectionicon-comfirmicon-confirmicon-couponicon-creditsicon-currencyicon-dashboardicon-discounticon-disintegrateicon-domainicon-dscicon-duplicateicon-editicon-emailicon-exclamation-triangleicon-exporticon-eyeicon-eye-slashicon-fullscreenicon-fullscreen-closeicon-generalicon-gifticon-gridicon-hddicon-helpicon-importicon-infoicon-integrationicon-invoiceicon-likeicon-listicon-locationicon-logouticon-new-tabicon-not-secureicon-optionicon-ordericon-outline-arrowdownicon-pageicon-paymenticon-plusicon-posicon-pricingicon-printericon-producticon-product-sumicon-product-sum-xicon-redirecticon-reporticon-reseticon-searchicon-secureicon-settingicon-shippingicon-staricon-storeicon-switch-storeicon-tagicon-taxesicon-templateicon-themeicon-tickicon-trashicon-unarchiveicon-uploadicon-user-tagicon-usersicon-weighticon-wholesale