dropdown for product variant picker

main
alexanderroese 2024-07-13 15:33:06 +02:00
parent 0bf13110e5
commit aad05753e2
1 changed files with 7 additions and 1 deletions

View File

@ -41,11 +41,17 @@
%}
<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 variant in product.variants %}
<script>
consent.log("variant", {{ variant | json }})
</script>
{% endfor %}
{% endif %}
{%- if picker_type == 'swatch' -%}