dropdown for product variant picker

main
alexanderroese 2024-07-14 00:09:53 +02:00
parent 2df5d72b39
commit 862d978797
1 changed files with 1 additions and 1 deletions

View File

@ -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>