dropdown for product variant picker
parent
ec45a9a692
commit
f2ade20ff2
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue