dropdown for product variant picker

main
alexanderroese 2024-07-13 16:18:28 +02:00
parent e1def29ca8
commit d4544e566a
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
%}
<script>
console.log("1 product variant", "{{ picker_type }}", {{ product | json }}, {{ shx_current_page }})
console.log("2 product variant", "{{ picker_type }}", {{ product | json }}, {{ shx_current_page }})
</script>
{% if shx_current_page contains "texte" %}
@ -57,7 +57,7 @@
{% for product_variant in product.variants %}
<option value="{{ product_variant.title }}">
<div style="display: flex; flex-direction: column">
<span>{{ product_variant.title }}</span>
<span>h {{ product_variant.title }}</span>
</div>
</option>
{% endfor %}