<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @NetiNextProductDetailCms/storefront/page/product-detail/index.html.twig */
class __TwigTemplate_1a4fac1ac758e4a1a860034f3763df1d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_product_detail_tabs' => [$this, 'block_page_product_detail_tabs'],
'neti_product_detail_cms_above_description' => [$this, 'block_neti_product_detail_cms_above_description'],
'neti_product_detail_cms_below_description' => [$this, 'block_neti_product_detail_cms_below_description'],
'page_product_detail_inner' => [$this, 'block_page_product_detail_inner'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@TrustedShopsEasyIntegrationS6/storefront/page/product-detail/index.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NetiNextProductDetailCms/storefront/page/product-detail/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NetiNextProductDetailCms/storefront/page/product-detail/index.html.twig"));
$this->parent = $this->loadTemplate("@TrustedShopsEasyIntegrationS6/storefront/page/product-detail/index.html.twig", "@NetiNextProductDetailCms/storefront/page/product-detail/index.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_page_product_detail_tabs($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_tabs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_tabs"));
// line 4
echo " ";
// line 5
echo " ";
$this->displayBlock('neti_product_detail_cms_above_description', $context, $blocks);
// line 14
echo "
";
// line 15
$this->displayParentBlock("page_product_detail_tabs", $context, $blocks);
echo "
";
// line 18
echo " ";
$this->displayBlock('neti_product_detail_cms_below_description', $context, $blocks);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_neti_product_detail_cms_above_description($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "neti_product_detail_cms_above_description"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "neti_product_detail_cms_above_description"));
// line 6
echo " ";
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 6), "extensions", [], "any", false, false, false, 6), "netiProductCms", [], "any", false, false, false, 6) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 6), "extensions", [], "any", false, false, false, 6), "netiProductCms", [], "any", false, false, false, 6), "getAboveProductDescriptionContent", [], "method", false, false, false, 6))) {
// line 7
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 7), "extensions", [], "any", false, false, false, 7), "netiProductCms", [], "any", false, false, false, 7), "getAboveProductDescriptionContent", [], "method", false, false, false, 7));
foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
// line 8
echo " <div class=\"is--neti-next-productdetailcms is--above-product_description ";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "NetiNextProductDetailCms.config.aboveDescriptionIndention"), "html", null, true);
echo "\" ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "NetiNextProductDetailCms.config.aboveDescriptionInlineStyle")) {
echo " style=\"";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "NetiNextProductDetailCms.config.aboveDescriptionInlineStyle"), "html", null, true);
echo "\" ";
}
echo ">
";
// line 9
echo $context["content"];
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 12
echo " ";
}
// line 13
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 18
public function block_neti_product_detail_cms_below_description($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "neti_product_detail_cms_below_description"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "neti_product_detail_cms_below_description"));
// line 19
echo " ";
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 19), "extensions", [], "any", false, false, false, 19), "netiProductCms", [], "any", false, false, false, 19) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 19), "extensions", [], "any", false, false, false, 19), "netiProductCms", [], "any", false, false, false, 19), "getBelowProductDescriptionContent", [], "method", false, false, false, 19))) {
// line 20
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 20), "extensions", [], "any", false, false, false, 20), "netiProductCms", [], "any", false, false, false, 20), "getBelowProductDescriptionContent", [], "method", false, false, false, 20));
foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
// line 21
echo " <div class=\"is--neti-next-productdetailcms is--below-product_description ";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "NetiNextProductDetailCms.config.belowDescriptionIndention"), "html", null, true);
echo "\" ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "NetiNextProductDetailCms.config.belowDescriptionInlineStyle")) {
echo "style=\"";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "NetiNextProductDetailCms.config.belowDescriptionInlineStyle"), "html", null, true);
echo "\"";
}
echo ">
";
// line 22
echo $context["content"];
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 25
echo " ";
}
// line 26
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 29
public function block_page_product_detail_inner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_product_detail_inner"));
// line 30
echo " ";
$this->displayParentBlock("page_product_detail_inner", $context, $blocks);
echo "
";
// line 32
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 32), "extensions", [], "any", false, false, false, 32), "netiProductCms", [], "any", false, false, false, 32) && sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 32), "extensions", [], "any", false, false, false, 32), "netiProductCms", [], "any", false, false, false, 32), "getLastPageElement", [], "method", false, false, false, 32))) {
// line 33
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["page"] ?? null), "product", [], "any", false, false, false, 33), "extensions", [], "any", false, false, false, 33), "netiProductCms", [], "any", false, false, false, 33), "getLastPageElement", [], "method", false, false, false, 33));
foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
// line 34
echo " <div class=\"is--neti-next-productdetailcms is--last-page-element ";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "NetiNextProductDetailCms.config.lastPageElementIndention"), "html", null, true);
echo "\" ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "NetiNextProductDetailCms.config.lastPageElementInlineStyle")) {
echo "style=\"";
echo sw_escape_filter($this->env, $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "NetiNextProductDetailCms.config.lastPageElementInlineStyle"), "html", null, true);
echo "\"";
}
echo ">
";
// line 35
echo $context["content"];
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 38
echo " ";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@NetiNextProductDetailCms/storefront/page/product-detail/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 240 => 38, 231 => 35, 220 => 34, 215 => 33, 213 => 32, 207 => 30, 197 => 29, 187 => 26, 184 => 25, 175 => 22, 164 => 21, 159 => 20, 156 => 19, 146 => 18, 136 => 13, 133 => 12, 124 => 9, 113 => 8, 108 => 7, 105 => 6, 95 => 5, 84 => 18, 79 => 15, 76 => 14, 73 => 5, 71 => 4, 61 => 3, 38 => 2,);
}
public function getSourceContext()
{
return new Source("{% 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 %}
", "@NetiNextProductDetailCms/storefront/page/product-detail/index.html.twig", "/usr/www/users/betten/betten-abc-alt-und-tot.de/custom/plugins/NetiNextProductDetailCms/src/Resources/views/storefront/page/product-detail/index.html.twig");
}
}