main
alexanderroese 2024-06-18 19:08:58 +02:00
parent 65e73d117c
commit c29f91e62d
1 changed files with 2 additions and 2 deletions

View File

@ -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 }});