dropdown for product variant picker
parent
edb1275e09
commit
2ef57ae845
|
@ -84,6 +84,11 @@
|
|||
.shx-custom-dropbtn:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.shx-custom-dropdown-variant {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
</style>
|
||||
|
||||
{% if shx_current_page contains "texte" %}
|
||||
|
@ -112,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 data-value="{{ product_variant.title }}">
|
||||
<div class="shx-custom-dropdown-variant" data-value="{{ product_variant.title }}">
|
||||
<img src="https://shinnex.de/cdn/shop/files/97548.webp?v=1720209711&width=600" height="200" width="200">
|
||||
<span>{{ product_variant.title }}</span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue