Section
Collection Swift
12 个模板实例,20 个 section 配置,1 类 block。
真实模板变体
page.aff-selected-products13500232-1cca-4059-a6d5-d406bdd6c62e · 0 blocks启用page.aff-selected-products84fd7674-25d6-4bb8-ac55-8415332e893d · 0 blocks启用page.aff-selected-productsmain_collection_swift_HaV73Q · 0 blocks启用page.aff-selected-productsmain_collection_swift_UEDQY8 · 0 blocks启用page.swift-colleciton-nobanner13500232-1cca-4059-a6d5-d406bdd6c62e · 0 blocks启用page.swift-colleciton-nobanner2b0287dd-04b5-47e8-bf53-1920aa6c1663 · 0 blocks启用page.swift-colleciton-nobanner41e1246d-3ea9-4bf4-98f2-b714ff577632 · 0 blocks启用page.swift-colleciton-nobanner84fd7674-25d6-4bb8-ac55-8415332e893d · 0 blocks启用page.swift-collection-coded13500232-1cca-4059-a6d5-d406bdd6c62e · 0 blocks启用page.swift-collection-coded2b0287dd-04b5-47e8-bf53-1920aa6c1663 · 0 blocks启用page.swift-collection-coded41e1246d-3ea9-4bf4-98f2-b714ff577632 · 0 blocks启用page.swift-collection-coded84fd7674-25d6-4bb8-ac55-8415332e893d · 0 blocks启用
Schema
{
"name": "Collection Swift",
"class": "section-spacing-padding",
"settings": [
{
"type": "text",
"id": "template_id",
"label": "Template ID"
},
{
"type": "checkbox",
"id": "show_buy_button",
"label": "Show buy button"
},
{
"type": "text",
"id": "save",
"label": "Save",
"default": "SAVE $80"
},
{
"type": "html",
"id": "heading",
"label": "Heading",
"default": "Explore the Laifen Hair Dryers"
},
{
"type": "html",
"id": "subheading",
"label": "Sub Heading",
"default": "SHOP OUR POWERFUL HAIR TOOLS"
},
{
"type": "text",
"id": "nozzles",
"label": "Nozzels text",
"default": "3 Magnetic Nozzles"
},
{
"type": "text",
"id": "s_title",
"label": "Social proof title",
"default": "Follow Us"
},
{
"type": "richtext",
"id": "s_content",
"label": "Social proof content",
"default": "<p>Our hair has never looked so silky or had so much body and lift.</p>"
},
{
"type": "textarea",
"id": "custom_price",
"label": "Custom Price",
"info": "(Comma separated) Leave empty to show original product prices, e.g 159.99,168.98,156.78,199.99"
},
{
"type": "textarea",
"id": "custom_compare_price",
"label": "Custom Compare Price",
"info": "(Comma separated) Leave empty to show original product compare prices, e.g 169.99,178.98,186.78,299.99"
},
{
"type": "checkbox",
"id": "show_social_links",
"label": "Show Social Proof",
"default": false
},
{
"type": "checkbox",
"id": "show_nozzles",
"label": "Show Nozzles",
"default": false
},
{
"type": "checkbox",
"id": "variant_names",
"label": "Show Variant Names",
"default": false
},
{
"type": "collection",
"id": "collection",
"label": "Collection"
},
{
"type": "range",
"id": "products_per_page",
"min": 2,
"max": 48,
"step": 1,
"label": "Number of products",
"default": 12
},
{
"type": "range",
"id": "columns_desktop",
"min": 2,
"max": 5,
"step": 1,
"label": "Number of columns on desktop",
"default": 4
},
{
"type": "select",
"id": "pagination_type",
"options": [
{
"value": "paginated",
"label": "Paginated"
},
{
"value": "loadmore",
"label": "Click to load"
},
{
"value": "infinite",
"label": "Infinite"
}
],
"default": "paginated",
"label": "Pagination",
"info": "Choose how additional pages of products are navigated."
},
{
"type": "text",
"id": "discount_code",
"label": "Discount Code",
"info": "Discount code for collections"
},
{
"type": "textarea",
"id": "discount_list",
"label": "Discount List",
"info": "save_amount: 立减,save_percentage: 百分比。例:save_amount-10,save_percentage-25,save_percentage-20"
},
{
"type": "checkbox",
"id": "discount_show",
"label": "Discount Show",
"default": false
}
],
"blocks": [
{
"type": "promotion",
"name": "Promotion",
"settings": [
{
"type": "collection",
"id": "promotion_collection",
"label": "Collection",
"info": "Show on specific collection only"
},
{
"type": "range",
"id": "promotion_position",
"min": 1,
"max": 24,
"step": 1,
"label": "Show in position",
"default": 1
},
{
"type": "select",
"id": "promotion_width",
"options": [
{
"value": "1",
"label": "1 column"
},
{
"value": "2",
"label": "2 columns"
}
],
"default": "1",
"label": "Width"
},
{
"type": "image_picker",
"id": "image",
"label": "Image"
},
{
"type": "text",
"id": "title",
"default": "Promotion",
"label": "Heading"
},
{
"type": "textarea",
"id": "text",
"default": "Advertise a promotion or a sale",
"label": "Description"
},
{
"id": "link_label",
"type": "text",
"label": "Button label",
"default": "Explore",
"info": "Leave the label blank to hide the button."
},
{
"id": "link",
"type": "url",
"label": "Button link"
},
{
"type": "checkbox",
"id": "use_text_button",
"label": "Use text button",
"default": false
},
{
"id": "block_link",
"type": "url",
"label": "Link",
"info": "This will allow you to set a link to the promotion"
},
{
"type": "header",
"content": "Colors"
},
{
"type": "color",
"id": "overlay_color",
"label": "Overlay",
"default": "#000000"
},
{
"type": "range",
"id": "overlay_opacity",
"min": 0,
"max": 100,
"step": 1,
"unit": "%",
"label": "Overlay opacity",
"default": 70
}
]
}
],
"presets": [
{
"name": "Collection Swift"
}
]
}