pull/1/head
Jan Umbach 2024-05-29 23:18:59 +02:00
parent 1acc9c630b
commit e1f4457fab
1 changed files with 7 additions and 3 deletions

View File

@ -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' -%}