var/cache/dev_h964aaf7676cbd186c58c2ecce1205bb0/twig/b2/b2d72128044acae34b5a48752ea111eef30ed2dcf4898b062d548117af3b5d72.php line 76

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. /* @Storefront/storefront/page/content/product-detail.html.twig */
  16. class __TwigTemplate_3f81748a52f102ddb0fed60cc31e409c 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 "@SMTheme/storefront/base.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/content/product-detail.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/content/product-detail.html.twig"));
  45.         $this->parent $this->loadTemplate("@SMTheme/storefront/base.html.twig""@Storefront/storefront/page/content/product-detail.html.twig"2);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 3
  53.     public function block_base_head($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_head"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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""@Storefront/storefront/page/content/product-detail.html.twig"4)->display($context);
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.     }
  68.     // line 7
  69.     public function block_base_main_inner($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  76.         // line 8
  77.         echo "    <div class=\"container-main\">
  78.         ";
  79.         // line 9
  80.         $this->displayBlock('page_content'$context$blocks);
  81.         // line 28
  82.         echo "    </div>
  83. ";
  84.         
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  86.         
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  88.     }
  89.     // line 9
  90.     public function block_page_content($context, array $blocks = [])
  91.     {
  92.         $macros $this->macros;
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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 27
  106.         echo "        ";
  107.         
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  109.         
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  111.     }
  112.     // line 10
  113.     public function block_cms_breadcrumb($context, array $blocks = [])
  114.     {
  115.         $macros $this->macros;
  116.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  118.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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("@Storefront/storefront/layout/breadcrumb.html.twig""@Storefront/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_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  132.         
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  134.     }
  135.     // line 19
  136.     public function block_cms_content($context, array $blocks = [])
  137.     {
  138.         $macros $this->macros;
  139.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  141.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  143.         // line 20
  144.         echo "                ";
  145.         $context["cmsPageClasses"] = twig_trim_filter(("cms-page " twig_striptags(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse20), "cssClass", [], "any"falsefalsefalse20))));
  146.         // line 21
  147.         echo "                <div class=\"";
  148.         echo sw_escape_filter($this->env, ($context["cmsPageClasses"] ?? null), "html"nulltrue);
  149.         echo "\" itemscope itemtype=\"https://schema.org/Product\">
  150.                     ";
  151.         // line 22
  152.         $this->displayBlock('page_content_blocks'$context$blocks);
  153.         // line 25
  154.         echo "                </div>
  155.             ";
  156.         
  157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  158.         
  159.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  160.     }
  161.     // line 22
  162.     public function block_page_content_blocks($context, array $blocks = [])
  163.     {
  164.         $macros $this->macros;
  165.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  167.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  169.         // line 23
  170.         echo "                        ";
  171.         $this->loadTemplate("@MoorlFoundation/storefront/page/content/detail.html.twig""@Storefront/storefront/page/content/product-detail.html.twig"23)->display(twig_array_merge($context, ["cmsPage" => sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse23)]));
  172.         // line 24
  173.         echo "                    ";
  174.         
  175.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  176.         
  177.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  178.     }
  179.     public function getTemplateName()
  180.     {
  181.         return "@Storefront/storefront/page/content/product-detail.html.twig";
  182.     }
  183.     public function isTraitable()
  184.     {
  185.         return false;
  186.     }
  187.     public function getDebugInfo()
  188.     {
  189.         return array (  210 => 24,  207 => 23,  197 => 22,  186 => 25,  184 => 22,  179 => 21,  176 => 20,  166 => 19,  155 => 16,  153 => 14,  152 => 13,  151 => 12,  148 => 11,  138 => 10,  128 => 27,  126 => 19,  123 => 18,  120 => 10,  110 => 9,  99 => 28,  97 => 9,  94 => 8,  84 => 7,  73 => 4,  63 => 3,  40 => 2,);
  190.     }
  191.     public function getSourceContext()
  192.     {
  193.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  194. {% block base_head %}
  195.     {% sw_include '@Storefront/storefront/page/product-detail/meta.html.twig' %}
  196. {% endblock %}
  197. {% block base_main_inner %}
  198.     <div class=\"container-main\">
  199.         {% block page_content %}
  200.             {% block cms_breadcrumb %}
  201.                 <div class=\"breadcrumb cms-breadcrumb container\">
  202.                     {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  203.                         context: context,
  204.                         category: page.product.seoCategory
  205.                     } only %}
  206.                 </div>
  207.             {% endblock %}
  208.             {% block cms_content %}
  209.                 {% set cmsPageClasses = ('cms-page ' ~ page.cmsPage.cssClass|striptags)|trim %}
  210.                 <div class=\"{{ cmsPageClasses }}\" itemscope itemtype=\"https://schema.org/Product\">
  211.                     {% block page_content_blocks %}
  212.                         {% sw_include \"@Storefront/storefront/page/content/detail.html.twig\" with {'cmsPage': page.cmsPage} %}
  213.                     {% endblock %}
  214.                 </div>
  215.             {% endblock %}
  216.         {% endblock %}
  217.     </div>
  218. {% endblock %}
  219. ""@Storefront/storefront/page/content/product-detail.html.twig""/var/www/vhosts/shop.bluebrix.de/httpdocs/vendor/shopware/storefront/Resources/views/storefront/page/content/product-detail.html.twig");
  220.     }
  221. }