dropdown for product variant picker

main
alexanderroese 2024-07-14 00:16:35 +02:00
parent f11a5940e5
commit b30e5b8753
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@
<div style="display: flex; justify-content: space-between; align-items: center; pointer-events: none">
<span id="shx-custom-variant-picker-selected-value">{{ option.selected_value }}</span>
<div style="display: flex; align-items: center">
<div style="display: flex; align-items: center; gap: 8px">
{% for product_variant in product.variants %}
{% if option.selected_value == product_variant.title %}
<img id="shx-custom-variant-picker-selected-image" src="{{ product_variant.featured_image.src | image_url }}" height="40" width="40" style="border-radius: 4px">