Section
Featured product
5 个模板实例,17 个 section 配置,10 类 block。
真实模板变体
article.eam-post-v299926b5a-c2da-4579-a07c-f1dc98478ca5 · 3 blocks已禁用article.eam-post99926b5a-c2da-4579-a07c-f1dc98478ca5 · 3 blocks已禁用index.reinvent6c18904d-1867-4720-9268-e4d9022a47b3 · 6 blocks启用product.wave-pro-headfeatured_product_LAaefd · 3 blocks已禁用product.wave-pro-productfeatured_product_LAaefd · 3 blocks已禁用
Schema
{
"name": "Featured product",
"tag": "section",
"class": "product-section",
"settings": [
{
"type": "text",
"id": "heading",
"label": "Heading",
"default": "Featured product"
},
{
"type": "checkbox",
"id": "heading_left",
"default": false,
"label": "Left align heading"
},
{
"type": "richtext",
"id": "description",
"label": "Description",
"default": "<p>Add a short description for this featured product</p>"
},
{
"type": "checkbox",
"id": "full_width",
"default": false,
"label": "Make section full width"
},
{
"type": "header",
"content": "Product"
},
{
"type": "product",
"id": "product",
"label": "Product"
},
{
"type": "checkbox",
"id": "show_taxes_included",
"default": true,
"label": "Show taxes included"
},
{
"type": "checkbox",
"id": "enable_sticky_info",
"default": true,
"label": "Enable sticky content on desktop"
},
{
"type": "header",
"content": "Media"
},
{
"type": "paragraph",
"content": "Learn more about [media types](https://help.shopify.com/en/manual/products/product-media)"
},
{
"type": "select",
"id": "media_aspect_ratio",
"options": [
{
"value": "adapt",
"label": "Adapt to image"
},
{
"value": "square",
"label": "Square"
},
{
"value": "portrait",
"label": "Portrait"
},
{
"value": "landscape",
"label": "Landscape"
}
],
"default": "adapt",
"label": "Image ratio"
},
{
"type": "checkbox",
"id": "display_captions",
"default": true,
"label": "Display captions"
},
{
"type": "checkbox",
"id": "lightbox",
"default": true,
"label": "Enable image zoom"
},
{
"type": "checkbox",
"id": "enable_video_looping",
"default": false,
"label": "Enable video looping"
},
{
"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": "@app",
"settings": []
},
{
"type": "text",
"name": "Text",
"settings": [
{
"type": "text",
"id": "text",
"default": "Text block",
"label": "Text"
},
{
"type": "select",
"id": "text_style",
"options": [
{
"value": "style_body",
"label": "Body"
},
{
"value": "subheading",
"label": "Subheading"
},
{
"value": "style_vendor",
"label": "Vendor"
}
],
"default": "style_vendor",
"label": "Text Style"
}
]
},
{
"type": "title",
"name": "Title",
"limit": 1,
"settings": [
{
"type": "checkbox",
"id": "uppercase",
"default": true,
"label": "Make title uppercase"
},
{
"type": "checkbox",
"id": "show_products_rating",
"default": true,
"label": "Show product rating",
"info": "To display a rating, add a product rating app. [Learn more](https://help.shopify.com/manual/online-store/themes/os20/themes-by-shopify/dawn/sections#featured-collection-show-product-rating)"
}
]
},
{
"type": "variant_picker",
"name": "Variant picker",
"limit": 1,
"settings": [
{
"type": "select",
"id": "picker_type",
"options": [
{
"value": "dropdown",
"label": "Dropdown"
},
{
"value": "button",
"label": "Block"
}
],
"default": "button",
"label": "Type"
},
{
"type": "checkbox",
"id": "color_picker",
"default": true,
"label": "Enable color swatches",
"info": "[Learn more about color swatches.](https://documentation.fuelthemes.net/kb/how-do-i-set-up-product-variant-swatches/)"
},
{
"type": "checkbox",
"id": "force_color_picker",
"default": false,
"label": "Force color swatches for all options",
"info": "When enabled, all variant options will display as color swatches regardless of option name."
},
{
"type": "checkbox",
"id": "variant_is_disabled",
"default": true,
"label": "Show availability in selectors",
"info": "When an option is selected, unavailable variants will be crossed-out."
},
{
"type": "text",
"id": "sizing_guide_text",
"default": "Sizing guide",
"label": "Sizing guide label",
"info": "Leave empty to remove the sizing guide link."
},
{
"type": "select",
"id": "sizing_guide_icon",
"options": [
{
"value": "none",
"label": "None"
},
{
"value": "apple",
"label": "Apple"
},
{
"value": "banana",
"label": "Banana"
},
{
"value": "bottle",
"label": "Bottle"
},
{
"value": "box",
"label": "Box"
},
{
"value": "carrot",
"label": "Carrot"
},
{
"value": "chat_bubble",
"label": "Chat bubble"
},
{
"value": "check_mark",
"label": "Check mark"
},
{
"value": "clipboard",
"label": "Clipboard"
},
{
"value": "dairy",
"label": "Dairy"
},
{
"value": "dairy_free",
"label": "Dairy free"
},
{
"value": "dryer",
"label": "Dryer"
},
{
"value": "eye",
"label": "Eye"
},
{
"value": "fire",
"label": "Fire"
},
{
"value": "gluten_free",
"label": "Gluten free"
},
{
"value": "heart",
"label": "Heart"
},
{
"value": "iron",
"label": "Iron"
},
{
"value": "leaf",
"label": "Leaf"
},
{
"value": "leather",
"label": "Leather"
},
{
"value": "lightning_bolt",
"label": "Lightning bolt"
},
{
"value": "lipstick",
"label": "Lipstick"
},
{
"value": "lock",
"label": "Lock"
},
{
"value": "map_pin",
"label": "Map pin"
},
{
"value": "nut_free",
"label": "Nut free"
},
{
"value": "pants",
"label": "Pants"
},
{
"value": "paw_print",
"label": "Paw print"
},
{
"value": "pepper",
"label": "Pepper"
},
{
"value": "perfume",
"label": "Perfume"
},
{
"value": "plane",
"label": "Plane"
},
{
"value": "plant",
"label": "Plant"
},
{
"value": "price_tag",
"label": "Price tag"
},
{
"value": "question_mark",
"label": "Question mark"
},
{
"value": "recycle",
"label": "Recycle"
},
{
"value": "return",
"label": "Return"
},
{
"value": "ruler",
"label": "Ruler"
},
{
"value": "serving_dish",
"label": "Serving dish"
},
{
"value": "shirt",
"label": "Shirt"
},
{
"value": "shoe",
"label": "Shoe"
},
{
"value": "silhouette",
"label": "Silhouette"
},
{
"value": "snowflake",
"label": "Snowflake"
},
{
"value": "star",
"label": "Star"
},
{
"value": "stopwatch",
"label": "Stopwatch"
},
{
"value": "truck",
"label": "Truck"
},
{
"value": "washing",
"label": "Washing"
}
],
"default": "ruler",
"label": "Sizing guide icon"
},
{
"type": "page",
"id": "sizing_guide_page",
"label": "Sizing guide page"
}
]
},
{
"type": "buy_buttons",
"name": "Product form",
"limit": 1,
"settings": [
{
"type": "checkbox",
"id": "show_quantity_selector",
"default": true,
"label": "Show quantity selector"
},
{
"type": "checkbox",
"id": "show_dynamic_checkout",
"default": true,
"label": "Show dynamic checkout buttons",
"info": "Using the payment methods available on your store, customers see their preferred option, like PayPal or Apple Pay. [Learn more](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)"
}
]
},
{
"type": "description",
"name": "Description",
"limit": 1,
"settings": []
},
{
"type": "custom_liquid",
"name": "Custom liquid",
"settings": [
{
"type": "liquid",
"id": "custom_liquid",
"label": "Custom liquid",
"info": "Add app snippets or other Liquid code to create advanced customizations."
}
]
},
{
"type": "product_link",
"name": "Product link",
"limit": 1,
"settings": [
{
"type": "paragraph",
"content": "Use this to direct users to product page"
}
]
},
{
"type": "custom_option",
"name": "Line item property",
"settings": [
{
"type": "paragraph",
"content": "Line item properties are used to collect customization information for an item added to the cart."
},
{
"type": "select",
"id": "type",
"label": "Type",
"default": "text",
"options": [
{
"label": "Text",
"value": "text"
},
{
"label": "Textarea",
"value": "textarea"
},
{
"label": "Checkbox",
"value": "checkbox"
},
{
"label": "Multiple options",
"value": "multiple"
}
]
},
{
"type": "text",
"id": "label",
"label": "Label",
"default": "Custom option"
},
{
"type": "checkbox",
"id": "text_required",
"label": "Required",
"info": "Only works with 'Add to cart' button",
"default": false
},
{
"type": "header",
"content": "Text",
"info": "Requires line item property type to be Text or Textarea."
},
{
"type": "text",
"id": "text_placeholder",
"label": "Placeholder",
"default": "Enter your text here"
},
{
"type": "header",
"content": "Checkbox",
"info": "Requires line item property type to be Checkbox."
},
{
"type": "text",
"id": "checkbox_checked_value",
"label": "Checked value",
"default": "Yes"
},
{
"type": "text",
"id": "checkbox_unchecked_value",
"label": "Unchecked value",
"default": "No"
},
{
"type": "header",
"content": "Multiple options",
"info": "Requires line item property type to be Multiple options."
},
{
"type": "select",
"id": "multiple_style",
"label": "Style",
"default": "dropdown",
"options": [
{
"label": "Dropdown",
"value": "dropdown"
},
{
"label": "Radio",
"value": "radio"
}
]
},
{
"type": "textarea",
"id": "multiple_options",
"label": "Options",
"default": "Option 1\nOption 2\nOption 3",
"info": "One option on each line"
}
]
},
{
"type": "sku",
"name": "SKU",
"settings": [
{
"type": "select",
"id": "sku_style",
"options": [
{
"value": "style_body",
"label": "Body"
},
{
"value": "subheading",
"label": "Subheading"
},
{
"value": "style_vendor",
"label": "Vendor"
}
],
"default": "style_vendor",
"label": "SKU style"
}
]
}
],
"presets": [
{
"name": "Featured product",
"blocks": [
{
"type": "title"
},
{
"type": "variant_picker"
},
{
"type": "buy_buttons"
}
]
}
]
}