var/cache/dev_h00fd8923ecf393ec0b25403e00167bec/twig/c5/c5b3ff83c6b71f386f0d34080dbdae6bb75c6e1c9a354cf9dc431cb8a791498b.php line 50

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/product-detail/index.html.twig */
  16. class __TwigTemplate_4049086b417251247850666e613a5229 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_content' => [$this'block_base_content'],
  27.             'page_product_detail' => [$this'block_page_product_detail'],
  28.             'page_product_detail_inner' => [$this'block_page_product_detail_inner'],
  29.             'page_product_detail_content' => [$this'block_page_product_detail_content'],
  30.             'page_product_detail_headline' => [$this'block_page_product_detail_headline'],
  31.             'page_product_detail_main' => [$this'block_page_product_detail_main'],
  32.             'page_product_detail_media' => [$this'block_page_product_detail_media'],
  33.             'page_product_detail_buy' => [$this'block_page_product_detail_buy'],
  34.             'page_product_detail_tabs' => [$this'block_page_product_detail_tabs'],
  35.             'page_product_detail_cross_selling' => [$this'block_page_product_detail_cross_selling'],
  36.         ];
  37.     }
  38.     protected function doGetParent(array $context)
  39.     {
  40.         // line 2
  41.         return "@econdLoader/storefront/base.html.twig";
  42.     }
  43.     protected function doDisplay(array $context, array $blocks = [])
  44.     {
  45.         $macros $this->macros;
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/product-detail/index.html.twig"));
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/product-detail/index.html.twig"));
  50.         $this->parent $this->loadTemplate("@econdLoader/storefront/base.html.twig""@Storefront/storefront/page/product-detail/index.html.twig"2);
  51.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  52.         
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  54.         
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  56.     }
  57.     // line 3
  58.     public function block_base_head($context, array $blocks = [])
  59.     {
  60.         $macros $this->macros;
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_head"));
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_head"));
  65.         // line 4
  66.         echo "    ";
  67.         $this->loadTemplate("@Storefront/storefront/page/product-detail/meta.html.twig""@Storefront/storefront/page/product-detail/index.html.twig"4)->display($context);
  68.         
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70.         
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72.     }
  73.     // line 7
  74.     public function block_base_content($context, array $blocks = [])
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_content"));
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_content"));
  81.         // line 8
  82.         echo "    ";
  83.         $this->displayBlock('page_product_detail'$context$blocks);
  84.         
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  86.         
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  88.     }
  89.     public function block_page_product_detail($context, array $blocks = [])
  90.     {
  91.         $macros $this->macros;
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail"));
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail"));
  96.         // line 9
  97.         echo "
  98.         <div class=\"product-detail\"
  99.              itemscope
  100.              itemtype=\"https://schema.org/Product\">
  101.             ";
  102.         // line 13
  103.         $this->displayBlock('page_product_detail_inner'$context$blocks);
  104.         // line 75
  105.         echo "        </div>
  106.     ";
  107.         
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  109.         
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  111.     }
  112.     // line 13
  113.     public function block_page_product_detail_inner($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""page_product_detail_inner"));
  118.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_inner"));
  120.         // line 14
  121.         echo "                ";
  122.         $this->displayBlock('page_product_detail_content'$context$blocks);
  123.         // line 58
  124.         echo "
  125.                 ";
  126.         // line 59
  127.         $this->displayBlock('page_product_detail_tabs'$context$blocks);
  128.         // line 64
  129.         echo "
  130.                 ";
  131.         // line 65
  132.         $this->displayBlock('page_product_detail_cross_selling'$context$blocks);
  133.         // line 74
  134.         echo "            ";
  135.         
  136.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  137.         
  138.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  139.     }
  140.     // line 14
  141.     public function block_page_product_detail_content($context, array $blocks = [])
  142.     {
  143.         $macros $this->macros;
  144.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  145.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_content"));
  146.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  147.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_content"));
  148.         // line 15
  149.         echo "                    <div class=\"product-detail-content\">
  150.                         ";
  151.         // line 16
  152.         $this->displayBlock('page_product_detail_headline'$context$blocks);
  153.         // line 21
  154.         echo "
  155.                         ";
  156.         // line 22
  157.         $context["mediaItems"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse22), "media", [], "any"falsefalsefalse22), "media", [], "any"falsefalsefalse22);
  158.         // line 23
  159.         echo "
  160.                         ";
  161.         // line 24
  162.         $this->displayBlock('page_product_detail_main'$context$blocks);
  163.         // line 56
  164.         echo "                    </div>
  165.                 ";
  166.         
  167.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  168.         
  169.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  170.     }
  171.     // line 16
  172.     public function block_page_product_detail_headline($context, array $blocks = [])
  173.     {
  174.         $macros $this->macros;
  175.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  176.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_headline"));
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  178.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_headline"));
  179.         // line 17
  180.         echo "                            <div class=\"row align-items-center product-detail-headline\">
  181.                                 ";
  182.         // line 18
  183.         $this->loadTemplate("@Storefront/storefront/page/product-detail/headline.html.twig""@Storefront/storefront/page/product-detail/index.html.twig"18)->display($context);
  184.         // line 19
  185.         echo "                            </div>
  186.                         ";
  187.         
  188.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  189.         
  190.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  191.     }
  192.     // line 24
  193.     public function block_page_product_detail_main($context, array $blocks = [])
  194.     {
  195.         $macros $this->macros;
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  197.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_main"));
  198.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  199.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_main"));
  200.         // line 25
  201.         echo "                            <div class=\"row product-detail-main\">
  202.                                 ";
  203.         // line 26
  204.         $this->displayBlock('page_product_detail_media'$context$blocks);
  205.         // line 48
  206.         echo "
  207.                                 ";
  208.         // line 49
  209.         $this->displayBlock('page_product_detail_buy'$context$blocks);
  210.         // line 54
  211.         echo "                            </div>
  212.                         ";
  213.         
  214.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  215.         
  216.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  217.     }
  218.     // line 26
  219.     public function block_page_product_detail_media($context, array $blocks = [])
  220.     {
  221.         $macros $this->macros;
  222.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  223.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_media"));
  224.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_media"));
  226.         // line 27
  227.         echo "                                    <div class=\"col-lg-7 product-detail-media\">
  228.                                         ";
  229.         // line 28
  230.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse28), "media", [], "any"falsefalsefalse28)) {
  231.             // line 29
  232.             echo "                                            ";
  233.             $this->loadTemplate("@Storefront/storefront/element/cms-element-image-gallery.html.twig""@Storefront/storefront/page/product-detail/index.html.twig"29)->display(twig_array_merge($context, ["mediaItems" =>             // line 30
  234. ($context["mediaItems"] ?? null), "zoom" => true"zoomModal" => true"displayMode" => "contain""gutter" => 5"minHeight" => "430px""navigationArrows" => "inside""navigationDots" => "inside""galleryPosition" => "left""isProduct" => true"fallbackImageTitle" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 40
  235. ($context["page"] ?? null), "product", [], "any"falsefalsefalse40), "translated", [], "any"falsefalsefalse40), "name", [], "any"falsefalsefalse40), "startIndexThumbnails" => 1"startIndexSlider" => 1"keepAspectRatioOnZoom" => false]));
  236.             // line 45
  237.             echo "                                        ";
  238.         }
  239.         // line 46
  240.         echo "                                    </div>
  241.                                 ";
  242.         
  243.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  244.         
  245.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  246.     }
  247.     // line 49
  248.     public function block_page_product_detail_buy($context, array $blocks = [])
  249.     {
  250.         $macros $this->macros;
  251.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  252.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_buy"));
  253.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  254.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_buy"));
  255.         // line 50
  256.         echo "                                    <div class=\"col-lg-5 product-detail-buy\">
  257.                                         ";
  258.         // line 51
  259.         $this->loadTemplate("@Storefront/storefront/page/product-detail/buy-widget.html.twig""@Storefront/storefront/page/product-detail/index.html.twig"51)->display($context);
  260.         // line 52
  261.         echo "                                    </div>
  262.                                 ";
  263.         
  264.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  265.         
  266.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  267.     }
  268.     // line 59
  269.     public function block_page_product_detail_tabs($context, array $blocks = [])
  270.     {
  271.         $macros $this->macros;
  272.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  273.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_tabs"));
  274.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  275.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_tabs"));
  276.         // line 60
  277.         echo "                    <div class=\"product-detail-tabs\">
  278.                         ";
  279.         // line 61
  280.         $this->loadTemplate("@Storefront/storefront/page/product-detail/tabs.html.twig""@Storefront/storefront/page/product-detail/index.html.twig"61)->display($context);
  281.         // line 62
  282.         echo "                    </div>
  283.                 ";
  284.         
  285.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  286.         
  287.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  288.     }
  289.     // line 65
  290.     public function block_page_product_detail_cross_selling($context, array $blocks = [])
  291.     {
  292.         $macros $this->macros;
  293.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  294.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_cross_selling"));
  295.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  296.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_cross_selling"));
  297.         // line 66
  298.         echo "                    ";
  299.         if ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "crossSellings", [], "any"falsetruefalse66), "elements", [], "any"truetruefalse66) && (twig_length_filter($this->env$this->extensions['Shopware\Core\Framework\Adapter\Twig\SecurityExtension']->filter(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "crossSellings", [], "any"falsefalsefalse66), "elements", [], "any"falsefalsefalse66), function ($__item__) use ($context$macros) { $context["item"] = $__item__; return (sw_get_attribute($this->env$this->source, ($context["item"] ?? null), "total", [], "any"falsefalsefalse66) > 0); })) > 0))) {
  300.             // line 67
  301.             echo "                        <div class=\"product-detail-tabs product-detail-cross-selling\">
  302.                             ";
  303.             // line 68
  304.             $this->loadTemplate("@Storefront/storefront/page/product-detail/cross-selling/tabs.html.twig""@Storefront/storefront/page/product-detail/index.html.twig"68)->display(twig_array_merge($context, ["crossSellings" => sw_get_attribute($this->env$this->source,             // line 69
  305. ($context["page"] ?? null), "crossSellings", [], "any"falsefalsefalse69)]));
  306.             // line 71
  307.             echo "                        </div>
  308.                     ";
  309.         }
  310.         // line 73
  311.         echo "                ";
  312.         
  313.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  314.         
  315.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  316.     }
  317.     public function getTemplateName()
  318.     {
  319.         return "@Storefront/storefront/page/product-detail/index.html.twig";
  320.     }
  321.     public function isTraitable()
  322.     {
  323.         return false;
  324.     }
  325.     public function getDebugInfo()
  326.     {
  327.         return array (  373 => 73,  369 => 71,  367 => 69,  366 => 68,  363 => 67,  360 => 66,  350 => 65,  339 => 62,  337 => 61,  334 => 60,  324 => 59,  313 => 52,  311 => 51,  308 => 50,  298 => 49,  287 => 46,  284 => 45,  282 => 40,  281 => 30,  279 => 29,  277 => 28,  274 => 27,  264 => 26,  253 => 54,  251 => 49,  248 => 48,  246 => 26,  243 => 25,  233 => 24,  222 => 19,  220 => 18,  217 => 17,  207 => 16,  196 => 56,  194 => 24,  191 => 23,  189 => 22,  186 => 21,  184 => 16,  181 => 15,  171 => 14,  161 => 74,  159 => 65,  156 => 64,  154 => 59,  151 => 58,  148 => 14,  138 => 13,  127 => 75,  125 => 13,  119 => 9,  99 => 8,  89 => 7,  78 => 4,  68 => 3,  45 => 2,);
  328.     }
  329.     public function getSourceContext()
  330.     {
  331.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  332. {% block base_head %}
  333.     {% sw_include '@Storefront/storefront/page/product-detail/meta.html.twig' %}
  334. {% endblock %}
  335. {% block base_content %}
  336.     {% block page_product_detail %}
  337.         <div class=\"product-detail\"
  338.              itemscope
  339.              itemtype=\"https://schema.org/Product\">
  340.             {% block page_product_detail_inner %}
  341.                 {% block page_product_detail_content %}
  342.                     <div class=\"product-detail-content\">
  343.                         {% block page_product_detail_headline %}
  344.                             <div class=\"row align-items-center product-detail-headline\">
  345.                                 {% sw_include '@Storefront/storefront/page/product-detail/headline.html.twig' %}
  346.                             </div>
  347.                         {% endblock %}
  348.                         {% set mediaItems = page.product.media.media %}
  349.                         {% block page_product_detail_main %}
  350.                             <div class=\"row product-detail-main\">
  351.                                 {% block page_product_detail_media %}
  352.                                     <div class=\"col-lg-7 product-detail-media\">
  353.                                         {% if page.product.media %}
  354.                                             {% sw_include '@Storefront/storefront/element/cms-element-image-gallery.html.twig' with {
  355.                                                 'mediaItems': mediaItems,
  356.                                                 'zoom': true,
  357.                                                 'zoomModal': true,
  358.                                                 'displayMode': 'contain',
  359.                                                 'gutter': 5,
  360.                                                 'minHeight': '430px',
  361.                                                 'navigationArrows': 'inside',
  362.                                                 'navigationDots': 'inside',
  363.                                                 'galleryPosition': 'left',
  364.                                                 'isProduct': true,
  365.                                                 'fallbackImageTitle': page.product.translated.name,
  366.                                                 'startIndexThumbnails': 1,
  367.                                                 'startIndexSlider': 1,
  368.                                                 'keepAspectRatioOnZoom': false
  369.                                             } %}
  370.                                         {% endif %}
  371.                                     </div>
  372.                                 {% endblock %}
  373.                                 {% block page_product_detail_buy %}
  374.                                     <div class=\"col-lg-5 product-detail-buy\">
  375.                                         {% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
  376.                                     </div>
  377.                                 {% endblock %}
  378.                             </div>
  379.                         {% endblock %}
  380.                     </div>
  381.                 {% endblock %}
  382.                 {% block page_product_detail_tabs %}
  383.                     <div class=\"product-detail-tabs\">
  384.                         {% sw_include '@Storefront/storefront/page/product-detail/tabs.html.twig' %}
  385.                     </div>
  386.                 {% endblock %}
  387.                 {% block page_product_detail_cross_selling %}
  388.                     {% if page.crossSellings.elements is defined and page.crossSellings.elements|filter(item => item.total > 0)|length > 0 %}
  389.                         <div class=\"product-detail-tabs product-detail-cross-selling\">
  390.                             {% sw_include '@Storefront/storefront/page/product-detail/cross-selling/tabs.html.twig' with {
  391.                                 crossSellings: page.crossSellings
  392.                             } %}
  393.                         </div>
  394.                     {% endif %}
  395.                 {% endblock %}
  396.             {% endblock %}
  397.         </div>
  398.     {% endblock %}
  399. {% endblock %}
  400. ""@Storefront/storefront/page/product-detail/index.html.twig""/var/www/shopware6/vendor/shopware/storefront/Resources/views/storefront/page/product-detail/index.html.twig");
  401.     }
  402. }