test
parent
ef4e681000
commit
0cda542cd3
|
@ -67,7 +67,8 @@
|
|||
role="list">
|
||||
{%- if product.selected_or_first_available_variant.featured_media != null -%}
|
||||
{%- assign featured_media = product.selected_or_first_available_variant.featured_media -%}
|
||||
<!-- <li id="Slide-{{ section.id }}-{{ featured_media.id }}{{ id_append }}"
|
||||
<li
|
||||
id="Slide-{{ section.id }}-{{ featured_media.id }}{{ id_append }}"
|
||||
class="product__media-item grid__item slider__slide is-active{% if single_media_visible %} product__media-item--single{% endif %}{% if featured_media.media_type != 'image' %} product__media-item--full{% endif %}{% if section.settings.hide_variants and variant_images contains featured_media.src %} product__media-item--variant{% endif %}{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--fade-in{% endif %}"
|
||||
data-media-id="{{ section.id }}-{{ featured_media.id }}">
|
||||
{%- assign media_position = 1 -%}
|
||||
|
@ -85,7 +86,7 @@
|
|||
, constrain_to_viewport: section.settings.constrain_to_viewport
|
||||
, lazy_load: false
|
||||
%}
|
||||
</li> -->
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- for media in product.media -%}
|
||||
{%- unless media.id == product.selected_or_first_available_variant.featured_media.id -%}
|
||||
|
@ -194,7 +195,8 @@
|
|||
endcapture
|
||||
assign media_index = media_index | plus: 1
|
||||
-%}
|
||||
<!-- <li id="Slide-Thumbnails-{{ section.id }}-0{{ id_append }}"
|
||||
<li
|
||||
id="Slide-Thumbnails-{{ section.id }}-0{{ id_append }}"
|
||||
class="thumbnail-list__item slider__slide{% if section.settings.hide_variants and variant_images contains featured_media.src %} thumbnail-list_item--variant{% endif %}"
|
||||
data-target="{{ section.id }}-{{ featured_media.id }}"
|
||||
data-media-position="{{ media_index }}">
|
||||
|
@ -211,7 +213,7 @@
|
|||
featured_media.preview_image | image_url: width: 416 | image_tag: loading: 'lazy', sizes: sizes, widths: '54, 74, 104, 162, 208, 324, 416', id: thumbnail_id, alt: featured_media.alt | escape
|
||||
}}
|
||||
</button>
|
||||
</li> -->
|
||||
</li>
|
||||
{%- endif -%}
|
||||
{%- for media in product.media -%}
|
||||
{%- unless media.id == product.selected_or_first_available_variant.featured_media.id -%}
|
||||
|
|
Loading…
Reference in New Issue