dropdown for product variant picker

main
alexanderroese 2024-07-13 15:37:40 +02:00
parent 0f6916f796
commit d167b2c3df
1 changed files with 2 additions and 4 deletions

View File

@ -41,16 +41,14 @@
%}
<script>
console.log("2 product variant", "{{ picker_type }}", {{ product | json }}, {{ shx_current_page }})
console.log("3 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 %}
<script>
consent.log({{ product_variant | json }})
</script>
<span>{{ product_variant | json }}</span>
{% endfor %}
{% endif %}