Section
Campaign Accessory
1 个模板实例,17 个 section 配置,2 类 block。
真实模板变体
Schema
{
"name": "Campaign Accessory",
"class": "cmp-acc-section",
"settings": [
{
"type": "text",
"id": "heading",
"label": "Heading",
"info": "1–80 characters",
"default": "$0.99 Accessory Unlock"
},
{
"type": "text",
"id": "badge_exclusive",
"label": "Badge: Email Exclusive",
"info": "1–30 characters",
"default": "EMAIL EXCLUSIVE"
},
{
"type": "text",
"id": "badge_limited",
"label": "Badge: Limited Time",
"info": "1–30 characters",
"default": "LIMITED TIME"
},
{
"type": "textarea",
"id": "description",
"label": "Description",
"info": "0–240 characters",
"default": "Subscribe to unlock exclusive accessories at just $0.99 each."
},
{
"type": "header",
"content": "Three-Step Process"
},
{
"type": "text",
"id": "step_1",
"label": "Step 1 label",
"info": "Maximum 60 characters",
"default": "Subscribe (Jun 1-7)"
},
{
"type": "text",
"id": "step_2",
"label": "Step 2 label",
"info": "Maximum 60 characters",
"default": "Get Link (Jun 8)"
},
{
"type": "text",
"id": "step_3",
"label": "Step 3 label",
"info": "Maximum 60 characters",
"default": "Pay $0.99 (Checkout)"
},
{
"type": "header",
"content": "End Note"
},
{
"type": "text",
"id": "end_note",
"label": "End note",
"info": "1–120 characters",
"default": "Ends June 22. Limited quantities."
},
{
"type": "header",
"content": "Email Form"
},
{
"type": "text",
"id": "success_message",
"label": "Success message",
"info": "1–120 characters",
"default": "Submitted! Check your inbox for the link."
},
{
"type": "text",
"id": "klaviyo_company_id",
"label": "Klaviyo Company ID",
"info": "Maximum 32 characters. Your Klaviyo Public API Key."
},
{
"type": "text",
"id": "klaviyo_list_id",
"label": "Klaviyo List ID",
"info": "Exactly 6 characters."
},
{
"type": "header",
"content": "View More / View Less"
},
{
"type": "text",
"id": "view_more_label",
"label": "View More label",
"info": "Maximum 30 characters",
"default": "View More"
},
{
"type": "text",
"id": "view_less_label",
"label": "View Less label",
"info": "Maximum 30 characters",
"default": "View Less"
}
],
"blocks": [
{
"type": "accessory_category",
"name": "Accessory Category",
"limit": 10,
"settings": [
{
"type": "text",
"id": "label",
"label": "Category label",
"info": "1–50 characters"
},
{
"type": "select",
"id": "icon_name",
"label": "Category icon",
"options": [
{
"value": "",
"label": "None"
},
{
"value": "wind",
"label": "Wind (Hair Dryer)"
},
{
"value": "sparkles",
"label": "Sparkles (Toothbrush)"
},
{
"value": "zap",
"label": "Zap (Shaver)"
}
],
"default": ""
}
]
},
{
"type": "accessory_card",
"name": "Accessory Card",
"settings": [
{
"type": "number",
"id": "category_index",
"label": "Category index",
"info": "1-based index matching the category tab this accessory belongs to.",
"default": 1
},
{
"type": "text",
"id": "item_id",
"label": "Item ID",
"info": "Unique identifier for the accessory card"
},
{
"type": "image_picker",
"id": "image",
"label": "Accessory image"
},
{
"type": "text",
"id": "image_url",
"label": "Accessory image URL (external)",
"info": "Optional external CDN URL. Takes precedence over Accessory image when set."
},
{
"type": "text",
"id": "image_alt",
"label": "Image alt text",
"info": "1–250 characters"
},
{
"type": "text",
"id": "tag",
"label": "Tag badge text",
"info": "0–30 characters"
},
{
"type": "text",
"id": "name",
"label": "Accessory name",
"info": "1–100 characters"
},
{
"type": "range",
"id": "rating",
"label": "Star rating",
"min": 0,
"max": 50,
"step": 1,
"default": 45,
"info": "Divide by 10 for display (e.g. 45 = 4.5 stars)"
},
{
"type": "number",
"id": "review_count",
"label": "Review count",
"info": "0–999999",
"default": 0
},
{
"type": "text",
"id": "feature_1",
"label": "Feature bullet 1",
"info": "1–120 characters"
},
{
"type": "text",
"id": "feature_2",
"label": "Feature bullet 2",
"info": "1–120 characters"
},
{
"type": "text",
"id": "feature_3",
"label": "Feature bullet 3",
"info": "1–120 characters"
},
{
"type": "text",
"id": "feature_4",
"label": "Feature bullet 4",
"info": "1–120 characters"
},
{
"type": "text",
"id": "price",
"label": "Price",
"info": "1–20 characters",
"default": "$0.99"
},
{
"type": "text",
"id": "original_price",
"label": "Original price (strikethrough)",
"info": "0–20 characters. Leave empty to hide."
},
{
"type": "url",
"id": "target_url",
"label": "Accessory URL"
}
]
}
],
"presets": [
{
"name": "Campaign Accessory",
"blocks": [
{
"type": "accessory_category",
"settings": {
"label": "Hair Dryer Accessory"
}
},
{
"type": "accessory_category",
"settings": {
"label": "Toothbrush Accessory"
}
},
{
"type": "accessory_category",
"settings": {
"label": "Shaver Accessory"
}
}
]
}
]
}