select with images
parent
68ada2d4a6
commit
a2b34cd81e
|
@ -3699,8 +3699,6 @@ img {
|
|||
background-color: #e9e9e9;
|
||||
}
|
||||
|
||||
/*
|
||||
.shx-custom-enhanced-dropdown-hide-dummy-select {
|
||||
display: none;
|
||||
}
|
||||
*/
|
||||
|
|
|
@ -134,7 +134,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</button>
|
||||
<div class="shx-custom-enhanced-dropdown-content" id="shx-custom-variant-picker-dropdown-content">
|
||||
<div class="shx-custom-enhanced-dropdown-content shx-custom-variant-picker-dropdown-content" id="shx-custom-variant-picker-dropdown-content">
|
||||
{% for product_variant in product.variants %}
|
||||
<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">
|
||||
|
|
Loading…
Reference in New Issue