--- title: LiquidFreeSettings description: >- A validation that identifies when a theme is using the Liquid tag within settings values. source_url: html: >- https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-free-settings md: >- https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-free-settings.md --- ExpandOn this page * [Examples](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-free-settings.md#examples) * [Options](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-free-settings.md#options) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-free-settings.md#disabling-this-check) # LiquidFreeSettings Ensures that themes aren't using the `{% liquid %}` tag within `Settings` values. `Settings` values can't contain Liquid logic. *** ## Examples The following examples contain code snippets that either fail or pass this check. ### ✗ Fail In the following example, the `{% liquid %}` tag is used within a `Settings` value: ```liquid {% schema %} { "name": "Section name", "settings": [ { "id": "input_with_logic", "type": "text", "label": "Input with Logic", "default": "Hello {% if user %} User {% endif %}!" } ] } {% endschema %} ``` ### ✓ Pass In the following example, the `{% liquid %}` tag isn't used within a `Settings` value: ```liquid {% schema %} { "name": "Section name", "settings": [ { "id": "input_with_logic", "type": "text", "label": "Input with Logic", "default": "Hello User!" } ] } {% endschema %} ``` *** ## Options The following example contains the default configuration for this check: ```yaml LiquidFreeSettings: enabled: true severity: warning ``` | Parameter | Description | | - | - | | `enabled` | Whether this check is enabled. | | `severity` | The [severity](https://shopify.dev/docs/storefronts/themes/tools/theme-check/configuration#check-severity) of the check. | *** ## Disabling this check Disabling this check isn't recommended. *** * [Examples](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-free-settings.md#examples) * [Options](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-free-settings.md#options) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-free-settings.md#disabling-this-check)