Section
Collection toothbrush
2 个模板实例,4 个 section 配置,4 类 block。
真实模板变体
Schema
{
"name": "Collection toothbrush",
"class": "collection-hairdryer-section",
"settings": [
{
"type": "select",
"id": "section_width",
"options": [
{
"value": "grid",
"label": "Grid"
},
{
"value": "full-width-row",
"label": "Full width"
},
{
"value": "full-width-row-full",
"label": "Full width, no spacing"
}
],
"default": "grid",
"label": "Section width"
},
{
"type": "textarea",
"id": "title",
"label": "Heading"
},
{
"type": "collection",
"id": "collection",
"label": "Collection"
},
{
"type": "color",
"id": "color_text_bg",
"label": "Highligthted text/Badge colors",
"default": "#0E98FF"
}
],
"blocks": [
{
"type": "accessories",
"name": "Accessories",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "Image"
},
{
"type": "product",
"id": "product",
"label": "Product"
},
{
"type": "textarea",
"id": "heading",
"label": "Heading"
},
{
"type": "textarea",
"id": "subheading",
"label": "Sub Heading"
},
{
"type": "checkbox",
"id": "show_save_badge",
"label": "Show save badge",
"default": false
},
{
"type": "textarea",
"id": "save_badge",
"label": "Save badge"
}
]
},
{
"type": "accessories_with_swatches",
"name": "Accessories with swatches",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "Image"
},
{
"type": "product",
"id": "product",
"label": "Product"
},
{
"type": "textarea",
"id": "heading",
"label": "Heading"
},
{
"type": "textarea",
"id": "subheading",
"label": "Sub Heading"
},
{
"type": "checkbox",
"id": "show_save_badge",
"label": "Show save badge",
"default": false
},
{
"type": "textarea",
"id": "save_badge",
"label": "Save badge"
},
{
"type": "header",
"content": "Swatches"
},
{
"type": "color_background",
"id": "c_1",
"label": "Color swatch 1",
"default": "linear-gradient(151deg, #C7302B -18.09%, #FF6963 102.26%)"
},
{
"type": "color_background",
"id": "c_2",
"label": "Color swatch 2",
"default": "linear-gradient(140deg, #FBFBFB 19.05%, #DBDBDB 134.16%)"
},
{
"type": "color_background",
"id": "c_3",
"label": "Color swatch 3",
"default": "linear-gradient(140deg, #C5C8CE 19.05%, #575B62 134.16%)"
},
{
"type": "color_background",
"id": "c_4",
"label": "Color swatch 4",
"default": "linear-gradient(151deg, #C7302B -18.09%, #FF6963 102.26%)"
},
{
"type": "color_background",
"id": "c_5",
"label": "Color swatch 5",
"default": "linear-gradient(151deg, #C7302B -18.09%, #FF6963 102.26%)"
}
]
},
{
"type": "toothbrush",
"name": "Toothbrush",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "Image"
},
{
"type": "product",
"id": "product",
"label": "Product"
},
{
"type": "url",
"id": "link",
"label": "Link"
},
{
"type": "textarea",
"id": "price_text",
"label": "Price text"
},
{
"type": "textarea",
"id": "heading",
"label": "Heading"
},
{
"type": "textarea",
"id": "subheading",
"label": "Sub Heading"
},
{
"type": "checkbox",
"id": "show_save_badge",
"label": "Show save badge",
"default": false
},
{
"type": "textarea",
"id": "save_badge",
"label": "Save badge"
},
{
"type": "header",
"content": "Swatches"
},
{
"type": "color_background",
"id": "c_1",
"label": "Color swatch 1",
"default": "linear-gradient(151deg, #C7302B -18.09%, #FF6963 102.26%)"
},
{
"type": "color_background",
"id": "c_2",
"label": "Color swatch 2",
"default": "linear-gradient(140deg, #FBFBFB 19.05%, #DBDBDB 134.16%)"
},
{
"type": "color_background",
"id": "c_3",
"label": "Color swatch 3",
"default": "linear-gradient(140deg, #C5C8CE 19.05%, #575B62 134.16%)"
},
{
"type": "color_background",
"id": "c_4",
"label": "Color swatch 4",
"default": "linear-gradient(151deg, #C7302B -18.09%, #FF6963 102.26%)"
},
{
"type": "color_background",
"id": "c_5",
"label": "Color swatch 5",
"default": "linear-gradient(151deg, #C7302B -18.09%, #FF6963 102.26%)"
}
]
},
{
"type": "card",
"name": "Card",
"limit": 1,
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "Image"
},
{
"type": "textarea",
"id": "heading",
"label": "Heading"
},
{
"type": "textarea",
"id": "subheading",
"label": "Sub Heading"
}
]
}
],
"presets": [
{
"name": "Collection toothbrush"
}
]
}