dropdown for product variant picker

main
alexanderroese 2024-07-13 16:41:07 +02:00
parent 5025263bc5
commit 687c918a6b
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@
padding: 12px 16px;
text-decoration: none;
display: flex;
flex-direction: column;
flex-direction: row;
cursor: pointer;
}
@ -117,7 +117,7 @@
<button class="shx-custom-dropbtn" id="shx-custom-selected">Select Product Variant</button>
<div class="shx-custom-dropdown-content" id="shx-custom-dropdown-content">
{% for product_variant in product.variants %}
<div class="shx-custom-dropdown-variant" data-value="{{ product_variant.title }}">
<div data-value="{{ product_variant.title }}">
<img src="https://shinnex.de/cdn/shop/files/97548.webp?v=1720209711&width=600" height="120" width="120">
<span>{{ product_variant.title }}</span>
</div>