{{ '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 = filter_by_tag assign columns_desktop = 4 assign full_width = true assign image_ratio = 'adapt' assign image_shape = 'default' assign show_secondary_image = true assign show_vendor = false assign show_rating = false assign enable_quick_add = false assign products_to_show = 3 -%} {%- for collection in collections -%} {% assign parts = collection.title | split: "__" %} {% if parts.size == 1 and collection.title != "Figuren" %} {% assign found_tag = false %} {%- for product in collection.products -%} {%- if product.tags contains tag_to_filter -%} {% assign found_tag = true %} {%- endif -%} {%- endfor -%} {% if found_tag %}

{{ collection.title }}

    {%- for product in collection.products limit: products_to_show -%} {%- if product.tags contains tag_to_filter -%}
  • {% render 'card-product', card_product: product, media_aspect_ratio: image_ratio, image_shape: image_shape, show_secondary_image: show_secondary_image, show_vendor: show_vendor, show_rating: show_rating, show_quick_add: enable_quick_add, section_id: collection.id %}
  • {% endif %} {%- endfor -%}
{% if collection.all_products_count > products_to_show %} {% endif %}
{% endif %} {% endif %} {%- endfor -%}