{% liquid if section.settings.collection == blank assign products = section.settings.products else assign products = collections[section.settings.collection].products endif %} {% capture empty_state %} {% unless request.page_type == 'product' %} {% for num in (1..section.settings.limit) %}
{% endfor %} {% endunless %} {% endcapture %} {% if section.settings.recommended_mode and request.page_type == 'product' %} {% endif %}Add on optional description for this section
" }, { "type": "select", "id": "header_description_font_size", "label": "Description font-size", "default": "fs-md", "options": [ { "value": "fs-sm", "label": "sm" }, { "value": "fs-md", "label": "md" }, { "value": "fs-lg", "label": "lg" }, { "value": "fs-xl", "label": "xl" }, { "value": "fs-xxl", "label": "xxl" } ] }, { "type": "header", "content": "Slider" }, { "type": "range", "id": "slider_speed", "label": "Speed", "default": 300, "min": 0, "max": 2000, "step": 100, "unit": "ms" }, { "type": "checkbox", "id": "slider_navigation", "label": "Show navigation (arrows)", "default": true }, { "type": "checkbox", "id": "slider_pagination", "label": "Show pagination", "default": true }, { "type": "select", "id": "slider_pagination_type", "label": "Pagination type", "default": "bullets", "options": [ { "value": "bullets", "label": "Bullets" }, { "value": "fraction", "label": "Fraction" } ], "info": "NOTE: This feature is supported only in our Premium Shopify Themes. [Browse premium themes](https://www.kondasoft.com/collections/shopify-themes)" }, { "type": "checkbox", "id": "slider_scrollbar", "label": "Show scrollbar", "default": true }, { "type": "checkbox", "id": "slider_partial_slides_mobile", "label": "Partial slides on mobile", "default": false, "info": "NOTE: This feature is supported only in our Premium Shopify Themes. [Browse premium themes](https://www.kondasoft.com/collections/shopify-themes)" }, { "type": "range", "id": "slider_autoplay", "label": "Autoplay", "min": 0, "max": 10, "default": 0, "unit": "sec", "info": "Selecing \"0\" will disable autoplay." }, { "type": "header", "content": "Breakpoints", "info": "Adjust items per slide based on the screen resolution" }, { "type": "range", "id": "breakpoint_mobile", "label": "Mobile (<600px)", "min": 1, "max": 3, "step": 1, "default": 1 }, { "type": "range", "id": "breakpoint_tablet", "label": "Tablet (≥600px)", "min": 1, "max": 4, "step": 1, "default": 2 }, { "type": "range", "id": "breakpoint_desktop", "label": "Desktop (≥1200px)", "min": 1, "max": 6, "step": 1, "default": 4 }, { "type": "header", "content": "Spacing" }, { "type": "range", "id": "pt", "label": "Top", "min": 0, "max": 20, "step": 1, "default": 10 }, { "type": "range", "id": "pb", "label": "Bottom", "min": 0, "max": 20, "step": 1, "default": 10 } ], "disabled_on": { "groups": ["header", "footer"] }, "presets": [ { "name": "Featured products" } ] } {% endschema %}