## Kopfzeile: ``` "categoryPath",{#- -#} "brand",{#- -#} "title",{#- -#} "price",{#- -#} "basePrice",{#- -#} "hans",{#- -#} "eans",{#- -#} "deliveryCosts",{#- -#} "url",{#- -#} "delivery",{#- -#} "sku",{#- -#} "imageUrls",{#- -#} "description",{#- -#} "paymentCosts_CashInAdvance",{#- Change or add your payment methods -#} "paymentCosts_CashOnDelivery",{#- Change or add your payment methods -#} "paymentCosts_Invoice"{#- Change or add your payment methods -#} ``` ## Produktzeile: ``` "{%- if product.categories.count > 0 -%} {{ product.categories.first.getBreadCrumb|slice(1)|join(' > ')|raw }}{#- -#} {%- endif -%}",{#- -#} "{{ product.manufacturer.translated.name }}",{#- -#} "{{ product.translated.name }}",{#- -#} {% set price = product.calculatedPrice %} {%- if product.calculatedPrices.count > 0 -%} {% set price = product.calculatedPrices.last %} {%- endif -%} "{{ price.unitPrice|currency }}",{#- -#} "{%- if price.referencePrice is not null -%} {{ price.referencePrice.price|currency }} / {{ price.referencePrice.referenceUnit }} {{ price.referencePrice.unitName }}{#- -#} {%- endif -%}",{#- -#} "{{ product.manufacturerNumber }}", {#- -#} "{{ product.ean }}",{#- -#} "{{ 4.95|currency }}",{#- Change to your delivery costs -#} "{{ seoUrl('frontend.detail.page', {'productId': product.id}) }}",{#- -#} "{%- if product.availableStock >= product.minPurchase and product.deliveryTime -%} {{ "detail.deliveryTimeAvailable"|trans({'%name%': product.deliveryTime.translation('name')}) }}{#- -#} {%- elseif product.availableStock < product.minPurchase and product.deliveryTime and product.restockTime -%} {{ "detail.deliveryTimeRestock"|trans({'%count%': product.restockTime,'%restockTime%': product.restockTime,'%name%': product.deliveryTime.translation('name')}) }}{#- -#} {%- else -%} {{ "detail.soldOut"|trans }}{#- -#} {%- endif -%}",{#- -#} "{{ product.productNumber }}",{#- -#} "{% if product.cover is not null %}{{ product.cover.media.url }}{% endif %}",{#- -#} "{{ product.translated.description|raw|length > 300 ? product.translated.description|raw|slice(0,300) ~ '...' : product.translated.description|sw_sanitize }}",{#- -#} "0.00",{#- Change or add your payment methods -#} "0.00",{#- Change or add your payment methods -#} "0.00"{#- Change or add your payment methods -#} ``` # Produktzeile: ``` "{%- if product.categories.count > 0 -%} {{ product.categories.first.getBreadCrumb|slice(1)|join(' > ')|raw }}{#- -#} {%- endif -%}";{#- -#} "{{ product.manufacturer.translated.name }}";{#- -#} "{{ product.translated.name }}";{#- -#} {% set price = product.calculatedPrice %} {%- if product.calculatedPrices.count > 0 -%} {% set price = product.calculatedPrices.last %} {%- endif -%} "{{ price.unitPrice|currency }}";{#- -#} "{%- if price.referencePrice is not null -%} {{ price.referencePrice.price|currency }} / {{ price.referencePrice.referenceUnit }} {{ price.referencePrice.unitName }}{#- -#} {%- endif -%}";{#- -#} "{{ product.manufacturerNumber }}"; {#- -#} "{{ product.ean }}";{#- -#} "{% if price.unitPrice <= 70.00 %} {{ 4.90|currency }}{#- -#} {% else %} {{ 0.00|currency }}{#- -#} {% endif %}";{#- -#} "{{ seoUrl('frontend.detail.page', {'productId': product.id}) }}";{#- -#} "{%- if product.availableStock >= product.minPurchase and product.deliveryTime -%} {{ "detail.deliveryTimeAvailable"|trans({'%name%': product.deliveryTime.translation('name')}) }}{#- -#} {%- elseif product.availableStock < product.minPurchase and product.deliveryTime and product.restockTime -%} {{ "detail.deliveryTimeRestock"|trans({'%count%': product.restockTime,'%restockTime%': product.restockTime,'%name%': product.deliveryTime.translation('name')}) }}{#- -#} {%- else -%} {{ "detail.soldOut"|trans }}{#- -#} {%- endif -%}";{#- -#} "{{ product.productNumber }}";{#- -#} "{% if product.cover is not null %}{{ product.cover.media.url }}{% endif %}";{#- -#} "{{ product.translated.description|striptags|length > 300 ? product.translated.description|striptags|slice(0,300) ~ '...' : product.translated.description|striptags }}";{#- -#} "0.00";{#- Change or add your payment methods -#} "0.00";{#- Change or add your payment methods -#} "0.00"{#- Change or add your payment methods -#} ``` ``` "{%- if product.categories.count > 0 -%} Sport & Outdoor > Sportartikel > Tischtennis > {{ product.categories.first.getBreadCrumb|slice(1)|join(' > ')|raw }}{#- -#} {%- endif -%}";{#- -#} "{{ product.manufacturer.translated.name }}";{#- -#} "{{ product.translated.name }}";{#- -#} {% set price = product.calculatedPrice %} {%- if product.calculatedPrices.count > 0 -%} {% set price = product.calculatedPrices.last %} {%- endif -%} "{{ price.unitPrice|currency }}";{#- -#} "{%- if price.referencePrice is not null -%} {{ price.referencePrice.price|currency }} / {{ price.referencePrice.referenceUnit }} {{ price.referencePrice.unitName }}{#- -#} {%- endif -%}";{#- -#} "{{ product.manufacturerNumber }}"; {#- -#} "{{ product.ean }}";{#- -#} "{% if price.unitPrice <= 70.00 %} {{ 4.90|currency }}{#- -#} {% else %} {{ 0.00|currency }}{#- -#} {% endif %}";{#- -#} "{{ seoUrl('frontend.detail.page', {'productId': product.id}) }}";{#- -#} "{%- if product.availableStock >= product.minPurchase and product.deliveryTime -%} {{ "detail.deliveryTimeAvailable"|trans({'%name%': product.deliveryTime.translation('name')}) }}{#- -#} {%- elseif product.availableStock < product.minPurchase and product.deliveryTime and product.restockTime -%} {{ "detail.deliveryTimeRestock"|trans({'%count%': product.restockTime,'%restockTime%': product.restockTime,'%name%': product.deliveryTime.translation('name')}) }}{#- -#} {%- else -%} {{ "detail.soldOut"|trans }}{#- -#} {%- endif -%}";{#- -#} "{{ product.productNumber }}";{#- -#} "{% if product.cover is not null %}{{ product.cover.media.url }}{% endif %}";{#- -#} "{{ product.translated.description|striptags|length > 300 ? product.translated.description|striptags|slice(0,300) ~ '...' : product.translated.description|striptags }}";{#- -#} "0.00";{#- Change or add your payment methods -#} "0.00";{#- Change or add your payment methods -#} "0.00"{#- Change or add your payment methods -#} ``` Mit Varianten Bezeichnung ``` "{%- if product.categories.count > 0 -%} Sport & Outdoor > Sportartikel > Tischtennis > {{ product.categories.first.getBreadCrumb|slice(1)|join(' > ')|raw }}{#- -#} {%- endif -%}";{#- -#} "{{ product.manufacturer.translated.name }}";{#- -#} "{{ product.translated.name }}";{#- -#} "{%- for option in product.options -%} {{ option.name }}{#- -#} {%- endfor -%}";{#- -#} {% set price = product.calculatedPrice %} {%- if product.calculatedPrices.count > 0 -%} {% set price = product.calculatedPrices.last %} {%- endif -%} "{{ price.unitPrice|currency }}";{#- -#} "{%- if price.referencePrice is not null -%} {{ price.referencePrice.price|currency }} / {{ price.referencePrice.referenceUnit }} {{ price.referencePrice.unitName }}{#- -#} {%- endif -%}";{#- -#} "{{ product.manufacturerNumber }}"; {#- -#} "{{ product.ean }}";{#- -#} "{% if price.unitPrice <= 70.00 %} {{ 4.90|currency }}{#- -#} {% else %} {{ 0.00|currency }}{#- -#} {% endif %}";{#- -#} "{{ seoUrl('frontend.detail.page', {'productId': product.id}) }}";{#- -#} "{%- if product.availableStock >= product.minPurchase and product.deliveryTime -%} {{ "detail.deliveryTimeAvailable"|trans({'%name%': product.deliveryTime.translation('name')}) }}{#- -#} {%- elseif product.availableStock < product.minPurchase and product.deliveryTime and product.restockTime -%} {{ "detail.deliveryTimeRestock"|trans({'%count%': product.restockTime,'%restockTime%': product.restockTime,'%name%': product.deliveryTime.translation('name')}) }}{#- -#} {%- else -%} {{ "detail.soldOut"|trans }}{#- -#} {%- endif -%}";{#- -#} "{{ product.productNumber }}";{#- -#} "{% if product.cover is not null %}{{ product.cover.media.url }}{% endif %}";{#- -#} "{{ product.translated.description|striptags|length > 300 ? product.translated.description|striptags|slice(0,300) ~ '...' : product.translated.description|striptags }}";{#- -#} "0.00";{#- Change or add your payment methods -#} "0.00";{#- Change or add your payment methods -#} "0.00"{#- Change or add your payment methods -#} ``` Mit Kategorie Zuordnung - Test: ``` {%- if product.categories.count > 0 -%} {% set run = true %} {% for main_categories in product.categories.sortByPosition() %} {% if main_categories.breadcrumb|first == 'TT-Xpert-Tischtennis-Onlineshop' && run %} {% set run = false %} {%- if main_categories.breadcrumb[1]|raw == 'Beläge & Hölzer' -%} {%- if main_categories.breadcrumb[2]|raw == 'Beläge' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Schlägerbelag" }}{#- -#} {%- endif -%} {%- if main_categories.breadcrumb[2]|raw == 'Hölzer' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Schlägerblatt" }}{#- -#} {%- endif -%} {%- endif -%} {%- if main_categories.breadcrumb[1]|raw == 'TT-Ausrüstung' -%} {%- if main_categories.breadcrumb[2]|raw == 'Bälle' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennisball" }}{#- -#} {% else %} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennis-Zubehör" }}{#- -#} {%- endif -%} {%- endif -%} {% endif %} {% endfor %} {%- endif -%};{#- -#} "{{ product.manufacturer.translated.name }}";{#- -#} "{{ product.translated.name }}";{#- -#} "{%- for option in product.options -%} {{ option.name }}{#- -#} {%- endfor -%}";{#- -#} {% set price = product.calculatedPrice %} {%- if product.calculatedPrices.count > 0 -%} {% set price = product.calculatedPrices.last %} {%- endif -%} "{{ price.unitPrice|currency }}";{#- -#} "{%- if price.referencePrice is not null -%} {{ price.referencePrice.price|currency }} / {{ price.referencePrice.referenceUnit }} {{ price.referencePrice.unitName }}{#- -#} {%- endif -%}";{#- -#} "{{ product.manufacturerNumber }}"; {#- -#} "{{ product.ean }}";{#- -#} "{% if price.unitPrice <= 70.00 %} {{ 4.90|currency }}{#- -#} {% else %} {{ 0.00|currency }}{#- -#} {% endif %}";{#- -#} "{{ seoUrl('frontend.detail.page', {'productId': product.id}) }}";{#- -#} "{%- if product.availableStock >= product.minPurchase and product.deliveryTime -%} {{ "detail.deliveryTimeAvailable"|trans({'%name%': product.deliveryTime.translation('name')}) }}{#- -#} {%- elseif product.availableStock < product.minPurchase and product.deliveryTime and product.restockTime -%} {{ "detail.deliveryTimeRestock"|trans({'%count%': product.restockTime,'%restockTime%': product.restockTime,'%name%': product.deliveryTime.translation('name')}) }}{#- -#} {%- else -%} {{ "detail.soldOut"|trans }}{#- -#} {%- endif -%}";{#- -#} "{{ product.productNumber }}";{#- -#} "{% if product.cover is not null %}{{ product.cover.media.url }}{% endif %}";{#- -#} "{{ product.translated.description|striptags|length > 300 ? product.translated.description|striptags|slice(0,300) ~ '...' : product.translated.description|striptags }}";{#- -#} "0.00";{#- Change or add your payment methods -#} "0.00";{#- Change or add your payment methods -#} "0.00"{#- Change or add your payment methods -#} ``` ``` {%- if product.categories.count > 0 -%} {% set run = true %} {% for main_categories in product.categories.sortByPosition() %} {% if main_categories.breadcrumb|first == 'TT-Xpert-Tischtennis-Onlineshop' && run %} {% set run = false %} {%- if main_categories.breadcrumb[1]|raw == 'Beläge & Hölzer' -%} {%- if main_categories.breadcrumb[2]|raw == 'Beläge' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Schlägerbelag" }}{#- -#} {%- elseif main_categories.breadcrumb[2]|raw == 'Hölzer' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Schlägerblatt" }}{#- -#} {%- endif -%} {%- elseif main_categories.breadcrumb[1]|raw == 'TT-Ausrüstung' -%} {%- if main_categories.breadcrumb[2]|raw == 'Kleber + Zubehör' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennis-Zubehör" }};{#- -#} {%- elseif main_categories.breadcrumb[2]|raw == 'Taschen + Hüllen' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennis-Zubehör" }};{#- -#} {%- elseif main_categories.breadcrumb[2]|raw == 'Schläger' -%} {%- if main_categories.breadcrumb[3]|raw == 'Forgeschrittene' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennisschläger > Fortgeschrittene" }};{#- -#} {%- elseif main_categories.breadcrumb[3]|raw == 'Professional' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennisschläger > Profis" }};{#- -#} {% else %} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennis-Zubehör" }};{#- -#} {%- endif -%} {%- elseif main_categories.breadcrumb[2]|raw == 'Bälle' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennis-Zubehör > Tischtennisball" }};{#- -#} {%- elseif main_categories.breadcrumb[2]|raw == 'Tische + Netze' -%} {%- if main_categories.breadcrumb[3]|raw == 'Wettkampf Tische' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennisplatten" }};{#- -#} {%- elseif main_categories.breadcrumb[3]|raw == 'Freizeit Tische' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennisplatten" }};{#- -#} {%- elseif main_categories.breadcrumb[3]|raw == 'Wettkampf Netze' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennis-Zubehör > Tischtennisnetz" }};{#- -#} {%- elseif main_categories.breadcrumb[3]|raw == 'Freizeit Netze' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennis-Zubehör > Tischtennisnetz" }};{#- -#} {% else %} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennis-Zubehör" }};{#- -#} {%- endif -%} {%- elseif main_categories.breadcrumb[2]|raw == 'Vereinsbedarf' -%} {%- if main_categories.breadcrumb|length > 3 && main_categories.breadcrumb[3]|raw == 'Roboter' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennis-Zubehör > Tischtennis-Roboter" }};{#- -#} {% else %} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennis-Zubehör" }};{#- -#} {%- endif -%} {%- elseif main_categories.breadcrumb[2]|raw == 'Vereinszuböhr' -%} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennis-Zubehör" }};{#- -#} {% else %} {{ "Sport & Outdoor > Sportartikel > Tischtennis > Tischtennis-Zubehör" }};{#- -#} {% endif %} {% else %} {{ "Sport & Outdoor > Sportartikel > Tischtennis" }}{#- -#} {% endif %} {% endif %} {% endfor %} {%- endif -%};{#- -#} "{{ product.manufacturer.translated.name }}";{#- -#} "{{ product.translated.name }}";{#- -#} "{%- for option in product.options -%} {{ option.name }}{#- -#} {%- endfor -%}";{#- -#} {% set price = product.calculatedPrice %} {%- if product.calculatedPrices.count > 0 -%} {% set price = product.calculatedPrices.last %} {%- endif -%} "{{ price.unitPrice|currency }}";{#- -#} "{%- if price.referencePrice is not null -%} {{ price.referencePrice.price|currency }} / {{ price.referencePrice.referenceUnit }} {{ price.referencePrice.unitName }}{#- -#} {%- endif -%}";{#- -#} "{{ product.manufacturerNumber }}"; {#- -#} "{{ product.ean }}";{#- -#} "{% if price.unitPrice <= 70.00 %} {{ 4.90|currency }}{#- -#} {% else %} {{ 0.00|currency }}{#- -#} {% endif %}";{#- -#} "{{ seoUrl('frontend.detail.page', {'productId': product.id}) }}";{#- -#} "{%- if product.availableStock >= product.minPurchase and product.deliveryTime -%} {{ "detail.deliveryTimeAvailable"|trans({'%name%': product.deliveryTime.translation('name')}) }}{#- -#} {%- elseif product.availableStock < product.minPurchase and product.deliveryTime and product.restockTime -%} {{ "detail.deliveryTimeRestock"|trans({'%count%': product.restockTime,'%restockTime%': product.restockTime,'%name%': product.deliveryTime.translation('name')}) }}{#- -#} {%- else -%} {{ "detail.soldOut"|trans }}{#- -#} {%- endif -%}";{#- -#} "{{ product.productNumber }}";{#- -#} "{% if product.cover is not null %}{{ product.cover.media.url }}{% endif %}";{#- -#} "{{ product.translated.description|striptags|length > 300 ? product.translated.description|striptags|slice(0,300) ~ '...' : product.translated.description|striptags }}";{#- -#} "0.00";{#- Change or add your payment methods -#} "0.00";{#- Change or add your payment methods -#} "0.00"{#- Change or add your payment methods -#} ```