dropdown for product variant picker
parent
eb1bcb7450
commit
960f3beee9
|
@ -41,7 +41,7 @@
|
|||
%}
|
||||
|
||||
<script>
|
||||
console.log("3 product variant", "{{ picker_type }}", {{ product | json }}, {{ shx_current_page }})
|
||||
console.log("1 product variant", "{{ picker_type }}", {{ product | json }}, {{ shx_current_page }})
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
@ -120,7 +120,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 }}" height="100" width="100">
|
||||
<img src="{{ product_variant.featured_image.src | asset_url }}" height="100" width="100">
|
||||
<span>{{ product_variant.title }}</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue