dropdown for product variant picker
parent
621e7c8a7a
commit
ec45a9a692
|
@ -119,11 +119,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 %}
|
||||
{% assign my_arr = product_variant.featured_image.src | split: "/" %}
|
||||
{% assign f_img = my_arr[1] %}
|
||||
|
||||
<div data-value="{{ product_variant.title }}">
|
||||
<span>fimg: {{ product_variant.featured_image.src }}</span>
|
||||
<img src="{{ product_variant.featured_image.src | image_url }}" height="100" width="100">
|
||||
<span>{{ product_variant.title }}</span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue