Section
Choose dryer v3
0 个模板实例,9 个 section 配置,1 类 block。
真实模板变体
当前模板未直接使用该 section。
Schema
{
"name": "Choose dryer v3",
"class": "choose-dryer-v3-section",
"settings": [
{
"type": "header",
"content": "Header"
},
{
"type": "select",
"id": "section_width",
"options": [
{
"value": "narrow",
"label": "Narrow"
},
{
"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": "checkbox",
"id": "border_radius",
"label": "Enable border radius",
"default": true
},
{
"type": "checkbox",
"id": "show_color",
"label": "变体卡片应用",
"default": true
},
{
"type": "textarea",
"id": "options_titles",
"label": "Variant titles",
"info": "Case sensitive and one variant per line"
},
{
"type": "textarea",
"id": "options_media",
"label": "Variant media name with extension",
"info": "Case sensitive and one variant image per line"
},
{
"type": "html",
"id": "heading",
"label": "Heading",
"default": "Choose your hairdryer"
},
{
"type": "color_background",
"id": "bg",
"label": "Background",
"default": "#F4F4F6"
},
{
"type": "color",
"id": "color_text_bg",
"label": "Highligthted text/Badge colors",
"default": "#0E98FF"
}
],
"blocks": [
{
"type": "block",
"name": "Product block",
"settings": [
{
"type": "text",
"id": "heading",
"label": "Product Heading"
},
{
"type": "textarea",
"id": "subheading",
"label": "Product subheading"
},
{
"type": "image_picker",
"id": "image",
"label": "Desktop image"
},
{
"type": "product",
"id": "product",
"label": "Product"
},
{
"type": "url",
"id": "link",
"label": "Custom link",
"info": "If this is present, default product link will not work."
},
{
"type": "text",
"id": "btn",
"label": "Button title",
"default": "SHOP SE"
},
{
"type": "header",
"content": "库存总量"
},
{
"type": "checkbox",
"id": "show_inventory",
"label": "显示库存条?"
},
{
"type": "range",
"id": "total_inventory",
"min": 0,
"max": 100,
"step": 1,
"unit": "%",
"label": "显示库存条",
"default": 16
},
{
"type": "text",
"id": "inventory_text",
"label": "库存文本",
"default": "Only 10 pcs left"
},
{
"type": "color",
"id": "inventory_text_color",
"label": "库存文本色",
"default": "#222"
},
{
"type": "image_picker",
"id": "inventory_icon",
"label": "Icon"
},
{
"type": "color",
"id": "inventory_bg",
"label": "背景色",
"default": "#d3dbe4"
},
{
"type": "color",
"id": "inventory_up",
"label": "库存>10",
"default": "#01aae7"
},
{
"type": "color",
"id": "inventory_down",
"label": "库存<10",
"default": "#f20000"
},
{
"type": "header",
"content": "Price Display"
},
{
"type": "checkbox",
"id": "qty",
"label": "显示数量选择器",
"default": true
},
{
"type": "checkbox",
"id": "showsave",
"label": "显示角标",
"default": true
},
{
"type": "select",
"id": "sale_badge_type",
"options": [
{
"value": "save_amount",
"label": "Save amount"
},
{
"value": "save_percentage",
"label": "Save percentage"
}
],
"default": "save_percentage",
"label": "角标类型"
},
{
"type": "text",
"id": "compare_at_price",
"label": "Compare at price"
},
{
"type": "text",
"id": "price",
"label": "Price"
},
{
"type": "select",
"id": "sale_type",
"options": [
{
"value": "save_amount",
"label": "Save amount"
},
{
"value": "save_percentage",
"label": "Save percentage"
}
],
"default": "save_amount",
"label": "节省类型"
}
]
}
],
"presets": [
{
"name": "Choose dryer v3"
}
]
}