Settings
The following is a list of li-settings
modifiers available in Liquify Pro. Each modifier provides different input types in the Shopify editor. Shopify also offers additional input types. To use those, refer to the custom settings attribute documentation.
Text Input
This attribute creates a simple string input in the Shopify Theme Editor. The text of the element will be used as the default text of the attribute. The value of the attribute will be used as the label of the setting.
li-settings:text = Heading
Shopify
Textarea Input
This attribute creates a simple string input in the Shopify Theme Editor. The content of the element with this attribute will be used as the default value of the setting in the Shopify Theme Editor. The value of the attribute itself will be used as the setting’s label in the editor.
li-settings:textarea = Welcome message
Shopify
Richtext Input
This attribute creates a multi-line text field with basic formatting options in the Shopify Theme Editor. The content of the element with this attribute will be used as the default value of the setting. The value of the attribute itself will be used as the setting’s label in the editor.
li-settings:richtext = Heading
Shopify
Image Input
This attribute creates an image picker field that automatically lists available images from the Files section in the Shopify admin, with the option to upload new ones. The value of the attribute will be used as the setting’s label in the editor.
li-settings:image = Image
Shopify
url Input
This attribute creates a field for entering external URLs or relative paths from your Shopify theme manually. The value of the attribute itself will be used as the setting’s label in the editor.
li-settings:url = Button Link
Shopify
Checkbox
The checkbox attribute displays a checkbox input. It’s useful for enabling or disabling features, such as showing an announcement bar. The value of the attribute itself will be used as the setting’s label in the editor.
li-settings:checkbox = Show announcement
Shopify
Collection Input
A collection setting displays a picker field that automatically lists all available collections in the store. Apply this to a product item to iterate over the collection products. The value of the attribute itself will be used as the setting’s label in the editor.
li-settings:collection = Collection
Shopify
Blog
A blog setting displays a picker field that automatically shows all available blogs in the store. The value of the attribute itself will be used as the setting’s label in the editor.
li-settings:blog = Blog
Shopify
Article
An article setting displays a picker field that automatically lists all available articles in the store. The value of the attribute itself will be used as the setting’s label in the editor.
li-settings:article = Article
Shopify
Product
A product setting displays a picker field that automatically lists all available products in the store. The value of the attribute itself will be used as the setting’s label in the editor.
li-settings:product = Product
Shopify
HTML Input
An html setting provides a multi-line text field where you can enter HTML markup. The value of the attribute itself will be used as the setting’s label in the editor.
li-settings:html = Video embed
Shopify
Last updated
Was this helpful?