{% assign previous_type = '' %}
{% assign categories_id_used = false %}
{% assign faq_id_used = false %}
{% for block in section.blocks %}
{% case block.type %}
{% when 'announcement_bar' %}
{% if previous_type == 'category_card' %}
{% endif %}
{% if previous_type == 'faq_item' %}{% endif %}
{{ block.settings.text }}
{% when 'header_nav' %}
{% if previous_type == 'category_card' %}{% endif %}
{% if previous_type == 'faq_item' %}{% endif %}
{% if block.settings.logo_image != blank %}
{% else %}
{{ block.settings.logo_text | slice: 0, 2 | upcase }}
{% endif %}
{{ block.settings.logo_text }}{% if block.settings.logo_text_accent != blank %} {{ block.settings.logo_text_accent }}{% endif %}
{% if block.settings.tagline != blank %}
{{ block.settings.tagline }}
{% endif %}
{% if block.settings.show_search %}
{% endif %}
{% if block.settings.badge_text != blank %}
{{ block.settings.badge_text }}
{% endif %}
{{ block.settings.heading }}{% if block.settings.heading_accent != blank %} {{ block.settings.heading_accent }}{% endif %}
{% if block.settings.subtitle != blank %}{{ block.settings.subtitle }}
{% endif %} {% if block.settings.button_label != blank or block.settings.button_label_2 != blank %}
{% if block.settings.button_label != blank %}
{{ block.settings.button_label }}
{% endif %}
{% if block.settings.button_label_2 != blank %}
{{ block.settings.button_label_2 }}
{% endif %}
{% endif %}
Kategorien & Unterfunktionen
Klicke auf ein TCG, um die ausklappbaren Unterfunktionen zu öffnen.
{% assign categories_id_used = true %}
{% endunless %}
▼
{% when 'product_grid' %}
{% if previous_type == 'category_card' %}
{{ block.settings.publisher }}
{{ block.settings.title }}
{% if block.settings.link_1_label != blank %}➔ {{ block.settings.link_1_label }}{% endif %}
{% if block.settings.link_2_label != blank %}➔ {{ block.settings.link_2_label }}{% endif %}
{% if block.settings.link_3_label != blank %}➔ {{ block.settings.link_3_label }}{% endif %}
{% if block.settings.link_4_label != blank %}➔ {{ block.settings.link_4_label }}{% endif %}
{{ block.settings.heading | default: 'Produkte' }}
{% if block.settings.collection != blank %} {{ block.settings.collection.products_count }} Produkte gefunden {% endif %}Bitte im Theme-Editor eine Kollektion für diesen Block auswählen.
{% else %}
{% for product in block.settings.collection.products limit: block.settings.products_to_show %}
{% assign variant = product.selected_or_first_available_variant %}
{% else %}
{% endif %}
{% if product.featured_image %}
{% endif %}
{% if product.type != blank %}
{{ product.type }}
{% endif %}
{{ product.title }}
{% if product.vendor != blank %}{{ product.vendor }}
{% endif %}
{{ variant.price | money }}
Keine Produkte in dieser Kollektion verfügbar.
{% endfor %}
Häufig gestellte Fragen (FAQ)
{% assign faq_id_used = true %}
{% endunless %}
{% endcase %}
{% assign previous_type = block.type %}
{% endfor %}
{% if previous_type == 'category_card' %}
{{ block.settings.answer }}
Dein Warenkorb
Gesamtsumme:
{{ cart.total_price | money }}
Zur Kasse
Neue Antwort.
" } ] } ], "presets": [ { "name": "Friesers Storefront BB", "blocks": [ { "type": "announcement_bar" }, { "type": "header_nav", "settings": { "logo_text": "FRIESER'S", "logo_text_accent": "CARDS", "tagline": "Trading Cards & Games", "main_menu": "main-menu", "show_search": true, "cart_label": "Warenkorb" } }, { "type": "hero_banner" }, { "type": "category_card", "settings": { "title": "Dragon Ball Super", "publisher": "Bandai", "accent_color": "#FF2A4B", "link_1_label": "Alle DBS Artikel", "link_2_label": "Booster Displays & Boxen", "link_3_label": "Einzelkarten (SCR / SPR)", "link_4_label": "Starter Decks" } }, { "type": "category_card", "settings": { "title": "Pokémon TCG", "publisher": "The Pokémon Company", "accent_color": "#FACC15", "link_1_label": "Alle Pokémon Artikel", "link_2_label": "Top-Trainer-Boxen (ETBs)", "link_3_label": "Booster Bundles & Tins", "link_4_label": "Vintage Cards (Graded)" } }, { "type": "category_card", "settings": { "title": "One Piece Card Game", "publisher": "Bandai", "accent_color": "#EF4444", "link_1_label": "Alle One Piece Artikel", "link_2_label": "OP-01 bis OP-08 Displays", "link_3_label": "Manga Rares & Leader Cards" } }, { "type": "category_card", "settings": { "title": "Yu-Gi-Oh!", "publisher": "Konami", "accent_color": "#C084FC", "link_1_label": "Alle Yu-Gi-Oh! Artikel", "link_2_label": "Core Booster Boxen", "link_3_label": "Starlight & Quarter Century" } }, { "type": "category_card", "settings": { "title": "Magic: The Gathering", "publisher": "WotC", "accent_color": "#F59E0B", "link_1_label": "Collector Displays", "link_2_label": "Commander Decks" } }, { "type": "category_card", "settings": { "title": "Disney Lorcana", "publisher": "Ravensburger", "accent_color": "#60A5FA", "link_1_label": "Display Boxen", "link_2_label": "Enchanted Cards" } }, { "type": "category_card", "settings": { "title": "Flesh and Blood", "publisher": "LSS", "accent_color": "#34D399", "link_1_label": "Booster Displays", "link_2_label": "Cold Foils" } }, { "type": "category_card", "settings": { "title": "Digimon Card Game", "publisher": "Bandai", "accent_color": "#EC4899", "link_1_label": "Booster Displays", "link_2_label": "Alt-Art Single Cards" } }, { "type": "product_grid" }, { "type": "faq_item", "settings": { "question": "Wie werden wertvolle Einzelkarten verpackt?", "answer": "Jede Einzelkarte wird sofort in eine Sleeve (Schutzhülle) gesteckt, gefolgt von einem Toploader oder Semi-Rigid Holder, kanten-geschützt und knickfrei versendet.
" } }, { "type": "faq_item", "settings": { "question": "Sind alle Booster Displays originalverschweißt (Sealed)?", "answer": "Ja, absolut. Wir verkaufen ausschließlich originalverpackte und vom Hersteller versiegelte Ware direkt von offiziellen Distributoren.
" } } ] } ] } {% endschema %}