dropdown for product variant picker

main
alexanderroese 2024-07-13 15:26:53 +02:00
parent 85849e4c21
commit 9a64c4984d
1 changed files with 7 additions and 1 deletions

View File

@ -34,8 +34,14 @@
endif
-%}
{% liquid
capture shx_current_page
render "shx-get-current-page"
endcapture
%}
<script>
console.log("3 product variant", "{{ picker_type }}", {{ product | json }})
console.log("1 product variant", "{{ picker_type }}", {{ product | json }}, {{ shx_current_page }})
</script>
{%- if picker_type == 'swatch' -%}