custom/plugins/NetiNextProductDetailCms/src/Resources/views/storefront/page/product-detail/index.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
  2. {% block page_product_detail_tabs %}
  3.     {# The cms element will be shown above the product detail tab menu #}
  4.     {% block neti_product_detail_cms_above_description %}
  5.         {% if page.product.extensions.netiProductCms and page.product.extensions.netiProductCms.getAboveProductDescriptionContent() %}
  6.             {% for content in page.product.extensions.netiProductCms.getAboveProductDescriptionContent() %}
  7.                 <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 %}>
  8.                     {{ content|raw }}
  9.                 </div>
  10.             {% endfor %}
  11.         {% endif %}
  12.     {% endblock %}
  13.     {{ parent() }}
  14.     {# The cms element will be shown below the product detail tab menu #}
  15.     {% block neti_product_detail_cms_below_description %}
  16.         {% if page.product.extensions.netiProductCms and page.product.extensions.netiProductCms.getBelowProductDescriptionContent() %}
  17.             {% for content in page.product.extensions.netiProductCms.getBelowProductDescriptionContent() %}
  18.                 <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 %}>
  19.                     {{ content|raw }}
  20.                 </div>
  21.             {% endfor %}
  22.         {% endif %}
  23.     {% endblock %}
  24. {% endblock %}
  25. {% block page_product_detail_inner %}
  26.     {{ parent() }}
  27.     {% if page.product.extensions.netiProductCms and page.product.extensions.netiProductCms.getLastPageElement() %}
  28.         {% for content in page.product.extensions.netiProductCms.getLastPageElement() %}
  29.             <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 %}>
  30.                 {{ content|raw }}
  31.             </div>
  32.         {% endfor %}
  33.     {% endif %}
  34. {% endblock %}