test
parent
65e73d117c
commit
c29f91e62d
|
@ -17,13 +17,13 @@
|
|||
|
||||
<script>
|
||||
console.log("4")
|
||||
console.log("tag_to_filter", "{{ tag_to_filter }}")
|
||||
</script>
|
||||
|
||||
{%- for collection in collections -%}
|
||||
{%- assign filtered_products = collection.products | where: 'tags', tag_to_filter -%}
|
||||
{%- assign filtered_products = collection.products | where: 'tags', 'shx-namensschild' -%}
|
||||
|
||||
<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