test
parent
1acc9c630b
commit
e1f4457fab
|
@ -81,6 +81,12 @@
|
|||
{%- endif -%}
|
||||
</noscript>
|
||||
|
||||
{% if is_shx_video %}
|
||||
<div class="product__media media media--transparent">
|
||||
{% render "shx-video", media: media %}
|
||||
</div>
|
||||
{% else %}
|
||||
|
||||
<modal-opener class="product__modal-opener product__modal-opener--{{ media.media_type }} no-js-hidden" data-modal="#ProductModal-{{ modal_id }}">
|
||||
<span class="product__media-icon motion-reduce quick-add-hidden{% if media.media_type == 'image' %} product__media-icon--{{ section.settings.image_zoom }}{% endif %}" aria-hidden="true">
|
||||
{%- liquid
|
||||
|
@ -110,9 +116,7 @@
|
|||
</button>
|
||||
</modal-opener>
|
||||
|
||||
{% if is_shx_video %}
|
||||
{% render "shx-video", media: media %}
|
||||
{% else %}
|
||||
|
||||
|
||||
{%- if media.media_type != 'image' -%}
|
||||
{%- if media.media_type == 'model' -%}
|
||||
|
|
Loading…
Reference in New Issue