var/cache/dev_hf4f0570ec4d597d79f3d835eecec3194/twig/52/528677d533f609b56b6fb450e3fc2c6d052d37615190613a62fb2df8cbc4f82a.php line 43

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @Storefront/storefront/page/content/product-detail.html.twig */
  14. class __TwigTemplate_dea34056e49de39342d2e695029c6830 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'base_head' => [$this'block_base_head'],
  24.             'base_main_inner' => [$this'block_base_main_inner'],
  25.             'page_content' => [$this'block_page_content'],
  26.             'cms_breadcrumb' => [$this'block_cms_breadcrumb'],
  27.             'cms_content' => [$this'block_cms_content'],
  28.             'page_content_blocks' => [$this'block_page_content_blocks'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "@HBCTheme/storefront/base.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""@Storefront/storefront/page/content/product-detail.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""@Storefront/storefront/page/content/product-detail.html.twig"));
  43.         // line 0
  44.         echo "<!-- INCLUDE BEGIN @Storefront/storefront/page/content/product-detail.html.twig (vendor/shopware/storefront/Resources/views/storefront/page/content/product-detail.html.twig) -->";
  45.         echo "<!-- INCLUDE END @Storefront/storefront/page/content/product-detail.html.twig -->";
  46.         // line 2
  47.         $this->parent $this->loadTemplate("@HBCTheme/storefront/base.html.twig""@Storefront/storefront/page/content/product-detail.html.twig"2);
  48.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  49.         
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  51.         
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  53.     }
  54.     // line 3
  55.     public function block_base_head($context, array $blocks = [])
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_head"));
  60.         // line 0
  61.         echo "<!-- BLOCK BEGIN base_head (vendor/shopware/storefront/Resources/views/storefront/page/content/product-detail.html.twig) -->";
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_head"));
  64.         // line 4
  65.         echo "    ";
  66.         $this->loadTemplate("@CoeHidePriceForCustomerGroup/storefront/page/product-detail/meta.html.twig""@Storefront/storefront/page/content/product-detail.html.twig"4)->display($context);
  67.         
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69.         // line 0
  70.         echo "<!-- BLOCK END base_head -->";
  71.         
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  73.     }
  74.     // line 7
  75.     public function block_base_main_inner($context, array $blocks = [])
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  80.         // line 0
  81.         echo "<!-- BLOCK BEGIN base_main_inner (vendor/shopware/storefront/Resources/views/storefront/page/content/product-detail.html.twig) -->";
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  84.         // line 8
  85.         echo "    <div class=\"container-main\">
  86.         ";
  87.         // line 9
  88.         $this->displayBlock('page_content'$context$blocks);
  89.         // line 28
  90.         echo "    </div>
  91. ";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         // line 0
  95.         echo "<!-- BLOCK END base_main_inner -->";
  96.         
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  98.     }
  99.     // line 9
  100.     public function block_page_content($context, array $blocks = [])
  101.     {
  102.         $macros $this->macros;
  103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  105.         // line 0
  106.         echo "<!-- BLOCK BEGIN page_content (vendor/shopware/storefront/Resources/views/storefront/page/content/product-detail.html.twig) -->";
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  109.         // line 10
  110.         echo "            ";
  111.         $this->displayBlock('cms_breadcrumb'$context$blocks);
  112.         // line 18
  113.         echo "
  114.             ";
  115.         // line 19
  116.         $this->displayBlock('cms_content'$context$blocks);
  117.         // line 27
  118.         echo "        ";
  119.         
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  121.         // line 0
  122.         echo "<!-- BLOCK END page_content -->";
  123.         
  124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  125.     }
  126.     // line 10
  127.     public function block_cms_breadcrumb($context, array $blocks = [])
  128.     {
  129.         $macros $this->macros;
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  132.         // line 0
  133.         echo "<!-- BLOCK BEGIN cms_breadcrumb (vendor/shopware/storefront/Resources/views/storefront/page/content/product-detail.html.twig) -->";
  134.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  136.         // line 11
  137.         echo "                <div class=\"breadcrumb cms-breadcrumb container\">
  138.                     ";
  139.         // line 12
  140.         $this->loadTemplate("@Storefront/storefront/layout/breadcrumb.html.twig""@Storefront/storefront/page/content/product-detail.html.twig"12)->display(twig_to_array(["context" =>         // line 13
  141. ($context["context"] ?? null), "category" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 14
  142. ($context["page"] ?? null), "product", [], "any"falsefalsefalse14), "seoCategory", [], "any"falsefalsefalse14)]));
  143.         // line 16
  144.         echo "                </div>
  145.             ";
  146.         
  147.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  148.         // line 0
  149.         echo "<!-- BLOCK END cms_breadcrumb -->";
  150.         
  151.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  152.     }
  153.     // line 19
  154.     public function block_cms_content($context, array $blocks = [])
  155.     {
  156.         $macros $this->macros;
  157.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  158.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  159.         // line 0
  160.         echo "<!-- BLOCK BEGIN cms_content (vendor/shopware/storefront/Resources/views/storefront/page/content/product-detail.html.twig) -->";
  161.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  162.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  163.         // line 20
  164.         echo "                ";
  165.         $context["cmsPageClasses"] = twig_trim_filter(("cms-page " twig_striptags(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse20), "cssClass", [], "any"falsefalsefalse20))));
  166.         // line 21
  167.         echo "                <div class=\"";
  168.         echo twig_escape_filter($this->env, ($context["cmsPageClasses"] ?? null), "html"nulltrue);
  169.         echo "\" itemscope itemtype=\"https://schema.org/Product\">
  170.                     ";
  171.         // line 22
  172.         $this->displayBlock('page_content_blocks'$context$blocks);
  173.         // line 25
  174.         echo "                </div>
  175.             ";
  176.         
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  178.         // line 0
  179.         echo "<!-- BLOCK END cms_content -->";
  180.         
  181.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  182.     }
  183.     // line 22
  184.     public function block_page_content_blocks($context, array $blocks = [])
  185.     {
  186.         $macros $this->macros;
  187.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  188.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  189.         // line 0
  190.         echo "<!-- BLOCK BEGIN page_content_blocks (vendor/shopware/storefront/Resources/views/storefront/page/content/product-detail.html.twig) -->";
  191.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  192.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  193.         // line 23
  194.         echo "                        ";
  195.         $this->loadTemplate("@Storefront/storefront/page/content/detail.html.twig""@Storefront/storefront/page/content/product-detail.html.twig"23)->display(twig_array_merge($context, ["cmsPage" => twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse23)]));
  196.         // line 24
  197.         echo "                    ";
  198.         
  199.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  200.         // line 0
  201.         echo "<!-- BLOCK END page_content_blocks -->";
  202.         
  203.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  204.     }
  205.     public function getTemplateName()
  206.     {
  207.         return "@Storefront/storefront/page/content/product-detail.html.twig";
  208.     }
  209.     public function isTraitable()
  210.     {
  211.         return false;
  212.     }
  213.     public function getDebugInfo()
  214.     {
  215.         return array (  241 => 0,  236 => 24,  233 => 23,  228 => 0,  221 => 22,  214 => 0,  208 => 25,  206 => 22,  201 => 21,  198 => 20,  193 => 0,  186 => 19,  179 => 0,  173 => 16,  171 => 14,  170 => 13,  169 => 12,  166 => 11,  161 => 0,  154 => 10,  147 => 0,  142 => 27,  140 => 19,  137 => 18,  134 => 10,  129 => 0,  122 => 9,  115 => 0,  109 => 28,  107 => 9,  104 => 8,  99 => 0,  92 => 7,  85 => 0,  79 => 4,  74 => 0,  67 => 3,  56 => 2,  53 => 0,  40 => 2,);
  216.     }
  217.     public function getSourceContext()
  218.     {
  219.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  220. {% block base_head %}
  221.     {% sw_include '@Storefront/storefront/page/product-detail/meta.html.twig' %}
  222. {% endblock %}
  223. {% block base_main_inner %}
  224.     <div class=\"container-main\">
  225.         {% block page_content %}
  226.             {% block cms_breadcrumb %}
  227.                 <div class=\"breadcrumb cms-breadcrumb container\">
  228.                     {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  229.                         context: context,
  230.                         category: page.product.seoCategory
  231.                     } only %}
  232.                 </div>
  233.             {% endblock %}
  234.             {% block cms_content %}
  235.                 {% set cmsPageClasses = ('cms-page ' ~ page.cmsPage.cssClass|striptags)|trim %}
  236.                 <div class=\"{{ cmsPageClasses }}\" itemscope itemtype=\"https://schema.org/Product\">
  237.                     {% block page_content_blocks %}
  238.                         {% sw_include \"@Storefront/storefront/page/content/detail.html.twig\" with {'cmsPage': page.cmsPage} %}
  239.                     {% endblock %}
  240.                 </div>
  241.             {% endblock %}
  242.         {% endblock %}
  243.     </div>
  244. {% endblock %}
  245. ""@Storefront/storefront/page/content/product-detail.html.twig""/home/p-a6iu1i/html/hbc-shopware-stage-qcsct/dev/vendor/shopware/storefront/Resources/views/storefront/page/content/product-detail.html.twig");
  246.     }
  247. }