dropdown for product variant picker

main
alexanderroese 2024-07-13 17:30:53 +02:00
parent ec45a9a692
commit f2ade20ff2
1 changed files with 2 additions and 1 deletions

View File

@ -81,6 +81,7 @@
padding: 16px;
font-size: 16px;
border: none;
background-color: transparent;
}
.shx-custom-dropbtn:focus {
@ -120,7 +121,7 @@
<div class="shx-custom-dropdown-content" id="shx-custom-dropdown-content">
{% for product_variant in product.variants %}
<div data-value="{{ product_variant.title }}">
<img src="{{ product_variant.featured_image.src | image_url }}" height="100" width="100">
<img src="{{ product_variant.featured_image.src | image_url }}" height="100" width="100" style="border-radius: 4px">
<span>{{ product_variant.title }}</span>
</div>
{% endfor %}