Thank you for helping!
So for example where would I Implement this in the following code?
{% paginate collection.products by section.settings.products_per_page %}
{% render 'collection', products: collection.products, paginate: paginate %}
{% endpaginate %}
{% schema %}
{
“name”: “t:sections.main-collection.name”,
“settings”: [
{
“type”: “header”,
“content”: “t:sections.main-collection.settings.header__1.content”
},
{
“type”: “paragraph”,
“content”: “t:sections.main-collection.settings.paragraph.content”
},
{
“type”: “checkbox”,
“id”: “show_collection_image”,
“default”: false,
“label”: “t:sections.main-collection.settings.show_collection_image.label”,
“info”: “t:sections.main-collection.settings.show_collection_image.info”
},
{
“type”: “checkbox”,
“id”: “show_collection_description”,
“label”: “t:sections.main-collection.settings.show_collection_description.label”,
“default”: true
},
{
“type”: “header”,
“content”: “t:sections.main-collection.settings.header__2.content”
},
{
“type”: “range”,
“id”: “columns_desktop”,
“min”: 1,
“max”: 6,
“step”: 1,
“default”: 4,
“label”: “t:sections.main-collection.settings.columns_desktop.label”
},
{
“type”: “range”,
“id”: “columns_tablet”,
“min”: 1,
“max”: 4,
“step”: 1,
“default”: 3,
“label”: “t:sections.main-collection.settings.columns_tablet.label”
},
{
“type”: “range”,
“id”: “columns_mobile”,
“min”: 1,
“max”: 3,
“step”: 1,
“default”: 2,
“label”: “t:sections.main-collection.settings.columns_mobile.label”
},
{
“type”: “range”,
“id”: “products_per_page”,
“min”: 8,
“max”: 24,
“step”: 4,
“default”: 12,
“label”: “t:sections.main-collection.settings.products_per_page.label”
},
{
“type”: “header”,
“content”: “t:sections.main-collection.settings.header__3.content”
},
{
“type”: “checkbox”,
“id”: “enable_filtering”,
“label”: “t:sections.main-collection.settings.enable_filtering.label”,
“info”: “t:sections.main-collection.settings.enable_filtering.info”,
“default”: false
},
{
“type”: “checkbox”,
“id”: “enable_sorting”,
“label”: “t:sections.main-collection.settings.enable_sorting.label”,
“default”: false
},
{
“type”: “checkbox”,
“id”: “show_labels”,
“label”: “t:sections.main-collection.settings.show_labels.label”,
“default”: true
},
{
“type”: “header”,
“content”: “t:sections.main-collection.settings.header__4.content”
},
{
“type”: “paragraph”,
“content”: “t:sections.main-collection.settings.paragraph.content”
},
{
“type”: “header”,
“content”: “t:sections.settings.header.content”
},
{
“type”: “checkbox”,
“id”: “show_background”,
“label”: “t:sections.settings.show_background.label”,
“default”: false
},
{
“type”: “checkbox”,
“id”: “expanded”,
“label”: “t:sections.settings.expanded.label”,
“default”: true
}
]
}
{% endschema %}