Section
Comparison Table v3
3 个模板实例,30 个 section 配置,1 类 block。
真实模板变体
Schema
{
"name": "Comparison Table v3",
"class": "comparison-table-v1-section",
"settings": [
{
"type": "header",
"content": "Discount"
},
{
"type": "number",
"id": "discount_amount",
"label": "Discount Amount",
"info": "in percentage"
},
{
"type": "text",
"id": "discount_code",
"label": "Discount Code"
},
{
"type": "product",
"id": "popup_product",
"label": "Popup Product"
},
{
"type": "textarea",
"id": "options_titles",
"label": "Option titles"
},
{
"type": "textarea",
"id": "options_media",
"label": "Option media"
},
{
"type": "select",
"id": "display",
"label": "Display on:",
"options": [
{
"value": "desktop",
"label": "Desktop"
},
{
"value": "mobile",
"label": "Mobile"
},
{
"value": "both",
"label": "Both"
}
]
},
{
"type": "textarea",
"id": "title",
"label": "Title"
},
{
"type": "header",
"content": "Products"
},
{
"type": "image_picker",
"id": "product_1_image",
"label": "Product 1 Image"
},
{
"type": "checkbox",
"id": "product_1_highlight",
"label": "Highlight this"
},
{
"type": "textarea",
"id": "product_1_title",
"label": "Product 1 Title"
},
{
"type": "url",
"id": "product_1_url",
"label": "Product 1 URL"
},
{
"type": "image_picker",
"id": "product_2_image",
"label": "Product 2 Image"
},
{
"type": "checkbox",
"id": "product_2_highlight",
"label": "Highlight this"
},
{
"type": "textarea",
"id": "product_2_title",
"label": "Product 2 Title"
},
{
"type": "url",
"id": "product_2_url",
"label": "Product 2 URL"
},
{
"type": "image_picker",
"id": "product_3_image",
"label": "Product 3 Image"
},
{
"type": "checkbox",
"id": "product_3_highlight",
"label": "Highlight this"
},
{
"type": "textarea",
"id": "product_3_title",
"label": "Product 3 Title"
},
{
"type": "url",
"id": "product_3_url",
"label": "Product 3 URL"
},
{
"type": "image_picker",
"id": "product_4_image",
"label": "Product 4 Image"
},
{
"type": "checkbox",
"id": "product_4_highlight",
"label": "Highlight this"
},
{
"type": "textarea",
"id": "product_4_title",
"label": "Product 4 Title"
},
{
"type": "url",
"id": "product_4_url",
"label": "Product 4 URL"
},
{
"type": "header",
"content": "Buttons"
},
{
"type": "text",
"id": "button_1_text",
"label": "Button 1 Text"
},
{
"type": "url",
"id": "button_1_url",
"label": "Button 1 URL"
},
{
"type": "text",
"id": "button_2_text",
"label": "Button 2 Text"
},
{
"type": "url",
"id": "button_2_url",
"label": "Button 2 URL"
}
],
"blocks": [
{
"type": "row",
"name": "Row",
"settings": [
{
"type": "text",
"id": "title",
"label": "Feature"
},
{
"type": "textarea",
"id": "product_1",
"label": "Product 1"
},
{
"type": "textarea",
"id": "product_2",
"label": "Product 2"
},
{
"type": "textarea",
"id": "product_3",
"label": "Product 3"
},
{
"type": "textarea",
"id": "product_4",
"label": "Product 4"
}
]
}
],
"presets": [
{
"name": "Comparison Table v3",
"category": "Text"
}
]
}