{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
{% block page_product_detail_tabs %}
{# The cms element will be shown above the product detail tab menu #}
{% block neti_product_detail_cms_above_description %}
{% if page.product.extensions.netiProductCms and page.product.extensions.netiProductCms.getAboveProductDescriptionContent() %}
{% for content in page.product.extensions.netiProductCms.getAboveProductDescriptionContent() %}
<div class="is--neti-next-productdetailcms is--above-product_description {{ config('NetiNextProductDetailCms.config.aboveDescriptionIndention') }}" {% if config('NetiNextProductDetailCms.config.aboveDescriptionInlineStyle') %} style="{{ config('NetiNextProductDetailCms.config.aboveDescriptionInlineStyle') }}" {% endif %}>
{{ content|raw }}
</div>
{% endfor %}
{% endif %}
{% endblock %}
{{ parent() }}
{# The cms element will be shown below the product detail tab menu #}
{% block neti_product_detail_cms_below_description %}
{% if page.product.extensions.netiProductCms and page.product.extensions.netiProductCms.getBelowProductDescriptionContent() %}
{% for content in page.product.extensions.netiProductCms.getBelowProductDescriptionContent() %}
<div class="is--neti-next-productdetailcms is--below-product_description {{ config('NetiNextProductDetailCms.config.belowDescriptionIndention') }}" {% if config('NetiNextProductDetailCms.config.belowDescriptionInlineStyle') %}style="{{ config('NetiNextProductDetailCms.config.belowDescriptionInlineStyle') }}"{% endif %}>
{{ content|raw }}
</div>
{% endfor %}
{% endif %}
{% endblock %}
{% endblock %}
{% block page_product_detail_inner %}
{{ parent() }}
{% if page.product.extensions.netiProductCms and page.product.extensions.netiProductCms.getLastPageElement() %}
{% for content in page.product.extensions.netiProductCms.getLastPageElement() %}
<div class="is--neti-next-productdetailcms is--last-page-element {{ config('NetiNextProductDetailCms.config.lastPageElementIndention') }}" {% if config('NetiNextProductDetailCms.config.lastPageElementInlineStyle') %}style="{{ config('NetiNextProductDetailCms.config.lastPageElementInlineStyle') }}"{% endif %}>
{{ content|raw }}
</div>
{% endfor %}
{% endif %}
{% endblock %}