Skip to content

number

A number field.

{
"type": "number",
"id": "products_to_show",
"label": "Products",
"default": 4
}

A number (whole numbers are integers, so they work as loop limits); nil when empty.

{% for p in collection.products limit: section.settings.products_to_show %}…{% endfor %}

Shopify: Same as Shopify.

Since theme platform 1.0.

Was this page helpful?