dropdown for product variant picker
parent
0bf13110e5
commit
aad05753e2
|
@ -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' -%}
|
||||
|
|
Loading…
Reference in New Issue