Theme Block
Product bundle
62 个配置项,0 类嵌套 block。
Schema
{
"name": "Product bundle",
"settings": [
{
"type": "header",
"content": "Content"
},
{
"type": "text",
"id": "title",
"label": "Title",
"default": "Complete Your Look"
},
{
"type": "textarea",
"id": "subtitle",
"label": "Subtitle",
"default": "Get everything you need with our curated bundle"
},
{
"type": "image_picker",
"id": "lifestyle_image",
"label": "Lifestyle image"
},
{
"type": "header",
"content": "Product1"
},
{
"type": "product",
"id": "product_1",
"label": "Product"
},
{
"type": "text",
"id": "product_1_name",
"label": "Custom product name"
},
{
"type": "textarea",
"id": "product_1_description",
"label": "Custom description"
},
{
"type": "text",
"id": "product_1_original_price",
"label": "Original price"
},
{
"type": "text",
"id": "product_1_discount_price",
"label": "Discount price"
},
{
"type": "text",
"id": "product_1_discount_text",
"label": "Discount badge text"
},
{
"type": "header",
"content": "Product 2"
},
{
"type": "product",
"id": "product_2",
"label": "Product"
},
{
"type": "text",
"id": "product_2_name",
"label": "Custom product name"
},
{
"type": "textarea",
"id": "product_2_description",
"label": "Custom description"
},
{
"type": "text",
"id": "product_2_original_price",
"label": "Original price"
},
{
"type": "text",
"id": "product_2_discount_price",
"label": "Discount price"
},
{
"type": "text",
"id": "product_2_discount_text",
"label": "Discount badge text"
},
{
"type": "header",
"content": "Product 3"
},
{
"type": "product",
"id": "product_3",
"label": "Product"
},
{
"type": "text",
"id": "product_3_name",
"label": "Custom product name"
},
{
"type": "textarea",
"id": "product_3_description",
"label": "Custom description"
},
{
"type": "text",
"id": "product_3_original_price",
"label": "Original price"
},
{
"type": "text",
"id": "product_3_discount_price",
"label": "Discount price"
},
{
"type": "text",
"id": "product_3_discount_text",
"label": "Discount badge text"
},
{
"type": "header",
"content": "Total pricing"
},
{
"type": "text",
"id": "total_label",
"label": "Total label",
"default": "Bundle Total:"
},
{
"type": "text",
"id": "savings_text",
"label": "Savings text",
"default": "You save:"
},
{
"type": "header",
"content": "Button"
},
{
"type": "text",
"id": "button_text",
"label": "Button text",
"default": "Buy Now"
},
{
"type": "url",
"id": "button_link",
"label": "Button link"
},
{
"type": "header",
"content": "Colors"
},
{
"type": "color",
"id": "background_color",
"label": "Background",
"default": "#ffffff"
},
{
"type": "color",
"id": "title_color",
"label": "Title",
"default": "#000000"
},
{
"type": "color",
"id": "subtitle_color",
"label": "Subtitle",
"default": "#666666"
},
{
"type": "color",
"id": "card_background_color",
"label": "Card background",
"default": "#ffffff"
},
{
"type": "color",
"id": "card_border_color",
"label": "Card border",
"default": "#e5e5e5"
},
{
"type": "color",
"id": "product_name_color",
"label": "Product name",
"default": "#000000"
},
{
"type": "color",
"id": "product_description_color",
"label": "Product description",
"default": "#666666"
},
{
"type": "color",
"id": "price_color",
"label": "Price",
"default": "#000000"
},
{
"type": "color",
"id": "checkmark_color",
"label": "Checkmark",
"default": "#007bff"
},
{
"type": "color",
"id": "discount_badge_color",
"label": "Discount badge background",
"default": "#ff4444"
},
{
"type": "color",
"id": "discount_badge_text_color",
"label": "Discount badge text",
"default": "#ffffff"
},
{
"type": "color",
"id": "total_background_color",
"label": "Total background",
"default": "#f8f9fa"
},
{
"type": "color",
"id": "total_border_color",
"label": "Total border",
"default": "#007bff"
},
{
"type": "color",
"id": "total_label_color",
"label": "Total label",
"default": "#666666"
},
{
"type": "color",
"id": "total_price_color",
"label": "Total price",
"default": "#000000"
},
{
"type": "color",
"id": "savings_color",
"label": "Savings text",
"default": "#28a745"
},
{
"type": "color",
"id": "button_color",
"label": "Button background",
"default": "#000000"
},
{
"type": "color",
"id": "button_hover_color",
"label": "Button hover background",
"default": "#333333"
},
{
"type": "color",
"id": "button_text_color",
"label": "Button text",
"default": "#ffffff"
},
{
"type": "header",
"content": "Typography"
},
{
"type": "range",
"id": "title_size",
"label": "Title size",
"min": 20,
"max": 60,
"step": 2,
"unit": "px",
"default": 32
},
{
"type": "range",
"id": "subtitle_size",
"label": "Subtitle size",
"min": 12,
"max": 24,
"step": 1,
"unit": "px",
"default": 16
},
{
"type": "range",
"id": "total_label_size",
"label": "Total label size",
"min": 14,
"max": 24,
"step": 1,
"unit": "px",
"default": 18
},
{
"type": "range",
"id": "total_price_size",
"label": "Total price size",
"min": 20,
"max": 40,
"step": 2,
"unit": "px",
"default": 28
},
{
"type": "range",
"id": "button_font_size",
"label": "Button font size",
"min": 12,
"max": 20,
"step": 1,
"unit": "px",
"default": 16
},
{
"type": "header",
"content": "Layout"
},
{
"type": "range",
"id": "section_padding",
"label": "Section padding",
"min": 20,
"max": 100,
"step": 5,
"unit": "px",
"default": 60
},
{
"type": "range",
"id": "image_border_radius",
"label": "Image border radius",
"min": 0,
"max": 30,
"step": 2,
"unit": "px",
"default": 12
},
{
"type": "range",
"id": "card_border_radius",
"label": "Card border radius",
"min": 0,
"max": 30,
"step": 2,
"unit": "px",
"default": 12
},
{
"type": "range",
"id": "button_border_radius",
"label": "Button border radius",
"min": 0,
"max": 30,
"step": 2,
"unit": "px",
"default": 8
}
],
"blocks": [],
"presets": [
{
"name": "Product bundle"
}
]
}