var/cache/dev_h61dab171fcb3dd073fc68bfbeb4d9256/twig/42/427466fbe45cc256f4a9a2f62f1dd69d02ce2182da5a333d073a907967045acf.php line 43

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @NetiNextProductDetailCms/storefront/page/product-detail/index.html.twig */
  16. class __TwigTemplate_1a4fac1ac758e4a1a860034f3763df1d extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'page_product_detail_tabs' => [$this'block_page_product_detail_tabs'],
  26.             'neti_product_detail_cms_above_description' => [$this'block_neti_product_detail_cms_above_description'],
  27.             'neti_product_detail_cms_below_description' => [$this'block_neti_product_detail_cms_below_description'],
  28.             'page_product_detail_inner' => [$this'block_page_product_detail_inner'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "@TrustedShopsEasyIntegrationS6/storefront/page/product-detail/index.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@NetiNextProductDetailCms/storefront/page/product-detail/index.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@NetiNextProductDetailCms/storefront/page/product-detail/index.html.twig"));
  43.         $this->parent $this->loadTemplate("@TrustedShopsEasyIntegrationS6/storefront/page/product-detail/index.html.twig""@NetiNextProductDetailCms/storefront/page/product-detail/index.html.twig"2);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 3
  51.     public function block_page_product_detail_tabs($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_tabs"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_tabs"));
  58.         // line 4
  59.         echo "    ";
  60.         // line 5
  61.         echo "    ";
  62.         $this->displayBlock('neti_product_detail_cms_above_description'$context$blocks);
  63.         // line 14
  64.         echo "
  65.     ";
  66.         // line 15
  67.         $this->displayParentBlock("page_product_detail_tabs"$context$blocks);
  68.         echo "
  69.     ";
  70.         // line 18
  71.         echo "    ";
  72.         $this->displayBlock('neti_product_detail_cms_below_description'$context$blocks);
  73.         
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  75.         
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  77.     }
  78.     // line 5
  79.     public function block_neti_product_detail_cms_above_description($context, array $blocks = [])
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""neti_product_detail_cms_above_description"));
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""neti_product_detail_cms_above_description"));
  86.         // line 6
  87.         echo "        ";
  88.         if ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse6), "extensions", [], "any"falsefalsefalse6), "netiProductCms", [], "any"falsefalsefalse6) && sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse6), "extensions", [], "any"falsefalsefalse6), "netiProductCms", [], "any"falsefalsefalse6), "getAboveProductDescriptionContent", [], "method"falsefalsefalse6))) {
  89.             // line 7
  90.             echo "            ";
  91.             $context['_parent'] = $context;
  92.             $context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse7), "extensions", [], "any"falsefalsefalse7), "netiProductCms", [], "any"falsefalsefalse7), "getAboveProductDescriptionContent", [], "method"falsefalsefalse7));
  93.             foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
  94.                 // line 8
  95.                 echo "                <div class=\"is--neti-next-productdetailcms is--above-product_description ";
  96.                 echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"NetiNextProductDetailCms.config.aboveDescriptionIndention"), "html"nulltrue);
  97.                 echo "\" ";
  98.                 if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"NetiNextProductDetailCms.config.aboveDescriptionInlineStyle")) {
  99.                     echo " style=\"";
  100.                     echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"NetiNextProductDetailCms.config.aboveDescriptionInlineStyle"), "html"nulltrue);
  101.                     echo "\" ";
  102.                 }
  103.                 echo ">
  104.                     ";
  105.                 // line 9
  106.                 echo $context["content"];
  107.                 echo "
  108.                 </div>
  109.             ";
  110.             }
  111.             $_parent $context['_parent'];
  112.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']);
  113.             $context array_intersect_key($context$_parent) + $_parent;
  114.             // line 12
  115.             echo "        ";
  116.         }
  117.         // line 13
  118.         echo "    ";
  119.         
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  121.         
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  123.     }
  124.     // line 18
  125.     public function block_neti_product_detail_cms_below_description($context, array $blocks = [])
  126.     {
  127.         $macros $this->macros;
  128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""neti_product_detail_cms_below_description"));
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""neti_product_detail_cms_below_description"));
  132.         // line 19
  133.         echo "        ";
  134.         if ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse19), "extensions", [], "any"falsefalsefalse19), "netiProductCms", [], "any"falsefalsefalse19) && sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse19), "extensions", [], "any"falsefalsefalse19), "netiProductCms", [], "any"falsefalsefalse19), "getBelowProductDescriptionContent", [], "method"falsefalsefalse19))) {
  135.             // line 20
  136.             echo "            ";
  137.             $context['_parent'] = $context;
  138.             $context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse20), "extensions", [], "any"falsefalsefalse20), "netiProductCms", [], "any"falsefalsefalse20), "getBelowProductDescriptionContent", [], "method"falsefalsefalse20));
  139.             foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
  140.                 // line 21
  141.                 echo "                <div class=\"is--neti-next-productdetailcms is--below-product_description ";
  142.                 echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"NetiNextProductDetailCms.config.belowDescriptionIndention"), "html"nulltrue);
  143.                 echo "\" ";
  144.                 if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"NetiNextProductDetailCms.config.belowDescriptionInlineStyle")) {
  145.                     echo "style=\"";
  146.                     echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"NetiNextProductDetailCms.config.belowDescriptionInlineStyle"), "html"nulltrue);
  147.                     echo "\"";
  148.                 }
  149.                 echo ">
  150.                     ";
  151.                 // line 22
  152.                 echo $context["content"];
  153.                 echo "
  154.                 </div>
  155.             ";
  156.             }
  157.             $_parent $context['_parent'];
  158.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']);
  159.             $context array_intersect_key($context$_parent) + $_parent;
  160.             // line 25
  161.             echo "        ";
  162.         }
  163.         // line 26
  164.         echo "    ";
  165.         
  166.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  167.         
  168.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  169.     }
  170.     // line 29
  171.     public function block_page_product_detail_inner($context, array $blocks = [])
  172.     {
  173.         $macros $this->macros;
  174.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  175.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_inner"));
  176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_inner"));
  178.         // line 30
  179.         echo "    ";
  180.         $this->displayParentBlock("page_product_detail_inner"$context$blocks);
  181.         echo "
  182.     ";
  183.         // line 32
  184.         if ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse32), "extensions", [], "any"falsefalsefalse32), "netiProductCms", [], "any"falsefalsefalse32) && sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse32), "extensions", [], "any"falsefalsefalse32), "netiProductCms", [], "any"falsefalsefalse32), "getLastPageElement", [], "method"falsefalsefalse32))) {
  185.             // line 33
  186.             echo "        ";
  187.             $context['_parent'] = $context;
  188.             $context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse33), "extensions", [], "any"falsefalsefalse33), "netiProductCms", [], "any"falsefalsefalse33), "getLastPageElement", [], "method"falsefalsefalse33));
  189.             foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
  190.                 // line 34
  191.                 echo "            <div class=\"is--neti-next-productdetailcms is--last-page-element ";
  192.                 echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"NetiNextProductDetailCms.config.lastPageElementIndention"), "html"nulltrue);
  193.                 echo "\" ";
  194.                 if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"NetiNextProductDetailCms.config.lastPageElementInlineStyle")) {
  195.                     echo "style=\"";
  196.                     echo sw_escape_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"NetiNextProductDetailCms.config.lastPageElementInlineStyle"), "html"nulltrue);
  197.                     echo "\"";
  198.                 }
  199.                 echo ">
  200.                 ";
  201.                 // line 35
  202.                 echo $context["content"];
  203.                 echo "
  204.             </div>
  205.         ";
  206.             }
  207.             $_parent $context['_parent'];
  208.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']);
  209.             $context array_intersect_key($context$_parent) + $_parent;
  210.             // line 38
  211.             echo "    ";
  212.         }
  213.         
  214.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  215.         
  216.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  217.     }
  218.     public function getTemplateName()
  219.     {
  220.         return "@NetiNextProductDetailCms/storefront/page/product-detail/index.html.twig";
  221.     }
  222.     public function isTraitable()
  223.     {
  224.         return false;
  225.     }
  226.     public function getDebugInfo()
  227.     {
  228.         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,);
  229.     }
  230.     public function getSourceContext()
  231.     {
  232.         return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
  233. {% block page_product_detail_tabs %}
  234.     {# The cms element will be shown above the product detail tab menu #}
  235.     {% block neti_product_detail_cms_above_description %}
  236.         {% if page.product.extensions.netiProductCms and page.product.extensions.netiProductCms.getAboveProductDescriptionContent() %}
  237.             {% for content in page.product.extensions.netiProductCms.getAboveProductDescriptionContent() %}
  238.                 <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 %}>
  239.                     {{ content|raw }}
  240.                 </div>
  241.             {% endfor %}
  242.         {% endif %}
  243.     {% endblock %}
  244.     {{ parent() }}
  245.     {# The cms element will be shown below the product detail tab menu #}
  246.     {% block neti_product_detail_cms_below_description %}
  247.         {% if page.product.extensions.netiProductCms and page.product.extensions.netiProductCms.getBelowProductDescriptionContent() %}
  248.             {% for content in page.product.extensions.netiProductCms.getBelowProductDescriptionContent() %}
  249.                 <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 %}>
  250.                     {{ content|raw }}
  251.                 </div>
  252.             {% endfor %}
  253.         {% endif %}
  254.     {% endblock %}
  255. {% endblock %}
  256. {% block page_product_detail_inner %}
  257.     {{ parent() }}
  258.     {% if page.product.extensions.netiProductCms and page.product.extensions.netiProductCms.getLastPageElement() %}
  259.         {% for content in page.product.extensions.netiProductCms.getLastPageElement() %}
  260.             <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 %}>
  261.                 {{ content|raw }}
  262.             </div>
  263.         {% endfor %}
  264.     {% endif %}
  265. {% endblock %}
  266. ""@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");
  267.     }
  268. }