Section
Combo Discount
0 个模板实例,8 个 section 配置,3 类 block。
真实模板变体
当前模板未直接使用该 section。
Schema
{
"name": "Combo Discount",
"tag": "section",
"class": "section",
"settings": [
{
"type": "inline_richtext",
"id": "heading",
"default": " Combo Discount Name",
"label": "Heading"
},
{
"type": "range",
"id": "discount",
"default": 0,
"min": 0,
"max": 100,
"step": 1,
"unit": "%",
"label": "discount"
},
{
"type": "collection",
"id": "collection_buy",
"label": "collection buy"
},
{
"type": "collection",
"id": "collection_get",
"label": "collection get"
},
{
"type": "checkbox",
"id": "reverse",
"label": "reverse"
},
{
"type": "color",
"id": "color",
"default": "#000000",
"label": "选颜色"
},
{
"type": "range",
"id": "padding_top",
"min": 0,
"max": 100,
"step": 4,
"unit": "px",
"label": "padding_top",
"default": 40
},
{
"type": "range",
"id": "padding_bottom",
"min": 0,
"max": 100,
"step": 4,
"unit": "px",
"label": "padding_bottom",
"default": 52
}
],
"blocks": [
{
"type": "tab",
"name": "tab_label",
"settings": [
{
"type": "inline_richtext",
"id": "tab",
"default": "Tab Label",
"label": "tab label"
}
]
},
{
"type": "cart",
"name": "button cart",
"settings": [
{
"type": "inline_richtext",
"id": "text",
"default": "Add to Cart",
"label": "button"
}
]
},
{
"type": "checkout",
"name": "button checkout",
"settings": [
{
"type": "inline_richtext",
"id": "text",
"default": "Checkout",
"label": "button"
}
]
}
],
"presets": [
{
"name": "Combo Discount",
"blocks": [
{
"type": "cart"
}
]
}
]
}