dropdown for product variant picker

main
alexanderroese 2024-07-13 15:38:25 +02:00
parent d167b2c3df
commit 92b5e77472
1 changed files with 2 additions and 2 deletions

View File

@ -41,14 +41,14 @@
%}
<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>
{% if shx_current_page contains "texte" %}
<h3>Texte Dropdown</h3>
{% for product_variant in product.variants %}
<span>{{ product_variant | json }}</span>
<span>{{ product_variant.title }}</span>
{% endfor %}
{% endif %}