Section
Early Bird Product
2 个模板实例,30 个 section 配置,1 类 block。
真实模板变体
Schema
{
"name": "Early Bird Product",
"tag": "section",
"class": "section-early-bird-product",
"settings": [
{
"type": "text",
"id": "section_id",
"label": "Section ID",
"default": "early-bird-product"
},
{
"type": "header",
"content": "Product Settings"
},
{
"type": "checkbox",
"id": "use_product_data",
"label": "Use product data",
"default": false,
"info": "Automatically use product information when available"
},
{
"type": "product",
"id": "featured_product",
"label": "Featured product",
"info": "Select a product to display. Product data will override manual settings if enabled above."
},
{
"type": "header",
"content": "Media"
},
{
"type": "image_picker",
"id": "image",
"label": "Image",
"info": "1080 x 1080 .jpg recommended"
},
{
"type": "select",
"id": "aspect_ratio",
"label": "Image aspect ratio",
"options": [
{
"value": "adapt",
"label": "Adapt to image"
},
{
"value": "square",
"label": "Square"
},
{
"value": "landscape",
"label": "Landscape"
},
{
"value": "portrait",
"label": "Portrait"
}
],
"default": "square"
},
{
"type": "select",
"id": "image_position",
"label": "Image position",
"options": [
{
"value": "image-left",
"label": "Left"
},
{
"value": "image-right",
"label": "Right"
}
],
"default": "image-left"
},
{
"type": "header",
"content": "Content"
},
{
"type": "text",
"id": "label_text",
"label": "Label text",
"default": "NEW RELEASE",
"info": "Small label above the heading"
},
{
"type": "color",
"id": "label_color",
"label": "Label background color",
"default": "#AA84DA"
},
{
"type": "text",
"id": "heading",
"label": "Heading",
"default": "Amazing New Product"
},
{
"type": "text",
"id": "subheading",
"label": "Subheading",
"default": "Clean Before You Even Notice."
},
{
"type": "text",
"id": "current_price",
"label": "Current price",
"default": "$929.99",
"info": "Display the current promotional price"
},
{
"type": "text",
"id": "compare_price",
"label": "Compare at price",
"default": "$1,499.99",
"info": "Original price with strikethrough"
},
{
"type": "richtext",
"id": "description",
"label": "Description",
"default": "<ul><li>Amazing feature 1</li><li>Incredible feature 2</li><li>Revolutionary feature 3</li></ul>"
},
{
"type": "header",
"content": "Buttons"
},
{
"type": "text",
"id": "primary_button_text",
"label": "Primary button text",
"default": "Buy Now"
},
{
"type": "url",
"id": "primary_button_link",
"label": "Primary button link"
},
{
"type": "text",
"id": "secondary_button_text",
"label": "Secondary button text",
"default": "Buy on Amazon"
},
{
"type": "url",
"id": "secondary_button_link",
"label": "Secondary button link"
},
{
"type": "header",
"content": "Layout"
},
{
"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": "select",
"id": "color_scheme",
"label": "Color scheme",
"options": [
{
"value": "light",
"label": "Light"
},
{
"value": "dark",
"label": "Dark"
}
],
"default": "dark"
},
{
"type": "select",
"id": "theme_style",
"label": "Theme style",
"options": [
{
"value": "boxed",
"label": "Boxed (dark hero)"
},
{
"value": "hero",
"label": "Hero (light card)"
}
],
"default": "boxed",
"info": "Choose visual style to match design mockups"
},
{
"type": "header",
"content": "Animations"
},
{
"type": "checkbox",
"id": "enable_animations",
"label": "Enable scroll animations",
"default": true
},
{
"type": "header",
"content": "Spacing"
},
{
"type": "checkbox",
"id": "disable_top_spacing",
"default": false,
"label": "Remove top spacing"
},
{
"type": "checkbox",
"id": "disable_bottom_spacing",
"default": false,
"label": "Remove bottom spacing"
}
],
"blocks": [
{
"type": "feature",
"name": "Feature",
"settings": [
{
"type": "image_picker",
"id": "icon",
"label": "Feature icon",
"info": "24x24px icon recommended (optional)"
},
{
"type": "text",
"id": "text",
"label": "Feature text",
"default": "Amazing feature"
}
]
}
],
"presets": [
{
"name": "Early Bird Product",
"blocks": [
{
"type": "feature",
"settings": {
"text": "Hyper Precise Obstacle Avoidance"
}
},
{
"type": "feature",
"settings": {
"text": "Real-Time Cleaning Decisions"
}
},
{
"type": "feature",
"settings": {
"text": "Ultra-Quiet All-in-One Base Station"
}
},
{
"type": "feature",
"settings": {
"text": "12,000 Pa Suction Power"
}
},
{
"type": "feature",
"settings": {
"text": "Dual Scrubbing Mops"
}
}
]
}
]
}