Theme Block
Exclusive offers
79 个配置项,0 类嵌套 block。
Schema
{
"name": "Exclusive offers",
"settings": [
{
"type": "header",
"content": "Content"
},
{
"type": "text",
"id": "title",
"label": "Title",
"default": "Exclusive Offers"
},
{
"type": "text",
"id": "subtitle",
"label": "Subtitle",
"default": "Discover amazing deals and rewards designed just for you"
},
{
"type": "header",
"content": "Offer 1"
},
{
"type": "checkbox",
"id": "offer_1_enabled",
"label": "Enable offer 1",
"default": true
},
{
"type": "text",
"id": "offer_1_title",
"label": "Title",
"default": "Welcome Offer"
},
{
"type": "richtext",
"id": "offer_1_description",
"label": "Description",
"default": "<p>New customers get <strong>15% off</strong> after signing up</p>"
},
{
"type": "select",
"id": "offer_1_link_type",
"label": "Link type",
"options": [
{
"value": "modal",
"label": "Show modal"
},
{
"value": "url",
"label": "Go to URL"
}
],
"default": "modal"
},
{
"type": "url",
"id": "offer_1_url",
"label": "URL"
},
{
"type": "richtext",
"id": "offer_1_modal_description",
"label": "Modal description",
"default": "<p>Join our community and enjoy an exclusive <strong>15% discount</strong> on your first purchase. This offer is valid for 30 days after registration and can be applied to any product in our store. Simply create an account and the discount will be automatically applied at checkout.</p>"
},
{
"type": "header",
"content": "Offer 2"
},
{
"type": "checkbox",
"id": "offer_2_enabled",
"label": "Enable offer 2",
"default": true
},
{
"type": "text",
"id": "offer_2_title",
"label": "Title",
"default": "Military and Nurses"
},
{
"type": "richtext",
"id": "offer_2_description",
"label": "Description",
"default": "<p><strong>20% discount</strong> for military personnel and first responders</p>"
},
{
"type": "select",
"id": "offer_2_link_type",
"label": "Link type",
"options": [
{
"value": "modal",
"label": "Show modal"
},
{
"value": "url",
"label": "Go to URL"
}
],
"default": "modal"
},
{
"type": "url",
"id": "offer_2_url",
"label": "URL"
},
{
"type": "richtext",
"id": "offer_2_modal_description",
"label": "Modal description",
"default": "<p>We honor those who serve our communities. Military personnel, veterans, nurses, and first responders receive a <strong>20% discount</strong> on all purchases. Verification is required through our partner service. This discount can be combined with sale prices but not with other promotional codes.</p>"
},
{
"type": "header",
"content": "Offer 3"
},
{
"type": "checkbox",
"id": "offer_3_enabled",
"label": "Enable offer 3",
"default": true
},
{
"type": "text",
"id": "offer_3_title",
"label": "Title",
"default": "Education Offer"
},
{
"type": "richtext",
"id": "offer_3_description",
"label": "Description",
"default": "<p><strong>10% discount</strong> for teachers and students</p>"
},
{
"type": "select",
"id": "offer_3_link_type",
"label": "Link type",
"options": [
{
"value": "modal",
"label": "Show modal"
},
{
"value": "url",
"label": "Go to URL"
}
],
"default": "modal"
},
{
"type": "url",
"id": "offer_3_url",
"label": "URL"
},
{
"type": "richtext",
"id": "offer_3_modal_description",
"label": "Modal description",
"default": "<p>Supporting education is important to us. Teachers, students, and educational staff receive a <strong>10% discount</strong> on all products. Valid student or faculty ID required for verification. This offer is available year-round and can be renewed annually.</p>"
},
{
"type": "header",
"content": "Offer 4"
},
{
"type": "checkbox",
"id": "offer_4_enabled",
"label": "Enable offer 4",
"default": true
},
{
"type": "text",
"id": "offer_4_title",
"label": "Title",
"default": "Business Deals"
},
{
"type": "richtext",
"id": "offer_4_description",
"label": "Description",
"default": "<p>Up to <strong>25% off</strong> on bulk orders</p>"
},
{
"type": "select",
"id": "offer_4_link_type",
"label": "Link type",
"options": [
{
"value": "modal",
"label": "Show modal"
},
{
"value": "url",
"label": "Go to URL"
}
],
"default": "modal"
},
{
"type": "url",
"id": "offer_4_url",
"label": "URL"
},
{
"type": "richtext",
"id": "offer_4_modal_description",
"label": "Modal description",
"default": "<p>Bulk purchasing for businesses, schools, or organizations qualifies for volume discounts up to <strong>25% off</strong>. Minimum order quantities apply. Contact our business sales team for custom quotes and extended payment terms. Special pricing available for resellers.</p>"
},
{
"type": "header",
"content": "Offer 5"
},
{
"type": "checkbox",
"id": "offer_5_enabled",
"label": "Enable offer 5",
"default": true
},
{
"type": "text",
"id": "offer_5_title",
"label": "Title",
"default": "Member Points"
},
{
"type": "richtext",
"id": "offer_5_description",
"label": "Description",
"default": "<p>Collect <strong>AnkerCredits</strong> to redeem rewards and gifts</p>"
},
{
"type": "select",
"id": "offer_5_link_type",
"label": "Link type",
"options": [
{
"value": "modal",
"label": "Show modal"
},
{
"value": "url",
"label": "Go to URL"
}
],
"default": "modal"
},
{
"type": "url",
"id": "offer_5_url",
"label": "URL"
},
{
"type": "richtext",
"id": "offer_5_modal_description",
"label": "Modal description",
"default": "<p>Earn <strong>AnkerCredits</strong> with every purchase and activity. Points can be redeemed for discounts, exclusive products, and special gifts. Members also get early access to sales, free shipping on orders over $35, and birthday rewards. Join today and start earning immediately.</p>"
},
{
"type": "header",
"content": "Offer 6"
},
{
"type": "checkbox",
"id": "offer_6_enabled",
"label": "Enable offer 6",
"default": true
},
{
"type": "text",
"id": "offer_6_title",
"label": "Title",
"default": "Refer a Friend"
},
{
"type": "richtext",
"id": "offer_6_description",
"label": "Description",
"default": "<p>Both parties receive <strong>10% off</strong> after successful referral</p>"
},
{
"type": "select",
"id": "offer_6_link_type",
"label": "Link type",
"options": [
{
"value": "modal",
"label": "Show modal"
},
{
"value": "url",
"label": "Go to URL"
}
],
"default": "modal"
},
{
"type": "url",
"id": "offer_6_url",
"label": "URL"
},
{
"type": "richtext",
"id": "offer_6_modal_description",
"label": "Modal description",
"default": "<p>Share the love and save together. When you refer a friend who makes their first purchase, both you and your friend receive <strong>10% off</strong> your next orders. There is no limit to how many friends you can refer. Referral bonuses are automatically applied to your accounts.</p>"
},
{
"type": "header",
"content": "Offer 7"
},
{
"type": "checkbox",
"id": "offer_7_enabled",
"label": "Enable offer 7",
"default": true
},
{
"type": "text",
"id": "offer_7_title",
"label": "Title",
"default": "Gift Cards"
},
{
"type": "richtext",
"id": "offer_7_description",
"label": "Description",
"default": "<p>Personalized options ranging from <strong>$50 to $500</strong></p>"
},
{
"type": "select",
"id": "offer_7_link_type",
"label": "Link type",
"options": [
{
"value": "modal",
"label": "Show modal"
},
{
"value": "url",
"label": "Go to URL"
}
],
"default": "modal"
},
{
"type": "url",
"id": "offer_7_url",
"label": "URL"
},
{
"type": "richtext",
"id": "offer_7_modal_description",
"label": "Modal description",
"default": "<p>Perfect for any occasion, our digital gift cards are available in denominations from <strong>$50 to $500</strong>. They can be personalized with custom messages and delivered via email. Gift cards never expire and can be used for any product on our website.</p>"
},
{
"type": "header",
"content": "Offer 8"
},
{
"type": "checkbox",
"id": "offer_8_enabled",
"label": "Enable offer 8",
"default": true
},
{
"type": "text",
"id": "offer_8_title",
"label": "Title",
"default": "Affiliate Program"
},
{
"type": "richtext",
"id": "offer_8_description",
"label": "Description",
"default": "<p><strong>8% commission</strong> for sharing and promoting products</p>"
},
{
"type": "select",
"id": "offer_8_link_type",
"label": "Link type",
"options": [
{
"value": "modal",
"label": "Show modal"
},
{
"value": "url",
"label": "Go to URL"
}
],
"default": "modal"
},
{
"type": "url",
"id": "offer_8_url",
"label": "URL"
},
{
"type": "richtext",
"id": "offer_8_modal_description",
"label": "Modal description",
"default": "<p>Join our affiliate program and earn <strong>8% commission</strong> on every sale you generate. We provide marketing materials, tracking links, and detailed analytics. Payments are made monthly via PayPal or bank transfer. Perfect for bloggers, influencers, and content creators.</p>"
},
{
"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": "list_background_color",
"label": "List background",
"default": "#ffffff"
},
{
"type": "color",
"id": "offer_title_color",
"label": "Offer title",
"default": "#000000"
},
{
"type": "color",
"id": "description_color",
"label": "Description",
"default": "#666666"
},
{
"type": "color",
"id": "highlight_color",
"label": "Highlight",
"default": "#ff6b35"
},
{
"type": "color",
"id": "arrow_color",
"label": "Arrow",
"default": "#999999"
},
{
"type": "color",
"id": "divider_color",
"label": "Divider",
"default": "#e5e5e5"
},
{
"type": "color",
"id": "hover_background_color",
"label": "Hover background",
"default": "#f8f8f8"
},
{
"type": "color",
"id": "modal_background_color",
"label": "Modal background",
"default": "#ffffff"
},
{
"type": "header",
"content": "Typography"
},
{
"type": "range",
"id": "title_size",
"min": 20,
"max": 50,
"step": 2,
"unit": "px",
"label": "Title size",
"default": 32
},
{
"type": "range",
"id": "subtitle_size",
"min": 14,
"max": 24,
"step": 1,
"unit": "px",
"label": "Subtitle size",
"default": 16
},
{
"type": "range",
"id": "offer_title_size",
"min": 16,
"max": 28,
"step": 1,
"unit": "px",
"label": "Offer title size",
"default": 18
},
{
"type": "range",
"id": "description_size",
"min": 12,
"max": 20,
"step": 1,
"unit": "px",
"label": "Description size",
"default": 14
},
{
"type": "header",
"content": "Layout"
},
{
"type": "range",
"id": "section_padding",
"min": 20,
"max": 100,
"step": 5,
"unit": "px",
"label": "Section padding",
"default": 60
},
{
"type": "range",
"id": "border_radius",
"min": 0,
"max": 20,
"step": 2,
"unit": "px",
"label": "Border radius",
"default": 8
}
],
"blocks": [],
"presets": [
{
"name": "Exclusive offers"
}
]
}