var/cache/dev_hf34037fad39294035f80efa32a75c6a6/twig/6c/6c4949fca61c35e3d26532d74eb5032160d26fe480d7390b37053be17fddae0b.php line 45

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. /* @Tuerschild_2/storefront/page/content/product-detail.html.twig */
  16. class __TwigTemplate_1c1a4ec6ac53428d22697f1a2228412121c6db3a6241cc29f09234ee8376aef0 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.             'base_head' => [$this'block_base_head'],
  26.             'base_main_inner' => [$this'block_base_main_inner'],
  27.             'page_content' => [$this'block_page_content'],
  28.             'cms_breadcrumb' => [$this'block_cms_breadcrumb'],
  29.             'cms_content' => [$this'block_cms_content'],
  30.             'page_content_blocks' => [$this'block_page_content_blocks'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 2
  36.         return "@Tuerschild_2/storefront/base.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Tuerschild_2/storefront/page/content/product-detail.html.twig"));
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Tuerschild_2/storefront/page/content/product-detail.html.twig"));
  45.         $this->parent $this->loadTemplate("@Tuerschild_2/storefront/base.html.twig""@Tuerschild_2/storefront/page/content/product-detail.html.twig"2);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 3
  53.     public function block_base_head($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_head"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_head"));
  60.         // line 4
  61.         echo "    ";
  62.         $this->loadTemplate("@Storefront/storefront/page/product-detail/meta.html.twig""@Tuerschild_2/storefront/page/content/product-detail.html.twig"4)->display($context);
  63.         
  64.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  65.         
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  67.     }
  68.     // line 7
  69.     public function block_base_main_inner($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  76.         // line 8
  77.         echo "    <div class=\"container-main product-page\">
  78.         ";
  79.         // line 9
  80.         $this->displayBlock('page_content'$context$blocks);
  81.         // line 27
  82.         echo "    </div>
  83. ";
  84.         
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  86.         
  87.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  88.     }
  89.     // line 9
  90.     public function block_page_content($context, array $blocks = [])
  91.     {
  92.         $macros $this->macros;
  93.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  95.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  96.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  97.         // line 10
  98.         echo "            ";
  99.         $this->displayBlock('cms_breadcrumb'$context$blocks);
  100.         // line 18
  101.         echo "
  102.             ";
  103.         // line 19
  104.         $this->displayBlock('cms_content'$context$blocks);
  105.         // line 26
  106.         echo "        ";
  107.         
  108.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  109.         
  110.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  111.     }
  112.     // line 10
  113.     public function block_cms_breadcrumb($context, array $blocks = [])
  114.     {
  115.         $macros $this->macros;
  116.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  117.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  118.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  119.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  120.         // line 11
  121.         echo "                <div class=\"breadcrumb cms-breadcrumb container\">
  122.                     ";
  123.         // line 12
  124.         $this->loadTemplate("@Tuerschild_2/storefront/layout/breadcrumb.html.twig""@Tuerschild_2/storefront/page/content/product-detail.html.twig"12)->display(twig_to_array(["context" =>         // line 13
  125. ($context["context"] ?? null), "category" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 14
  126. ($context["page"] ?? null), "product", [], "any"falsefalsefalse14), "seoCategory", [], "any"falsefalsefalse14)]));
  127.         // line 16
  128.         echo "                </div>
  129.             ";
  130.         
  131.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  132.         
  133.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  134.     }
  135.     // line 19
  136.     public function block_cms_content($context, array $blocks = [])
  137.     {
  138.         $macros $this->macros;
  139.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  140.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  141.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  142.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  143.         // line 20
  144.         echo "                <div class=\"cms-page product-detail\" itemscope itemtype=\"https://schema.org/Product\">
  145.                     ";
  146.         // line 21
  147.         $this->displayBlock('page_content_blocks'$context$blocks);
  148.         // line 24
  149.         echo "                </div>
  150.             ";
  151.         
  152.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  153.         
  154.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  155.     }
  156.     // line 21
  157.     public function block_page_content_blocks($context, array $blocks = [])
  158.     {
  159.         $macros $this->macros;
  160.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  161.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  162.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  163.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  164.         // line 22
  165.         echo "                        ";
  166.         $this->loadTemplate("@Tuerschild_2/storefront/page/content/detail.html.twig""@Tuerschild_2/storefront/page/content/product-detail.html.twig"22)->display(twig_array_merge($context, ["cmsPage" => sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse22)]));
  167.         // line 23
  168.         echo "                    ";
  169.         
  170.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  171.         
  172.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  173.     }
  174.     public function getTemplateName()
  175.     {
  176.         return "@Tuerschild_2/storefront/page/content/product-detail.html.twig";
  177.     }
  178.     public function isTraitable()
  179.     {
  180.         return false;
  181.     }
  182.     public function getDebugInfo()
  183.     {
  184.         return array (  205 => 23,  202 => 22,  192 => 21,  181 => 24,  179 => 21,  176 => 20,  166 => 19,  155 => 16,  153 => 14,  152 => 13,  151 => 12,  148 => 11,  138 => 10,  128 => 26,  126 => 19,  123 => 18,  120 => 10,  110 => 9,  99 => 27,  97 => 9,  94 => 8,  84 => 7,  73 => 4,  63 => 3,  40 => 2,);
  185.     }
  186.     public function getSourceContext()
  187.     {
  188.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  189. {% block base_head %}
  190.     {% sw_include '@Storefront/storefront/page/product-detail/meta.html.twig' %}
  191. {% endblock %}
  192. {% block base_main_inner %}
  193.     <div class=\"container-main product-page\">
  194.         {% block page_content %}
  195.             {% block cms_breadcrumb %}
  196.                 <div class=\"breadcrumb cms-breadcrumb container\">
  197.                     {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  198.                         context: context,
  199.                         category: page.product.seoCategory
  200.                     } only %}
  201.                 </div>
  202.             {% endblock %}
  203.             {% block cms_content %}
  204.                 <div class=\"cms-page product-detail\" itemscope itemtype=\"https://schema.org/Product\">
  205.                     {% block page_content_blocks %}
  206.                         {% sw_include \"@Storefront/storefront/page/content/detail.html.twig\" with {'cmsPage': page.cmsPage} %}
  207.                     {% endblock %}
  208.                 </div>
  209.             {% endblock %}
  210.         {% endblock %}
  211.     </div>
  212. {% endblock %}
  213. ""@Tuerschild_2/storefront/page/content/product-detail.html.twig""/data/www/stage.tuerschildshop/custom/plugins/Tuerschild_2/src/Resources/views/storefront/page/content/product-detail.html.twig");
  214.     }
  215. }