dropdown for product variant picker
parent
2df5d72b39
commit
862d978797
|
@ -140,7 +140,7 @@
|
|||
<div data-value="{{ product_variant.title }}" {% if option.selected_value == product_variant.title %}class="shx-custom-variant-picker-selected-variant"{% endif %}>
|
||||
<img src="{{ product_variant.featured_image.src | image_url }}" height="100" width="100" style="border-radius: 4px">
|
||||
|
||||
<div style="display: flex; justify-content: space-between; align-items: center; width: 100%">
|
||||
<div style="display: flex; flex-direction: column>
|
||||
<span style="color: rgb(var(--color-foreground)); {% if product_variant.available == false %}text-decoration: line-through;{% endif %}">{{ product_variant.title }}</span>
|
||||
<span>{{ product_variant.price | money }}</span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue