dropdown for product variant picker
parent
f11a5940e5
commit
b30e5b8753
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue