test
parent
bd8a979fc8
commit
65e73d117c
|
@ -16,13 +16,14 @@
|
|||
-%}
|
||||
|
||||
<script>
|
||||
console.log("3")
|
||||
console.log("4")
|
||||
</script>
|
||||
|
||||
{%- for collection in collections -%}
|
||||
{%- assign filtered_products = collection.products | where: 'tags', tag_to_filter -%}
|
||||
|
||||
|
||||
<script>
|
||||
console.log("tag_to_filter", "{{ tag_to_filter }}")
|
||||
console.log("Processing collection: {{ collection.title }}");
|
||||
console.log("Collection products: ", {{ collection.products | json }});
|
||||
console.log("Filtered products: ", {{ filtered_products | json }});
|
||||
|
|
Loading…
Reference in New Issue