MyShopy Help Center
Help Center › Themes & templates

Setting types

Every input type you can use in a section or block schema, and what value it gives you in Liquid.

Every setting has a type, an id (used in Liquid as section.settings.<id> or block.settings.<id>), a label, and optionally a default and info (help text shown under the input).

{ "type": "range", "id": "columns", "label": "Columns", "min": 2, "max": 6, "step": 1, "default": 4, "info": "Desktop only" }

Basic inputs#

TypeEditor inputValue in LiquidExtra keys
textOne-line textString, use `\escape`placeholder
textareaMulti-line textString
numberNumber fieldNumber
rangeSliderNumbermin, max, step, unit
checkboxOn/off toggletrue / false
selectDropdownThe chosen valueoptions: [{ "value", "label" }]
colorColor picker#rrggbb (or blank)
urlLink fieldURL string
video_urlLink fieldYouTube / Vimeo URL

Rich content#

TypeEditor inputValue in Liquid
richtextFormatted text (paragraphs, bold, links)HTML, output without escape
inline_richtextFormatted text without paragraphsHTML
htmlCode boxRaw HTML
liquidCode boxLiquid source, render it with {{ section.settings.code }} in a custom-liquid-style section

Store resources#

These store the handle. Look up the object in Liquid:

TypePickerUse it like this
image_pickerUpload or paste URL`{{ section.settings.image \image_url: width: 1200 }}`
productProduct dropdown{% assign p = all_products[section.settings.product] %}
collectionCollection dropdown{% assign c = collections[section.settings.collection] %} then c.products
pagePage dropdown{{ pages[section.settings.page].content }}
link_listMenu dropdown{% for link in linklists[section.settings.menu].links %}
font_pickerFont dropdownFont family name (theme settings only)

Layout helpers (no value)#

TypeShows
headerA heading that groups the settings below it: { "type": "header", "content": "Colors" }
paragraphA short note: { "type": "paragraph", "content": "Images look best at 1600×900." }
Always guard optional values: {% if section.settings.image != blank %}…{% endif %}. A merchant may clear any setting.
Didn’t find what you need?Contact support