vielen Dank dir für deine ausführliche Dokumentation. Ich versuche gerade das selbe im meinen Theme Vision, den Add-to-cart Datalayer in meinem Code einzufügen.
Ich bin ein meinem Theme unter main-product-liquid unterwegs und habe leider wenig Knowledge über CSS und Java Skript.
Show More
{{- ‘product.css’ | asset_url | stylesheet_tag -}}
{%- liquid
assign first_3d_model = product.media | where: “media_type”, “model” | first
assign thumbnail_position = section.settings.thumbnail_position
assign media_aspect_ratio = section.settings.media_aspect_ratio
assign image_index = -1
assign display_captions = section.settings.display_captions
assign hide_variants = section.settings.hide_variants
assign featured_media = product.selected_or_first_available_variant.featured_media
assign first_image = nil
assign variant_images = product.images | where: ‘attached_to_variant?’, true | map: ‘src’
assign sizes = ‘345x345,610x610,1220x1220’
if media_aspect_ratio == ‘adapt’
assign sizes = ‘345x0,610x0,1220x0’
elsif media_aspect_ratio == ‘portrait’
assign sizes = ‘345x430,610x760,1220x1525’
elsif media_aspect_ratio == ‘landscape’
assign sizes = ‘345x255,610x450,1220x900’
endif
-%}
{%- if first_3d_model -%}
{%- endif -%}
{%- assign info_boxes = section.blocks | where: “type”, “info_box” -%}
{%- if info_boxes.size > 0 -%}
{{- ‘info-box.css’ | asset_url | stylesheet_tag -}}
{%- for info_box in info_boxes %}
{% if info_box.settings.image %}
{%- render ‘responsive-image’, image: info_box.settings.image, sizes: ‘24x24,48x48’ -%}
{%- else -%}
{% render ‘svg-icons-inline’, icon: info_box.settings.icon %}
{%- endif -%}
{{ info_box.settings.text }}
{% if info_box.settings.link %}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- render ‘product-information’, product: product, section: section, update_url: true, pickup: true, first_image: first_image, hide_variants: hide_variants -%}
{%- assign side_panels = section.blocks | where: “type”, “side_panel” -%}
{%- if side_panels.size > 0 -%}
{{ ‘products.product.product_information’ | t }}
{%- assign block = side_panels[0] -%}
{%- if block.settings.side_panel_1_label != ‘’ -%}
{{ block.settings.side_panel_1_page.content }}
{%- endif -%}
{%- if block.settings.side_panel_2_label != ‘’ -%}
{{ block.settings.side_panel_2_page.content }}
{%- endif -%}
{%- if block.settings.side_panel_3_label != ‘’ -%}
{{ block.settings.side_panel_3_page.content }}
{%- endif -%}
{%- endif -%}
{%- if section.settings.lightbox != blank -%}
{% render ‘photoswipe’ %}
{%- endif -%}
{%- if first_3d_model -%}
{%- endif -%}
{%- liquid
if product.selected_or_first_available_variant.featured_media
assign seo_media = product.selected_or_first_available_variant.featured_media
else
assign seo_media = product.featured_media
endif
-%}
{% schema %}
{
“name”: “Product information”,
“tag”: “section”,
“class”: “product-section”,
“settings”: [
{
“type”: “checkbox”,
“id”: “enable_sticky_add_to_cart”,
“default”: true,
“label”: “Show sticky add to cart”
},
{
“type”: “checkbox”,
“id”: “show_taxes_included”,
“default”: true,
“label”: “Show tax and shipping information”,
“info”: “Tax and shipping information will be displayed if taxes are included in the price or shipping policy is added”
},
{
“type”: “header”,
“content”: “Media”
},
{
“type”: “paragraph”,
“content”: “Learn more about media types”
},
{
“type”: “select”,
“id”: “thumbnail_position”,
“options”: [
{
“value”: “left”,
“label”: “Left”
},
{
“value”: “bottom”,
“label”: “Bottom”
}
],
“default”: “left”,
“label”: “Thumbnail position”
},
{
“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”: “hide_variants”,
“default”: false,
“label”: “Hide unselected variants’ media”,
“info”: “Media for the unselected variants will be hidden.”
},
{
“type”: “checkbox”,
“id”: “lightbox”,
“default”: true,
“label”: “Enable image zoom”
},
{
“type”: “checkbox”,
“id”: “enable_video_looping”,
“default”: false,
“label”: “Enable video looping”
}
],
“blocks”: [
{
“type”: “@app”
},
{
“type”: “label”,
“name”: “Card labels”,
“settings”: [
{
“type”: “paragraph”,
“content”: “Use a dynamic source to highlight a unique attribute by creating product label. Learn more about product labels.”
}
]
},
{
“type”: “separator”,
“name”: “Separator”
},
{
“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”: “show_products_rating”,
“default”: true,
“label”: “Show product rating”,
“info”: “To display a rating, add a product rating app. Learn more”
}
]
},
{
“type”: “inventory_level”,
“name”: “Inventory level”,
“limit”: 1,
“settings”: [
{
“type”: “select”,
“id”: “show_inventory_notice”,
“options”: [
{
“value”: “always”,
“label”: “Always”
},
{
“value”: “low”,
“label”: “Only when inventory low”
}
],
“default”: “always”,
“label”: “Show inventory notice”
},
{
“type”: “select”,
“id”: “show_inventory_count”,
“options”: [
{
“value”: “never”,
“label”: “Never”
},
{
“value”: “always”,
“label”: “Always”
},
{
“value”: “low”,
“label”: “Only when inventory low”
}
],
“default”: “always”,
“label”: “Show count in inventory notice”
},
{
“type”: “checkbox”,
“id”: “inventory_notice_pulse”,
“default”: true,
“label”: “Show pulse”
},
{
“type”: “checkbox”,
“id”: “inventory_notice_bar”,
“default”: true,
“label”: “Show progress bar”
},
{
“type”: “number”,
“id”: “inventory_notice_threshold”,
“label”: “Low inventory threshold”,
“default”: 10,
“info”: “Set the product inventory quantity to alert customers when limited quantities are available. Insert a dynamic source to set different thresholds for multiple products.”
},
{
“type”: “number”,
“id”: “inventory_notice_base”,
“label”: “Inventory base quantity”,
“default”: 20,
“info”: “Enter the initial quantity of your product inventory for progress bar. Insert a dynamic source to set different base quantities for multiple products”
}
]
},
{
“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.”
},
{
“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”: “header”,
“content”: “Sizing guide”
},
{
“type”: “text”,
“id”: “sizing_guide_variant”,
“default”: “Size”,
“label”: “Sizing guide variant name”,
“info”: “Name of the variant to show the sizing guide link. Learn more about sizing guide”
},
{
“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”: “quantity”,
“name”: “Quantity selector”,
“limit”: 1,
“settings”: [
{
“type”: “paragraph”,
“content”: “The selector is automatically hidden if all variants are sold out. When at least one variant is available, the selector is always visible to prevent the page from moving when switching variants.”
}
]
},
{
“type”: “buy_buttons”,
“name”: “Product form”,
“limit”: 1,
“settings”: [
{
“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”
},
{
“type”: “checkbox”,
“id”: “show_gift_card_recipient”,
“default”: false,
“label”: “Show recipient form for gift card products”,
“info”: “When enabled, gift card products can optionally be sent to a recipient with a personal message.”
}
]
},
{
“type”: “description”,
“name”: “Description”,
“limit”: 1
},
{
“type”: “share”,
“name”: “Share”,
“limit”: 1,
“settings”: [
{
“type”: “paragraph”,
“content”: “If you include a link in social media posts, the page’s featured image will be shown as the preview image. Learn more.”
},
{
“type”: “paragraph”,
“content”: “A store title and description are included with the preview image. Learn more.”
}
]
},
{
“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”: “side_panel”,
“name”: “Information side panel”,
“limit”: 1,
“settings”: [
{
“type”: “header”,
“content”: “Panel 1”
},
{
“type”: “text”,
“id”: “side_panel_1_label”,
“default”: “Materials”,
“label”: “Label”
},
{
“type”: “select”,
“id”: “side_panel_1_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”: “Icon”
},
{
“type”: “page”,
“id”: “side_panel_1_page”,
“label”: “Page”
},
{
“type”: “header”,
“content”: “Panel 2”
},
{
“type”: “text”,
“id”: “side_panel_2_label”,
“default”: “Shipping & Returns”,
“label”: “Label”
},
{
“type”: “select”,
“id”: “side_panel_2_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”: “box”,
“label”: “Icon”
},
{
“type”: “page”,
“id”: “side_panel_2_page”,
“label”: “Page”
},
{
“type”: “header”,
“content”: “Panel 3”
},
{
“type”: “text”,
“id”: “side_panel_3_label”,
“default”: “Care Guide”,
“label”: “Label”
},
{
“type”: “select”,
“id”: “side_panel_3_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”: “washing”,
“label”: “Icon”
},
{
“type”: “page”,
“id”: “side_panel_3_page”,
“label”: “Page”
}
]
},
{
“type”: “collapsible_tab”,
“name”: “Collapsible row”,
“settings”: [
{
“type”: “text”,
“id”: “heading”,
“default”: “Collapsible row”,
“info”: “Include a heading that explains the content.”,
“label”: “Heading”
},
{
“type”: “checkbox”,
“id”: “open”,
“default”: false,
“label”: “Open by default”
},
{
“type”: “richtext”,
“id”: “content”,
“label”: “Row content”
},
{
“type”: “page”,
“id”: “page”,
“label”: “Row content from page”
},
{
“type”: “liquid”,
“id”: “custom_liquid”,
“label”: “Custom liquid”,
“info”: “Add app snippets or other Liquid code to create advanced customizations. For product description, you can use {{ product.description }}”
}
]
},
{
“type”: “complementary”,
“name”: “Complementary products”,
“limit”: 1,
“settings”: [
{
“type”: “paragraph”,
“content”: “To select complementary products, add the Search & Discovery app. Learn more”
},
{
“type”: “text”,
“id”: “block_heading”,
“default”: “Pairs well with”,
“label”: “Heading”
},
{
“type”: “range”,
“id”: “product_list_limit”,
“min”: 1,
“max”: 10,
“step”: 1,
“default”: 10,
“label”: “Maximum products to show”
}
]
},
{
“type”: “icon_list”,
“name”: “Icon list”,
“limit”: 1,
“settings”: [
{
“type”: “header”,
“content”: “Icon 1”
},
{
“type”: “select”,
“id”: “icon_1_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”: “Icon”
},
{
“type”: “image_picker”,
“id”: “icon_1_image”,
“label”: “Custom icon”,
“info”: “40 x 40 .png recommended.”
},
{
“type”: “text”,
“id”: “icon_1_text”,
“default”: “Icon list label 1”,
“label”: “Icon 1 label”
},
{
“type”: “header”,
“content”: “Icon 2”
},
{
“type”: “select”,
“id”: “icon_2_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”: “box”,
“label”: “Icon”
},
{
“type”: “image_picker”,
“id”: “icon_2_image”,
“label”: “Custom icon”,
“info”: “40 x 40 .png recommended.”
},
{
“type”: “text”,
“id”: “icon_2_text”,
“default”: “Icon list label 2”,
“label”: “Icon 2 label”
},
{
“type”: “header”,
“content”: “Icon 3”
},
{
“type”: “select”,
“id”: “icon_3_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”: “star”,
“label”: “Icon”
},
{
“type”: “image_picker”,
“id”: “icon_3_image”,
“label”: “Custom icon”,
“info”: “40 x 40 .png recommended.”
},
{
“type”: “text”,
“id”: “icon_3_text”,
“default”: “Icon list label 3”,
“label”: “Icon 3 label”
},
{
“type”: “header”,
“content”: “Icon 4”
},
{
“type”: “select”,
“id”: “icon_4_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”: “washing”,
“label”: “Icon”
},
{
“type”: “image_picker”,
“id”: “icon_4_image”,
“label”: “Custom icon”,
“info”: “40 x 40 .png recommended.”
},
{
“type”: “text”,
“id”: “icon_4_text”,
“default”: “Icon list label 4”,
“label”: “Icon 4 label”
}
]
},
{
“type”: “image”,
“name”: “Image”,
“settings”: [
{
“type”: “image_picker”,
“id”: “image”,
“label”: “Image”
},
{
“type”: “select”,
“id”: “position”,
“label”: “Position”,
“options”: [
{ “value”: “text-center”, “label”: “Center” },
{ “value”: “text-left”, “label”: “Left” },
{ “value”: “text-right”, “label”: “Right” }
],
“default”: “text-left”
}
]
},
{
“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”
}
]
},
{
“type”: “info_box”,
“name”: “Info box”,
“settings”: [
{
“type”: “select”,
“id”: “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”: “Icon”
},
{
“type”: “image_picker”,
“id”: “image”,
“label”: “Custom icon”,
“info”: “48 x 48 .png recommended.”
},
{
“type”: “text”,
“id”: “text”,
“default”: “Info box text”,
“label”: “Text”
},
{
“type”: “url”,
“id”: “link”,
“label”: “Link”
},
{
“type”: “header”,
“content”: “Colors”
},
{
“type”: “color”,
“id”: “info_box_bg”,
“label”: “Background”,
“default”: “#E9E7ED”
},
{
“type”: “color”,
“id”: “info_box_color”,
“label”: “Text”,
“default”: “#2B1559”
}
]
},
{
“type”: “siblings”,
“name”: “Siblings”,
“limit”: 1,
“settings”: [
{
“type”: “paragraph”,
“content”: “Siblings allow you to split colors into separate products. Learn more”
},
{
“type”: “text”,
“id”: “siblings_collection”,
“label”: “Product siblings collection handle”,
“info”: “Use a metafield containing a collection handle for color siblings. The collection should contain all color options as unique products.”
},
{
“type”: “text”,
“id”: “sibling_color”,
“label”: “Product color metafield”,
“info”: “Use a single line text metafield called ‘theme.sibling_color’ for product color.”
},
{
“type”: “header”,
“content”: “Spacing”
},
{
“type”: “range”,
“id”: “margin_bottom”,
“min”: 0,
“max”: 50,
“step”: 2,
“unit”: “px”,
“label”: “Margin bottom”,
“default”: 20
}
]
}
]
}
{% endschema %}