Hallo zusammen
Ich hab ein Problem bei der Anpassung eines Templates.
Bitte habt Nachsicht mit mir, da ich in diesem Thema noch relativ neu unterwegs bin.
Und zwar möchte ich die „description.html.twg.“ so anpassen das mir 3 zusätzliche Produkt-Tabs angezeigt werden.
Habe in Shopware dafür „Zusatzfelder“ angelegt und in den Produkten dann die Texte über den Text-Editor hinterlegt.
Nun habe ich den Code wie folgt angepasst, was jedoch noch nicht passt. Wäre super wenn mir hier jemand behilflich sein kann?
{# own configuration - product description#}
{% if shopware.theme['twt-product-detail-properties-position'] != 2 and shopware.theme['twt-product-detail-properties-info-show'] != 1 %}
{% block customFields.custom_attributes_product_description %}
<div class="twt-customFields.custom_attributes_product_description">
{{ "customFields.custom_attributes_product_description"|trans|sw_sanitize }}
</div>
{% endblock %}
{% endif %}
{# own configuration - product information#}
{% if shopware.theme['twt-product-detail-properties-position'] != 2 and shopware.theme['twt-product-detail-properties-info-show'] != 1 %}
{% block customFields.custom_attributes_product_information %}
<div class="twt-customFields.custom_attributes_product_information">
{{ "customFields.custom_attributes_product_information"|trans|sw_sanitize }}
</div>
{% endblock %}
{% endif %}
{# own configuration - ingredients#}
{% if shopware.theme['twt-product-detail-properties-position'] != 2 and shopware.theme['twt-product-detail-properties-info-show'] != 1 %}
{% block customFields.custom_attributes_ingredients %}
<div class="twt-customFields.custom_attributes_ingredients">
{{ "customFields.custom_attributes_ingredients"|trans|sw_sanitize }}
</div>
{% endblock %}
Vielen Dank
Grüße