Skip to content

Commit

Permalink
Merge pull request #129 from findify/swatches-comments-remove
Browse files Browse the repository at this point in the history
Remove comments at color swatches
  • Loading branch information
wolff95 authored Nov 13, 2024
2 parents 4212da2 + df15386 commit 7c82876
Showing 1 changed file with 21 additions and 23 deletions.
44 changes: 21 additions & 23 deletions snippets/findify-product-card.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,30 @@
, class: 'findify-second-image' %}
{%- endif -%}

{% comment %} <img width="100%" height="100%" class="findify-product-swatch-image" hidden /> {% endcomment %}
<img width="100%" height="100%" class="findify-product-swatch-image" hidden />
</div>
</a>

{% comment %}
{% assign swatches_id = product.id | append: "_" | append: widget %}
<div
class="findify-color-swatches-outer"
data-swatches-visibility="{{ colorSwatchesVisibility }}"
data-show-desktop="{{ showColorSwatchesOnDesktop }}"
data-show-mobile="{{ showColorSwatchesOnMobile }}"
data-swatches-id="{{ swatches_id }}"
>
{% render 'findify-product-swatches-color',
product_url: product_url,
product: product,
swatches_id: swatches_id,
colormap: colormap,
variants: variants,
colorSwatchesStyleDesktop: colorSwatchesStyleDesktop,
colorSwatchesStyleMobile: colorSwatchesStyleMobile,
colorSwatchesVisibility: colorSwatchesVisibility,
%}
</div>
{% endcomment %}
{% assign swatches_id = product.id | append: "_" | append: widget %}

<div
class="findify-color-swatches-outer"
data-swatches-visibility="{{ colorSwatchesVisibility }}"
data-show-desktop="{{ showColorSwatchesOnDesktop }}"
data-show-mobile="{{ showColorSwatchesOnMobile }}"
data-swatches-id="{{ swatches_id }}"
>
{% render 'findify-product-swatches-color',
product_url: product_url,
product: product,
swatches_id: swatches_id,
colormap: colormap,
variants: variants,
colorSwatchesStyleDesktop: colorSwatchesStyleDesktop,
colorSwatchesStyleMobile: colorSwatchesStyleMobile,
colorSwatchesVisibility: colorSwatchesVisibility,
%}
</div>
</div>
<div class="findify-content-wrapper">
{% if brand %}
Expand Down

0 comments on commit 7c82876

Please sign in to comment.