main
alexanderroese 2024-06-18 18:44:52 +02:00
parent d67b3d441f
commit 1c3c112524
1 changed files with 5 additions and 4 deletions

View File

@ -1,13 +1,10 @@
<h1>Hello</h1>
{{ 'component-card.css' | asset_url | stylesheet_tag }}
{{ 'component-price.css' | asset_url | stylesheet_tag }}
{{ 'component-slider.css' | asset_url | stylesheet_tag }}
{{ 'template-collection.css' | asset_url | stylesheet_tag }}
{%- liquid
assign tag_to_filter = 'shx-namensschild'
assign tag_to_filter = 'your-tag'
assign columns_desktop = 4
assign full_width = false
assign image_ratio = 'adapt'
@ -21,6 +18,10 @@
{%- for collection in collections -%}
{%- assign filtered_products = collection.products | where: 'tags', tag_to_filter -%}
<script>
console.log("Processing collection: {{ collection.title }}");
</script>
{%- if filtered_products.size > 0 -%}
<div class="color-scheme isolate gradient">
<div class="collection section-padding{% if full_width %} collection--full-width{% endif %}">