Shop 2

' | first }}
{% endif %} {% endif %}
{% if section.settings.product_images_position == 'right' %} {% endif %}
{% if section.settings.set_product_height %} {% style %} #shopify-section-{{ section.id }} .product_slider model-viewer { min-height: {{ section.settings.product_height }}px; } #shopify-section-{{ section.id }} .product_slider .product-gallery__main img, #shopify-section-{{ section.id }} .product_slider .product-gallery__main .plyr--html5 video, #shopify-section-{{ section.id }} .product_slider .product-gallery__main .plyr--youtube { height: {{ section.settings.product_height }}px; max-height: {{ section.settings.product_height }}px; } {% endstyle %} {% endif %} {% style %} .shopify-model-viewer-ui model-viewer { --progress-bar-height: 2px; --progress-bar-color: {{ settings.regular_color }}; } {% endstyle %} {% if product.media %} {% endif %} {% schema %} { "name": "Featured product", "class": "featured-product-section", "settings": [ { "type": "text", "id": "title", "label": "Heading", "default": "Featured product" }, { "type": "product", "id": "featured_product", "label": "Product" }, { "type": "header", "content": "Product gallery" }, { "type": "checkbox", "id": "display_thumbnails", "label": "Show thumbnails", "default": true }, { "type": "checkbox", "id": "gallery_arrows", "label": "Show arrows", "default": true }, { "type": "checkbox", "id": "activate_zoom", "label": "Magnify product images on hover", "default": false }, { "type": "range", "id": "slideshow_speed", "label": "Gallery speed", "min": 0, "max": 6, "unit": "sec", "default": 0, "info": "Set to 0 to disable autoplay." }, { "type": "select", "id": "slideshow_transition", "label": "Gallery transition", "options": [ { "value": "slide", "label": "Slide" }, { "value": "fade", "label": "Fade" } ], "default": "slide" }, { "type": "select", "id": "thumbnail_position", "label": "Thumbnails", "default": "bottom-thumbnails", "options": [ { "value": "left-thumbnails", "label": "Left" }, { "value": "right-thumbnails", "label": "Right" }, { "value": "bottom-thumbnails", "label": "Bottom" } ] }, { "type": "checkbox", "id": "enable_thumbnail_slider", "label": "Enable thumbnail slider", "default": true }, { "type": "header", "content": "Product information" }, { "type": "checkbox", "id": "display_vendor", "label": "Show vendor", "default": false }, { "type": "checkbox", "id": "frontpage_display_description", "label": "Show product description", "default": true }, { "type": "radio", "id": "product_description_position", "label": "Description position", "default": "top", "options": [ { "value": "top", "label": "Above 'add to cart'" }, { "value": "bottom", "label": "Below 'add to cart'" } ] }, { "type": "header", "content": "Dynamic checkout button" }, { "type": "paragraph", "content": "Lets customers check out directly using a familiar payment method. [Learn more](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)" }, { "type": "checkbox", "id": "show_payment_button", "label": "Show dynamic checkout button", "default": true, "info": "Each customer will see their preferred payment method from those available on your store, such as PayPal or Apple Pay. [Learn more](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)" }, { "type": "header", "content": "Media", "info": "Learn more about [media types](https://help.shopify.com/en/manual/products/product-media)" }, { "type": "radio", "id": "product_images_position", "label": "Media position", "default": "left", "options": [ { "value": "left", "label": "Left" }, { "value": "right", "label": "Right" } ] }, { "type": "checkbox", "id": "set_product_height", "label": "Set height of product media", "default": false }, { "type": "range", "id": "product_height", "label": "Product media height", "min": 200, "max": 800, "step": 10, "default": 500, "unit": "px" }, { "type": "checkbox", "id": "video_looping", "label": "Enable video looping", "default": false } ], "presets": [{ "name": "Featured product", "category": "Product", "settings": { } }] } {% endschema %}