var/cache/dev_h5b02c48344407d68d61eb74a0cdcd8b0/twig/de/deb62120406dd287f3ccd3d2a65649f0415ba96dac63b3d260b7b0a43cda42d5.php line 54

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. /* @GrimmTheme/storefront/page/product-detail/index.html.twig */
  16. class __TwigTemplate_311474c66431cb5d137b44fa13fcbddc 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_header' => [$this'block_base_header'],
  26.             'base_header_inner' => [$this'block_base_header_inner'],
  27.             'base_navigation' => [$this'block_base_navigation'],
  28.             'base_navigation_inner' => [$this'block_base_navigation_inner'],
  29.             'page_product_detail_buy_form_action' => [$this'block_page_product_detail_buy_form_action'],
  30.             'base_content' => [$this'block_base_content'],
  31.             'page_product_detail' => [$this'block_page_product_detail'],
  32.             'page_product_detail_inner' => [$this'block_page_product_detail_inner'],
  33.             'page_product_detail_content' => [$this'block_page_product_detail_content'],
  34.             'page_product_detail_headline' => [$this'block_page_product_detail_headline'],
  35.             'page_product_detail_media' => [$this'block_page_product_detail_media'],
  36.             'page_product_detail_main' => [$this'block_page_product_detail_main'],
  37.             'page_product_detail_buy' => [$this'block_page_product_detail_buy'],
  38.             'page_product_detail_cross_selling' => [$this'block_page_product_detail_cross_selling'],
  39.             'page_product_detail_tabs' => [$this'block_page_product_detail_tabs'],
  40.         ];
  41.     }
  42.     protected function doGetParent(array $context)
  43.     {
  44.         // line 2
  45.         return "@S360ProductRecommendations/storefront/page/product-detail/index.html.twig";
  46.     }
  47.     protected function doDisplay(array $context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@GrimmTheme/storefront/page/product-detail/index.html.twig"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@GrimmTheme/storefront/page/product-detail/index.html.twig"));
  54.         // line 4
  55.         $context["isMobile"] = (($context["device"] ?? null) == "mobile");
  56.         // line 2
  57.         $this->parent $this->loadTemplate("@S360ProductRecommendations/storefront/page/product-detail/index.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"2);
  58.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.         
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63.     }
  64.     // line 6
  65.     public function block_base_header($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  72.         // line 7
  73.         echo "    <header class=\"header-main sticky-header\">
  74.         ";
  75.         // line 8
  76.         $this->displayBlock('base_header_inner'$context$blocks);
  77.         // line 13
  78.         echo "    </header>
  79. ";
  80.         
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  82.         
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  84.     }
  85.     // line 8
  86.     public function block_base_header_inner($context, array $blocks = [])
  87.     {
  88.         $macros $this->macros;
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header_inner"));
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header_inner"));
  93.         // line 9
  94.         echo "            <div class=\"container\">
  95.                 ";
  96.         // line 10
  97.         $this->loadTemplate("@GrimmTheme/storefront/layout/header/header.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"10)->display($context);
  98.         // line 11
  99.         echo "            </div>
  100.         ";
  101.         
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  103.         
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  105.     }
  106.     // line 16
  107.     public function block_base_navigation($context, array $blocks = [])
  108.     {
  109.         $macros $this->macros;
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_navigation"));
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_navigation"));
  114.         // line 17
  115.         echo "    <div class=\"nav-main sticky-header-nav\">
  116.         ";
  117.         // line 18
  118.         $this->displayBlock('base_navigation_inner'$context$blocks);
  119.         // line 21
  120.         echo "    </div>
  121.     ";
  122.         // line 24
  123.         echo "
  124.     <script>
  125.         function scrollToSection(sectionId) {
  126.             var section = document.getElementById(sectionId);
  127.             var offset = -500; // Adjust the offset as needed
  128.             if (section) {
  129.                 var offsetTop = section.offsetTop - offset;
  130.                 // window.scrollTo(0,15000);
  131.                 window.scrollTo({ top: 175, behavior: \"smooth\" });
  132.             }
  133.         }
  134.     </script>
  135.     <div class=\"sticky-product-header\">
  136.         <div class=\"sticky-product-header-inner\">
  137.             <div class=\"row\">
  138.                 <div class=\"col-lg-7 col-12 product-navigation\">
  139.                     ";
  140.         // line 45
  141.         echo "                    <span class=\"header-nav-link\"><a href=\"#productGeneralDescription\" onclick=\"scrollToSection('productGeneralDescription')\">";
  142.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.tabsDescription"));
  143.         echo "</a></span>
  144.                     ";
  145.         // line 46
  146.         if ((((twig_length_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse46), "sortedProperties", [], "any"falsefalsefalse46)) > 0) || (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse46), "manufacturerNumber", [], "any"falsefalsefalse46) != "")) || (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse46), "ean", [], "any"falsefalsefalse46) != ""))) {
  147.             // line 47
  148.             echo "                        <span class=\"header-nav-link\"><a href=\"#productGeneralProperties\" onclick=\"scrollToSection('productGeneralProperties')\">";
  149.             echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.tabsProperties"));
  150.             echo "</a></span>
  151.                     ";
  152.         }
  153.         // line 49
  154.         echo "                    ";
  155.         if (((sw_get_attribute($this->env$this->source, ($context["product"] ?? null), "customFields", [], "any"falsefalsefalse49) && sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["product"] ?? null), "customFields", [], "any"falsefalsefalse49), "downloads", [], "any"falsefalsefalse49)) && twig_length_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["product"] ?? null), "customFields", [], "any"falsefalsefalse49), "downloads", [], "any"falsefalsefalse49)))) {
  156.             // line 50
  157.             echo "                        <span class=\"header-nav-link\"><a href=\"#productGeneralDownloads\" onclick=\"scrollToSection('productGeneralDownloads')\">";
  158.             echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.tabsDownloads"));
  159.             echo "</a></span>
  160.                     ";
  161.         }
  162.         // line 52
  163.         echo "                </div>
  164.                 <div class=\"col-lg-2 only-desktop\">
  165.                     ";
  166.         // line 54
  167.         $this->loadTemplate("@GrimmTheme/storefront/component/product/card/price-taxes.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"54)->display(twig_array_merge($context, ["product" => sw_get_attribute($this->env$this->source,         // line 55
  168. ($context["page"] ?? null), "product", [], "any"falsefalsefalse55)]));
  169.         // line 57
  170.         echo "                    <br>
  171.                     ";
  172.         // line 58
  173.         $this->loadTemplate("@GrimmTheme/storefront/page/product-detail/buy-widget-price.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"58)->display(twig_array_merge($context, ["product" => sw_get_attribute($this->env$this->source,         // line 59
  174. ($context["page"] ?? null), "product", [], "any"falsefalsefalse59)]));
  175.         // line 61
  176.         echo "                </div>
  177.                 <div class=\"d-none d-md-block col-lg-3\">
  178.                 <form
  179.                 class=\"show-form-loader show-form-loader-buy-btn\"
  180.                 action=\"";
  181.         // line 65
  182.         $this->displayBlock('page_product_detail_buy_form_action'$context$blocks);
  183.         echo "\"
  184.                 method=\"post\"
  185.                 data-add-to-cart=\"true\"
  186.                 class=\"buy-widget\">
  187.                     ";
  188.         // line 69
  189.         echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.checkout.line-item.add");
  190.         echo "
  191.                     <input type=\"hidden\"
  192.                                name=\"redirectTo\"
  193.                                value=\"frontend.detail.page\">
  194.                     <input type=\"hidden\"
  195.                             name=\"redirectParameters\"
  196.                             data-redirect-parameters=\"true\"
  197.                             value='{\"productId\": \"";
  198.         // line 78
  199.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse78), "id", [], "any"falsefalsefalse78), "html"nulltrue);
  200.         echo "\"}'>
  201.                     <input type=\"hidden\"
  202.                                name=\"lineItems[";
  203.         // line 80
  204.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse80), "id", [], "any"falsefalsefalse80), "html"nulltrue);
  205.         echo "][id]\"
  206.                                value=\"";
  207.         // line 81
  208.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse81), "id", [], "any"falsefalsefalse81), "html"nulltrue);
  209.         echo "\">
  210.                     <input type=\"hidden\"
  211.                             name=\"lineItems[";
  212.         // line 83
  213.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse83), "id", [], "any"falsefalsefalse83), "html"nulltrue);
  214.         echo "][type]\"
  215.                             value=\"product\">
  216.                     <input type=\"hidden\"
  217.                             name=\"lineItems[";
  218.         // line 86
  219.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse86), "id", [], "any"falsefalsefalse86), "html"nulltrue);
  220.         echo "][referencedId]\"
  221.                             value=\"";
  222.         // line 87
  223.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse87), "id", [], "any"falsefalsefalse87), "html"nulltrue);
  224.         echo "\">
  225.                     <input type=\"hidden\"
  226.                             name=\"lineItems[";
  227.         // line 89
  228.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse89), "id", [], "any"falsefalsefalse89), "html"nulltrue);
  229.         echo "][stackable]\"
  230.                             value=\"1\">
  231.                     <input type=\"hidden\"
  232.                             name=\"lineItems[";
  233.         // line 92
  234.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse92), "id", [], "any"falsefalsefalse92), "html"nulltrue);
  235.         echo "][removable]\"
  236.                             value=\"1\">
  237.                     <input type=\"hidden\"
  238.                                name=\"product-name\"
  239.                                value=\"";
  240.         // line 96
  241.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse96), "translated", [], "any"falsefalsefalse96), "name", [], "any"falsefalsefalse96), "html"nulltrue);
  242.         echo "\">
  243.                     <input type=\"hidden\"
  244.                             name=\"brand-name\"
  245.                             value=\"";
  246.         // line 99
  247.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse99), "manufacturer", [], "any"falsefalsefalse99), "getName", [], "method"falsefalsefalse99), "html"nulltrue);
  248.         echo "\">
  249.                     <button class=\"btn btn-block btn-buy font-weight-bold w-100 justify-content-center mb-1\" title=\"Warenkorb\">
  250.                         <span class=\"d-sm-none mr-3\">";
  251.         // line 102
  252.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product.buyButton"));
  253.         echo "</span><span class=\"d-none d-sm-inline mr-3\">";
  254.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.addProduct"));
  255.         echo "</span>
  256.                         <span class=\"lak icon icon-warenkorb icon-sm\">
  257.                             <svg width=\"23px\" height=\"23px\" viewBox=\"0 0 23 23\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">
  258.                                 <g id=\"Startseite\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
  259.                                     <g id=\"Startseite-Lang-Copy-9\" transform=\"translate(-1282.000000, -61.000000)\" fill=\"#9B9B9B\" fill-rule=\"nonzero\">
  260.                                         <g id=\"Group-41\">
  261.                                             <g id=\"Group-5\" transform=\"translate(1282.000000, 61.000000)\">
  262.                                                 <g id=\"Group-36\" transform=\"translate(0.500000, 0.500000)\">
  263.                                                     <path d=\"M0.5,1 L2.83418038,1 C3.07711701,1 3.28489881,1.17462161 3.32671697,1.41393197 L5.83329879,15.7582041 C5.95875326,16.4761352 6.58209867,17 7.31090857,17 L18.5526336,17 C18.828776,17 19.0526336,16.7761424 19.0526336,16.5 C19.0526336,16.2238576 18.828776,16 18.5526336,16 L7.31090857,16 C7.06797193,16 6.86019013,15.8253784 6.81837197,15.586068 L4.31179015,1.24179591 C4.18633568,0.523864821 3.56299027,0 2.83418038,0 L0.5,0 C0.223857625,0 1.02318154e-12,0.223857625 1.02318154e-12,0.5 C1.02318154e-12,0.776142375 0.223857625,1 0.5,1 Z\" id=\"Path-6\"></path>
  264.                                                     <path d=\"M7.10477473,3.78963344 L20.9464503,3.78963344 C21.2225927,3.78963344 21.4464503,4.01349107 21.4464503,4.28963344 C21.4464503,4.3390493 21.4391247,4.38819219 21.4247125,4.43545967 L19.2903526,11.4354597 C19.2261971,11.6458689 19.0320631,11.7896334 18.8120904,11.7896334 L8.43673944,11.7896334 C8.16059707,11.7896334 7.93673944,12.0134911 7.93673944,12.2896334 C7.93673944,12.5657758 8.16059707,12.7896334 8.43673944,12.7896334 L18.8120904,12.7896334 C19.4720085,12.7896334 20.0544103,12.3583398 20.246877,11.7271121 L22.3812368,4.72711212 C22.4244736,4.58530969 22.4464503,4.43788103 22.4464503,4.28963344 C22.4464503,3.46120632 21.7748774,2.78963344 20.9464503,2.78963344 L7.10477473,2.78963344 C6.82863235,2.78963344 6.60477473,3.01349107 6.60477473,3.28963344 C6.60477473,3.56577582 6.82863235,3.78963344 7.10477473,3.78963344 Z\" id=\"Path-7\"></path>
  265.                                                     <path d=\"M9.19378522,21.8094908 C10.1602835,21.8094908 10.9437852,21.0259891 10.9437852,20.0594908 C10.9437852,19.0929925 10.1602835,18.3094908 9.19378522,18.3094908 C8.22728691,18.3094908 7.44378522,19.0929925 7.44378522,20.0594908 C7.44378522,21.0259891 8.22728691,21.8094908 9.19378522,21.8094908 Z M9.19378522,20.8094908 C8.77957165,20.8094908 8.44378522,20.4737044 8.44378522,20.0594908 C8.44378522,19.6452772 8.77957165,19.3094908 9.19378522,19.3094908 C9.60799878,19.3094908 9.94378522,19.6452772 9.94378522,20.0594908 C9.94378522,20.4737044 9.60799878,20.8094908 9.19378522,20.8094908 Z\" id=\"Oval\"></path>
  266.                                                     <path d=\"M18.1937852,21.8094908 C19.1602835,21.8094908 19.9437852,21.0259891 19.9437852,20.0594908 C19.9437852,19.0929925 19.1602835,18.3094908 18.1937852,18.3094908 C17.2272869,18.3094908 16.4437852,19.0929925 16.4437852,20.0594908 C16.4437852,21.0259891 17.2272869,21.8094908 18.1937852,21.8094908 Z M18.1937852,20.8094908 C17.7795717,20.8094908 17.4437852,20.4737044 17.4437852,20.0594908 C17.4437852,19.6452772 17.7795717,19.3094908 18.1937852,19.3094908 C18.6079988,19.3094908 18.9437852,19.6452772 18.9437852,20.0594908 C18.9437852,20.4737044 18.6079988,20.8094908 18.1937852,20.8094908 Z\" id=\"Oval-Copy-3\"></path>
  267.                                                 </g>
  268.                                             </g>
  269.                                         </g>
  270.                                     </g>
  271.                                 </g>
  272.                             </svg>
  273.                         </span>
  274.                     </button>
  275.                 </form>
  276.                 </div>
  277.             </div>
  278.         </div>
  279.     </div>
  280.     <div class=\"sticky-product-footer d-md-none\">
  281.         <div class=\"sticky-product-footer-inner d-flex justify-content-between align-items-center\">
  282.             <div class=\"col-lg-2 p-0\">
  283.                 ";
  284.         // line 131
  285.         $this->loadTemplate("@GrimmTheme/storefront/component/product/card/price-taxes.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"131)->display(twig_array_merge($context, ["product" => sw_get_attribute($this->env$this->source,         // line 132
  286. ($context["page"] ?? null), "product", [], "any"falsefalsefalse132)]));
  287.         // line 134
  288.         echo "                <br>
  289.                 ";
  290.         // line 135
  291.         $this->loadTemplate("@GrimmTheme/storefront/page/product-detail/buy-widget-price.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"135)->display(twig_array_merge($context, ["product" => sw_get_attribute($this->env$this->source,         // line 136
  292. ($context["page"] ?? null), "product", [], "any"falsefalsefalse136)]));
  293.         // line 138
  294.         echo "            </div>
  295.             <div class=\"d-md-none\">
  296.                 <form
  297.                 class=\"show-form-loader show-form-loader-buy-btn\"
  298.                 action=\"";
  299.         // line 142
  300.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.line-item.add");
  301.         echo "\"
  302.                 method=\"post\"
  303.                 data-add-to-cart=\"true\"
  304.                 class=\"buy-widget\">
  305.                     ";
  306.         // line 146
  307.         echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.checkout.line-item.add");
  308.         echo "
  309.                     <input type=\"hidden\"
  310.                             name=\"redirectTo\"
  311.                             value=\"frontend.detail.page\">
  312.                     <input type=\"hidden\"
  313.                             name=\"redirectParameters\"
  314.                             data-redirect-parameters=\"true\"
  315.                             value='{\"productId\": \"";
  316.         // line 155
  317.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse155), "id", [], "any"falsefalsefalse155), "html"nulltrue);
  318.         echo "\"}'>
  319.                     <input type=\"hidden\"
  320.                             name=\"lineItems[";
  321.         // line 157
  322.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse157), "id", [], "any"falsefalsefalse157), "html"nulltrue);
  323.         echo "][id]\"
  324.                             value=\"";
  325.         // line 158
  326.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse158), "id", [], "any"falsefalsefalse158), "html"nulltrue);
  327.         echo "\">
  328.                     <input type=\"hidden\"
  329.                             name=\"lineItems[";
  330.         // line 160
  331.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse160), "id", [], "any"falsefalsefalse160), "html"nulltrue);
  332.         echo "][type]\"
  333.                             value=\"product\">
  334.                     <input type=\"hidden\"
  335.                             name=\"lineItems[";
  336.         // line 163
  337.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse163), "id", [], "any"falsefalsefalse163), "html"nulltrue);
  338.         echo "][referencedId]\"
  339.                             value=\"";
  340.         // line 164
  341.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse164), "id", [], "any"falsefalsefalse164), "html"nulltrue);
  342.         echo "\">
  343.                     <input type=\"hidden\"
  344.                             name=\"lineItems[";
  345.         // line 166
  346.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse166), "id", [], "any"falsefalsefalse166), "html"nulltrue);
  347.         echo "][stackable]\"
  348.                             value=\"1\">
  349.                     <input type=\"hidden\"
  350.                             name=\"lineItems[";
  351.         // line 169
  352.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse169), "id", [], "any"falsefalsefalse169), "html"nulltrue);
  353.         echo "][removable]\"
  354.                             value=\"1\">
  355.                     <input type=\"hidden\"
  356.                             name=\"product-name\"
  357.                             value=\"";
  358.         // line 173
  359.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse173), "translated", [], "any"falsefalsefalse173), "name", [], "any"falsefalsefalse173), "html"nulltrue);
  360.         echo "\">
  361.                     <input type=\"hidden\"
  362.                             name=\"brand-name\"
  363.                             value=\"";
  364.         // line 176
  365.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse176), "manufacturer", [], "any"falsefalsefalse176), "getName", [], "method"falsefalsefalse176), "html"nulltrue);
  366.         echo "\">
  367.                     <button class=\"btn btn-block btn-buy font-weight-bold w-100 justify-content-center justify-content-md-around mb-1 sticky-footer-btn-buy\" title=\"Warenkorb\">
  368.                         <span class=\"lak icon icon-warenkorb icon-sm\">
  369.                             <svg width=\"23px\" height=\"23px\" viewBox=\"0 0 23 23\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">
  370.                                 <g id=\"Startseite\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
  371.                                     <g id=\"Startseite-Lang-Copy-9\" transform=\"translate(-1282.000000, -61.000000)\" fill=\"#9B9B9B\" fill-rule=\"nonzero\">
  372.                                         <g id=\"Group-41\">
  373.                                             <g id=\"Group-5\" transform=\"translate(1282.000000, 61.000000)\">
  374.                                                 <g id=\"Group-36\" transform=\"translate(0.500000, 0.500000)\">
  375.                                                     <path d=\"M0.5,1 L2.83418038,1 C3.07711701,1 3.28489881,1.17462161 3.32671697,1.41393197 L5.83329879,15.7582041 C5.95875326,16.4761352 6.58209867,17 7.31090857,17 L18.5526336,17 C18.828776,17 19.0526336,16.7761424 19.0526336,16.5 C19.0526336,16.2238576 18.828776,16 18.5526336,16 L7.31090857,16 C7.06797193,16 6.86019013,15.8253784 6.81837197,15.586068 L4.31179015,1.24179591 C4.18633568,0.523864821 3.56299027,0 2.83418038,0 L0.5,0 C0.223857625,0 1.02318154e-12,0.223857625 1.02318154e-12,0.5 C1.02318154e-12,0.776142375 0.223857625,1 0.5,1 Z\" id=\"Path-6\"></path>
  376.                                                     <path d=\"M7.10477473,3.78963344 L20.9464503,3.78963344 C21.2225927,3.78963344 21.4464503,4.01349107 21.4464503,4.28963344 C21.4464503,4.3390493 21.4391247,4.38819219 21.4247125,4.43545967 L19.2903526,11.4354597 C19.2261971,11.6458689 19.0320631,11.7896334 18.8120904,11.7896334 L8.43673944,11.7896334 C8.16059707,11.7896334 7.93673944,12.0134911 7.93673944,12.2896334 C7.93673944,12.5657758 8.16059707,12.7896334 8.43673944,12.7896334 L18.8120904,12.7896334 C19.4720085,12.7896334 20.0544103,12.3583398 20.246877,11.7271121 L22.3812368,4.72711212 C22.4244736,4.58530969 22.4464503,4.43788103 22.4464503,4.28963344 C22.4464503,3.46120632 21.7748774,2.78963344 20.9464503,2.78963344 L7.10477473,2.78963344 C6.82863235,2.78963344 6.60477473,3.01349107 6.60477473,3.28963344 C6.60477473,3.56577582 6.82863235,3.78963344 7.10477473,3.78963344 Z\" id=\"Path-7\"></path>
  377.                                                     <path d=\"M9.19378522,21.8094908 C10.1602835,21.8094908 10.9437852,21.0259891 10.9437852,20.0594908 C10.9437852,19.0929925 10.1602835,18.3094908 9.19378522,18.3094908 C8.22728691,18.3094908 7.44378522,19.0929925 7.44378522,20.0594908 C7.44378522,21.0259891 8.22728691,21.8094908 9.19378522,21.8094908 Z M9.19378522,20.8094908 C8.77957165,20.8094908 8.44378522,20.4737044 8.44378522,20.0594908 C8.44378522,19.6452772 8.77957165,19.3094908 9.19378522,19.3094908 C9.60799878,19.3094908 9.94378522,19.6452772 9.94378522,20.0594908 C9.94378522,20.4737044 9.60799878,20.8094908 9.19378522,20.8094908 Z\" id=\"Oval\"></path>
  378.                                                     <path d=\"M18.1937852,21.8094908 C19.1602835,21.8094908 19.9437852,21.0259891 19.9437852,20.0594908 C19.9437852,19.0929925 19.1602835,18.3094908 18.1937852,18.3094908 C17.2272869,18.3094908 16.4437852,19.0929925 16.4437852,20.0594908 C16.4437852,21.0259891 17.2272869,21.8094908 18.1937852,21.8094908 Z M18.1937852,20.8094908 C17.7795717,20.8094908 17.4437852,20.4737044 17.4437852,20.0594908 C17.4437852,19.6452772 17.7795717,19.3094908 18.1937852,19.3094908 C18.6079988,19.3094908 18.9437852,19.6452772 18.9437852,20.0594908 C18.9437852,20.4737044 18.6079988,20.8094908 18.1937852,20.8094908 Z\" id=\"Oval-Copy-3\"></path>
  379.                                                 </g>
  380.                                             </g>
  381.                                         </g>
  382.                                     </g>
  383.                                 </g>
  384.                             </svg>
  385.                         </span>
  386.                     </button>
  387.                 </form>
  388.             </div>
  389.         </div>
  390.     </div>
  391.     
  392. ";
  393.         
  394.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  395.         
  396.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  397.     }
  398.     // line 18
  399.     public function block_base_navigation_inner($context, array $blocks = [])
  400.     {
  401.         $macros $this->macros;
  402.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  403.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_navigation_inner"));
  404.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  405.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_navigation_inner"));
  406.         // line 19
  407.         echo "            ";
  408.         $this->loadTemplate("@S360MegaMenu/storefront/layout/navigation/navigation.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"19)->display($context);
  409.         // line 20
  410.         echo "        ";
  411.         
  412.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  413.         
  414.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  415.     }
  416.     // line 65
  417.     public function block_page_product_detail_buy_form_action($context, array $blocks = [])
  418.     {
  419.         $macros $this->macros;
  420.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  421.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_buy_form_action"));
  422.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  423.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_buy_form_action"));
  424.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.checkout.line-item.add");
  425.         
  426.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  427.         
  428.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  429.     }
  430.     // line 205
  431.     public function block_base_content($context, array $blocks = [])
  432.     {
  433.         $macros $this->macros;
  434.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  435.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_content"));
  436.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  437.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_content"));
  438.         // line 206
  439.         echo "    ";
  440.         $context["product"] = sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse206);
  441.         // line 207
  442.         echo "    ";
  443.         $context["device"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "session", [], "any"falsefalsefalse207), "get", [=> "deviceType"], "method"falsefalsefalse207);
  444.         // line 208
  445.         echo "
  446.     ";
  447.         // line 209
  448.         $this->displayBlock('page_product_detail'$context$blocks);
  449.         // line 615
  450.         echo "
  451.     ";
  452.         // line 618
  453.         echo "    ";
  454.         if (sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "hasExtension", [=> "klaviyoIntegrationPluginExtension"], "method"falsefalsefalse618)) {
  455.             // line 619
  456.             echo "        ";
  457.             $context["extensionData"] = sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "getExtension", [=> "klaviyoIntegrationPluginExtension"], "method"falsefalsefalse619);
  458.             // line 620
  459.             echo "        ";
  460.             $context["klaviyoComponentOptions"] = ["productInfo" => sw_get_attribute($this->env$this->source,             // line 621
  461. ($context["extensionData"] ?? null), "productInfo", [], "any"falsefalsefalse621)];
  462.             // line 624
  463.             echo "
  464.         <div style=\"display: none;\" data-klaviyo-product-viewed-event-tracking-component=\"\"
  465.             data-klaviyo-product-viewed-event-tracking-component-options=\"";
  466.             // line 626
  467.             echo sw_escape_filter($this->env$this->env->getFilter('json_encode')->getCallable()(($context["klaviyoComponentOptions"] ?? null)), "html"nulltrue);
  468.             echo "\"></div>
  469.     ";
  470.         }
  471.         
  472.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  473.         
  474.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  475.     }
  476.     // line 209
  477.     public function block_page_product_detail($context, array $blocks = [])
  478.     {
  479.         $macros $this->macros;
  480.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  481.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail"));
  482.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  483.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail"));
  484.         // line 210
  485.         echo "        <div class=\"product-detail\" itemscope itemtype=\"https://schema.org/Product\">
  486.             ";
  487.         // line 211
  488.         $this->displayBlock('page_product_detail_inner'$context$blocks);
  489.         // line 613
  490.         echo "        </div>
  491.     ";
  492.         
  493.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  494.         
  495.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  496.     }
  497.     // line 211
  498.     public function block_page_product_detail_inner($context, array $blocks = [])
  499.     {
  500.         $macros $this->macros;
  501.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  502.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_inner"));
  503.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  504.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_inner"));
  505.         // line 212
  506.         echo "                ";
  507.         $this->displayBlock('page_product_detail_content'$context$blocks);
  508.         // line 605
  509.         echo "
  510.                 ";
  511.         // line 608
  512.         $this->displayBlock('page_product_detail_tabs'$context$blocks);
  513.         // line 610
  514.         echo "
  515.             ";
  516.         
  517.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  518.         
  519.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  520.     }
  521.     // line 212
  522.     public function block_page_product_detail_content($context, array $blocks = [])
  523.     {
  524.         $macros $this->macros;
  525.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  526.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_content"));
  527.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  528.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_content"));
  529.         // line 213
  530.         echo "                    <div class=\"product-detail-content\">
  531.                         <div class=\"sw-clarity\" data-action=\"set\" data-params='[[ \"pageType\", \"product\" ]]'></div>
  532.                         ";
  533.         // line 215
  534.         $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"falsefalsefalse215), "media", [], "any"falsefalsefalse215), "media", [], "any"falsefalsefalse215);
  535.         // line 216
  536.         echo "
  537.                         <div class=\"row product-detail__box-container\">
  538.                             ";
  539.         // line 218
  540.         $this->displayBlock('page_product_detail_headline'$context$blocks);
  541.         // line 227
  542.         echo "
  543.                             ";
  544.         // line 228
  545.         $this->displayBlock('page_product_detail_media'$context$blocks);
  546.         // line 264
  547.         echo "
  548.                             ";
  549.         // line 265
  550.         $this->displayBlock('page_product_detail_main'$context$blocks);
  551.         // line 602
  552.         echo "                        </div>
  553.                     </div>
  554.                 ";
  555.         
  556.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  557.         
  558.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  559.     }
  560.     // line 218
  561.     public function block_page_product_detail_headline($context, array $blocks = [])
  562.     {
  563.         $macros $this->macros;
  564.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  565.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_headline"));
  566.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  567.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_headline"));
  568.         // line 219
  569.         echo "                                <button class=\"product-detail__print-btn d-none d-lg-block no-print\" onclick=\"window.print()\">
  570.                                     ";
  571.         // line 220
  572.         ((function () use ($context$blocks) {
  573.             $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  574.             $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  575.             return $this->loadTemplate($includeTemplate ?? null"@GrimmTheme/storefront/page/product-detail/index.html.twig"220);
  576.         })())->display(twig_array_merge($context, ["pack" => "grimmtheme""namespace" => "GrimmTheme""size" => "sm""name" => "drucken"]));
  577.         // line 221
  578.         echo "                                    ";
  579.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.print"));
  580.         echo "
  581.                                 </button>
  582.                                 <div class=\"col-12 row align-items-center product-detail-headline\">
  583.                                     ";
  584.         // line 224
  585.         $this->loadTemplate("@GrimmTheme/storefront/page/product-detail/headline.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"224)->display($context);
  586.         // line 225
  587.         echo "                                </div>
  588.                             ";
  589.         
  590.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  591.         
  592.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  593.     }
  594.     // line 228
  595.     public function block_page_product_detail_media($context, array $blocks = [])
  596.     {
  597.         $macros $this->macros;
  598.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  599.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_media"));
  600.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  601.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_media"));
  602.         // line 229
  603.         echo "                                <div class=\"col-lg-7 product-detail__first-block\">
  604.                                     <div class=\"customer-switch__container d-md-none\">
  605.                                         <nav class=\"row no-gutters top-bar-nav align-items-center\">
  606.                                             <div id=\"top-bar-nav__item1\" class=\"custom-control custom-switch\">
  607.                                                 <label for=\"customSwitch1\" class=\"top-bar-nav__label control-label label-b2b\">";
  608.         // line 233
  609.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header.accountType.business"));
  610.         echo "</label>
  611.                                                 <input type=\"checkbox\" class=\"custom-control-input\" id=\"customSwitch1\" data-switch-tax ";
  612.         // line 234
  613.         if ((sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "taxState", [], "any"falsefalsefalse234) === "gross")) {
  614.             echo "checked=\"checked\"";
  615.         }
  616.         echo ">
  617.                                                 <label for=\"customSwitch1\" class=\"custom-control-label label-b2c\">";
  618.         // line 235
  619.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header.accountType.private"));
  620.         echo "</label>
  621.                                             </div>
  622.                                         </nav>
  623.                                     </div>
  624.                                     <div class=\"product-detail-media\">
  625.                                         ";
  626.         // line 241
  627.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse241), "media", [], "any"falsefalsefalse241)) {
  628.             // line 242
  629.             echo "                                            ";
  630.             $this->loadTemplate("@GrimmTheme/storefront/element/cms-element-image-gallery.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"242)->display(twig_array_merge($context, ["mediaItems" =>             // line 243
  631. ($context["mediaItems"] ?? null), "zoom" => false"zoomModal" => true"displayMode" => "contain""gutter" => 5"minHeight" => "430px""navigationArrows" => "inside""navigationDots" => "outside""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 253
  632. ($context["page"] ?? null), "product", [], "any"falsefalsefalse253), "translated", [], "any"falsefalsefalse253), "name", [], "any"falsefalsefalse253), "startIndexThumbnails" => 1"startIndexSlider" => 1]));
  633.             // line 257
  634.             echo "                                        ";
  635.         }
  636.         // line 258
  637.         echo "                                    </div>
  638.                                     ";
  639.         // line 260
  640.         echo "                                    ";
  641.         // line 261
  642.         echo "
  643.                                 </div>
  644.                             ";
  645.         
  646.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  647.         
  648.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  649.     }
  650.     // line 265
  651.     public function block_page_product_detail_main($context, array $blocks = [])
  652.     {
  653.         $macros $this->macros;
  654.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  655.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_main"));
  656.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  657.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_main"));
  658.         // line 266
  659.         echo "                                <div class=\"col-lg-5 product-detail-main\">
  660.                                     <div class=\"customer-switch__container d-none d-lg-block\">
  661.                                         <nav class=\"row no-gutters top-bar-nav align-items-center\">
  662.                                             <div id=\"top-bar-nav__item1\" class=\"custom-control custom-switch\">
  663.                                                 <label for=\"customSwitch1\" class=\"top-bar-nav__label control-label label-b2b\">";
  664.         // line 270
  665.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header.accountType.business"));
  666.         echo "</label>
  667.                                                 <input type=\"checkbox\" class=\"custom-control-input\" id=\"customSwitch1\" data-switch-tax ";
  668.         // line 271
  669.         if ((sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "taxState", [], "any"falsefalsefalse271) === "gross")) {
  670.             echo "checked=\"checked\"";
  671.         }
  672.         echo ">
  673.                                                 <label for=\"customSwitch1\" class=\"custom-control-label label-b2c\">";
  674.         // line 272
  675.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header.accountType.private"));
  676.         echo "</label>
  677.                                             </div>
  678.                                         </nav>
  679.                                     </div>
  680.                                     ";
  681.         // line 276
  682.         $this->displayBlock('page_product_detail_buy'$context$blocks);
  683.         // line 406
  684.         echo "
  685.                                     ";
  686.         // line 408
  687.         echo "
  688.                                 </div>
  689.                                 <div class=\"col-lg-12 product-detail-tabs__cross-selling\">
  690.                                     ";
  691.         // line 411
  692.         $this->displayBlock('page_product_detail_cross_selling'$context$blocks);
  693.         // line 448
  694.         echo "                                </div>
  695.                                 <div class=\"col-lg-7 product-detail-tabs__wrapper pt-3\">
  696.                                     ";
  697.         // line 450
  698.         if ( !($context["isMobile"] ?? null)) {
  699.             // line 451
  700.             echo "                                        <div class=\"\">
  701.                                             <div class=\"product-detail-tabs\">
  702.                                             ";
  703.             // line 454
  704.             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"falsefalsefalse454), "translated", [], "any"falsefalsefalse454), "description", [], "any"falsefalsefalse454)) {
  705.                 // line 455
  706.                 echo "                                                <div>
  707.                                                     <a id=\"productGeneralDescription\" style=\"scroll-margin-top: 250px\"></a>
  708.                                                     <h2 class=\"font-weight-bold\">";
  709.                 // line 457
  710.                 echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.tabsDescription"));
  711.                 echo "</h2>
  712.                                                     ";
  713.                 // line 458
  714.                 $this->loadTemplate("@GrimmTheme/storefront/page/product-detail/description.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"458)->display($context);
  715.                 // line 459
  716.                 echo "                                                </div>
  717.                                             ";
  718.             }
  719.             // line 461
  720.             echo "                                            ";
  721.             if ((((twig_length_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse461), "sortedProperties", [], "any"falsefalsefalse461)) > 0) || (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse461), "manufacturerNumber", [], "any"falsefalsefalse461) != "")) || (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse461), "ean", [], "any"falsefalsefalse461) != ""))) {
  722.                 // line 462
  723.                 echo "                                                <div>
  724.                                                     <a id=\"productGeneralProperties\" style=\"scroll-margin-top: 250px\"></a>
  725.                                                     <h2 class=\"font-weight-bold\">";
  726.                 // line 464
  727.                 echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.tabsProperties"));
  728.                 echo "</h2>
  729.                                                     ";
  730.                 // line 465
  731.                 $this->loadTemplate("@GrimmTheme/storefront/page/product-detail/properties.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"465)->display($context);
  732.                 // line 466
  733.                 echo "                                                </div>
  734.                                             ";
  735.             }
  736.             // line 468
  737.             echo "                                            
  738.                                             ";
  739.             // line 469
  740.             if (((sw_get_attribute($this->env$this->source, ($context["product"] ?? null), "customFields", [], "any"falsefalsefalse469) && sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["product"] ?? null), "customFields", [], "any"falsefalsefalse469), "downloads", [], "any"falsefalsefalse469)) && twig_length_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["product"] ?? null), "customFields", [], "any"falsefalsefalse469), "downloads", [], "any"falsefalsefalse469)))) {
  741.                 // line 470
  742.                 echo "                                                <div>
  743.                                                     <a id=\"productGeneralDownloads\" style=\"scroll-margin-top: 250px\"></a>
  744.                                                     <h2 class=\"font-weight-bold\">";
  745.                 // line 472
  746.                 echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.tabsDownloads"));
  747.                 echo "</h2>
  748.                                                     ";
  749.                 // line 473
  750.                 $this->loadTemplate("@GrimmTheme/storefront/page/product-detail/downloads.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"473)->display($context);
  751.                 // line 474
  752.                 echo "                                                </div>
  753.                                             ";
  754.             }
  755.             // line 476
  756.             echo "
  757.                                                 ";
  758.             // line 479
  759.             echo "                                            </div>
  760.                                         </div>
  761.                                     ";
  762.         }
  763.         // line 482
  764.         echo "                                </div>
  765.                                 <div class=\"col-lg-5 product-detail-info pt-3\">
  766.                                     <div class=\"mb-3 card reference-card\">
  767.                                         <div class=\"card-header\">
  768.                                             <div class=\"card-title\">Unsere Referenzen</div>
  769.                                         </div>
  770.                                         <div class=\"card-body\">
  771.                                             <div class=\"product-slider-controls-container\">
  772.                                                 <div class=\"base-slider-controls\" data-base-slider-controls=\"true\" aria-label=\"Carousel Navigation\" tabindex=\"0\">
  773.                                                 <button id=\"prevButton\" class=\"base-slider-controls-prev product-slider-controls-prev\" aria-controls=\"tns2\" tabindex=\"-1\" data-controls=\"prev\">";
  774.         // line 492
  775.         ((function () use ($context$blocks) {
  776.             $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  777.             $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  778.             return $this->loadTemplate($includeTemplate ?? null"@GrimmTheme/storefront/page/product-detail/index.html.twig"492);
  779.         })())->display(twig_array_merge($context, ["name" => "arrow-head-left"]));
  780.         echo "</button>
  781.                                                 <button id=\"nextButton\" class=\"base-slider-controls-next product-slider-controls-next\" aria-controls=\"tns2\" tabindex=\"-1\" data-controls=\"next\">";
  782.         // line 493
  783.         ((function () use ($context$blocks) {
  784.             $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  785.             $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  786.             return $this->loadTemplate($includeTemplate ?? null"@GrimmTheme/storefront/page/product-detail/index.html.twig"493);
  787.         })())->display(twig_array_merge($context, ["name" => "arrow-head-right"]));
  788.         echo "</button>
  789.                                                 </div>
  790.                                             </div>
  791.                                             <div id=\"slider-container\">
  792.                                                 <div id=\"image-slider\">
  793.                                                     <div class=\"slide\"><img src=\"/media/a1/72/75/1682430873/Hochschule-Fresenius.jpg\" alt=\"Slide 1\"></div>
  794.                                                     <div class=\"slide\"><img src=\"/media/70/b0/17/1682430618/Konrad-Adenauer-Stiftung.jpg\" alt=\"Slide 1\"></div>
  795.                                                     <div class=\"slide\"><img src=\"/media/3b/87/97/1633615706/Aviation-Catering.jpg\" alt=\"Slide 2\"></div>
  796.                                                     <div class=\"slide\"><img src=\"/media/48/1f/c1/1633615706/Grand-Hyatt.jpg\" alt=\"Slide 3\"></div>
  797.                                                     <div class=\"slide\"><img src=\"/media/b4/30/1c/1628156382/al-dente-group.jpg\" alt=\"Slide 4\"></div>
  798.                                                     <div class=\"slide\"><img src=\"/media/77/11/2f/1633615706/Florida-Eis.jpg\" alt=\"Slide 5\"></div>
  799.                                                     <div class=\"slide\"><img src=\"/media/47/ee/bf/1682430647/Heisser-Wolf.jpg\" alt=\"Slide 6\"></div>
  800.                                                     <div class=\"slide\"><img src=\"/media/a1/72/75/1682430873/Hochschule-Fresenius.jpg\" alt=\"Slide 7\"></div>
  801.                                                     <div class=\"slide\"><img src=\"/media/g0/4d/e3/1682430659/Upstall-Kantine.jpg\" alt=\"Slide 8\"></div>
  802.                                                     <div class=\"slide\"><img src=\"/media/aa/11/51/1633615706/Regent-Berlin.jpg\" alt=\"Slide 9\"></div>
  803.                                                     <div class=\"slide\"><img src=\"/media/5a/52/a1/1628156383/Wonder-Waffel.jpg\" alt=\"Slide 10\"></div>
  804.                                                     <div class=\"slide\"><img src=\"/media/16/0a/a3/1628156382/Caritas.jpg\" alt=\"Slide 11\"></div>
  805.                                                     <div class=\"slide\"><img src=\"/media/1d/1c/f8/1633615822/Tim-Raue-Logo.jpg\" alt=\"Slide 12\"></div>
  806.                                                     <!-- Add more slides as needed -->
  807.                                                 </div>
  808.                                             </div>
  809.                                         </div>
  810.                                     </div>
  811.                                     <script>
  812.                                         const _slider = document.getElementById('image-slider');
  813.                                         let _slideIndex = 0;
  814.                                         function showSlide(index) {
  815.                                             const translateValue = -index * (100 / 3) + '%';
  816.                                             _slider.style.transform = 'translateX(' + translateValue + ')';
  817.                                         }
  818.                                         function nextSlide() {
  819.                                             _slideIndex = (_slideIndex + 1) % (_slider.children.length - 2);
  820.                                             showSlide(_slideIndex);
  821.                                         }
  822.                                         function prevSlide() {
  823.                                             _slideIndex = (_slideIndex - 1 + (_slider.children.length - 2)) % (_slider.children.length - 2);
  824.                                             showSlide(_slideIndex);
  825.                                         }
  826.                                         // Set interval for automatic sliding (optional)
  827.                                         // setInterval(nextSlide, 3000); // Change slide every 3 seconds
  828.                                         // You can also use buttons or other events to trigger next/previous slides
  829.                                         // For example, you can use buttons like:
  830.                                         console.log('AAA');
  831.                                         document.getElementById('nextButton').addEventListener('click', nextSlide);
  832.                                         document.getElementById('prevButton').addEventListener('click', prevSlide);
  833.                                     </script>
  834.                                     ";
  835.         // line 546
  836.         echo "                                    ";
  837.         $context["config"] = $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"S360Experts.config");
  838.         // line 547
  839.         echo "                                    ";
  840.         if ((sw_get_attribute($this->env$this->source, ($context["config"] ?? null), "showOnDetail", [], "any"falsefalsefalse547) && sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse547), "hasExtension", [=> "s360_experts"], "method"falsefalsefalse547))) {
  841.             // line 548
  842.             echo "                                    ";
  843.             // line 549
  844.             echo "                                        ";
  845.             $this->loadTemplate("@GrimmTheme/solution360/s360experts/product-detail.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"549)->display($context);
  846.             // line 550
  847.             echo "                                    ";
  848.         }
  849.         // line 551
  850.         echo "
  851.                                     ";
  852.         // line 562
  853.         echo "                                                
  854.                                 </div>
  855.                                 ";
  856.         // line 566
  857.         echo "
  858.                                 <div class=\"col-lg-12 product-detail-tabs__cross-selling interest\">
  859.                                         ";
  860.         // line 569
  861.         echo "                                        ";
  862.         if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"Clerkio.config.productRecommendationsEnabled") == "true")) {
  863.             // line 570
  864.             echo "                                            ";
  865.             $context["contents"] = twig_split_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"Clerkio.config.productRecommendationsContent"), ",");
  866.             // line 571
  867.             echo "                                            <span class=\"clerk\" data-template=\"@";
  868.             echo sw_escape_filter($this->envtwig_replace_filter((($__internal_compile_0 = ($context["contents"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[1] ?? null) : null), [" " => ""]), "html"nulltrue);
  869.             echo "\" data-products='[\"";
  870.             echo sw_escape_filter($this->env, ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse571), "parentId", [], "any"falsefalsefalse571)) ? (twig_upper_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse571), "parentId", [], "any"falsefalsefalse571))) : (twig_upper_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse571), "id", [], "any"falsefalsefalse571)))), "html"nulltrue);
  871.             echo "\"]'></span>
  872.                                         ";
  873.         }
  874.         // line 573
  875.         echo "                                </div>
  876.                                 ";
  877.         // line 575
  878.         if (($context["isMobile"] ?? null)) {
  879.             // line 576
  880.             echo "                                    <div class=\"col-12 col-lg-7 product-detail-tabs__wrapper\">
  881.                                         <div class=\"product-detail-tabs product-detail-tabs--mobile\">
  882.                                             ";
  883.             // line 578
  884.             $this->loadTemplate("@GrimmTheme/storefront/page/product-detail/tabs-mobile.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"578)->display($context);
  885.             // line 579
  886.             echo "                                        </div>
  887.                                     </div>
  888.                                     <div class=\"col-12 product-detail-tabs__cross-selling\">
  889.                                         ";
  890.             // line 584
  891.             echo "                                        ";
  892.             if (((twig_length_filter($this->envsw_get_attribute($this->env$this->source, ($context["page"] ?? null), "crossSellings", [], "any"falsefalsefalse584)) > 0) && (sw_get_attribute($this->env$this->sourcetwig_first($this->envsw_get_attribute($this->env$this->source, ($context["page"] ?? null), "crossSellings", [], "any"falsefalsefalse584)), "total", [], "any"falsefalsefalse584) > 0))) {
  893.                 // line 585
  894.                 echo "                                                <div class=\"product-detail-tabs ";
  895.                 if (($context["isMobile"] ?? null)) {
  896.                     echo "product-detail-tabs--mobile";
  897.                 }
  898.                 echo "\">
  899.                                                     ";
  900.                 // line 586
  901.                 if (($context["isMobile"] ?? null)) {
  902.                     // line 587
  903.                     echo "                                                        ";
  904.                     $this->loadTemplate("@GrimmTheme/storefront/page/product-detail/cross-selling/tabs-mobile.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"587)->display(twig_array_merge($context, ["crossSellings" => sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "crossSellings", [], "any"falsefalsefalse587)]));
  905.                     // line 589
  906.                     echo "                                                    ";
  907.                 } else {
  908.                     // line 590
  909.                     echo "                                                        ";
  910.                     $this->loadTemplate("@GrimmTheme/storefront/page/product-detail/cross-selling/tabs.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"590)->display(twig_array_merge($context, ["crossSellings" => sw_get_attribute($this->env$this->source,                     // line 591
  911. ($context["page"] ?? null), "crossSellings", [], "any"falsefalsefalse591)]));
  912.                     // line 593
  913.                     echo "                                                    ";
  914.                 }
  915.                 // line 594
  916.                 echo "                                                </div>
  917.                                         ";
  918.             }
  919.             // line 596
  920.             echo "                                    </div>
  921.                                 ";
  922.         }
  923.         // line 598
  924.         echo "
  925.                             ";
  926.         
  927.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  928.         
  929.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  930.     }
  931.     // line 276
  932.     public function block_page_product_detail_buy($context, array $blocks = [])
  933.     {
  934.         $macros $this->macros;
  935.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  936.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_buy"));
  937.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  938.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_buy"));
  939.         // line 277
  940.         echo "                                        <div class=\"product-detail-buy__container\">
  941.                                             ";
  942.         // line 278
  943.         $this->loadTemplate("@GrimmTheme/storefront/page/product-detail/buy-widget.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"278)->display($context);
  944.         // line 279
  945.         echo "                                            ";
  946.         // line 280
  947.         echo "                                            
  948.                                             ";
  949.         // line 283
  950.         echo "                                            ";
  951.         if ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse283), "parentId", [], "any"falsefalsefalse283) && (twig_length_filter($this->envsw_get_attribute($this->env$this->source, ($context["page"] ?? null), "configuratorSettings", [], "any"falsefalsefalse283)) > 0))) {
  952.             // line 284
  953.             echo "                                                <div class=\"product-detail-configurator-container test\">
  954.                                                     ";
  955.             // line 285
  956.             $this->loadTemplate("@GrimmTheme/storefront/page/product-detail/configurator_dropdown.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"285)->display($context);
  957.             // line 286
  958.             echo "                                                </div>
  959.                                             ";
  960.         }
  961.         // line 288
  962.         echo "                                            
  963.                                             
  964.                                             ";
  965.         // line 294
  966.         echo "                                            ";
  967.         if ( !($context["isMobile"] ?? null)) {
  968.             // line 295
  969.             echo "                                                <div class=\"product-detail-tabs__cross-selling\">
  970.                                                     ";
  971.             // line 297
  972.             echo "                                                    ";
  973.             if (((twig_length_filter($this->envsw_get_attribute($this->env$this->source, ($context["page"] ?? null), "crossSellings", [], "any"falsefalsefalse297)) > 0) && (sw_get_attribute($this->env$this->sourcetwig_first($this->envsw_get_attribute($this->env$this->source, ($context["page"] ?? null), "crossSellings", [], "any"falsefalsefalse297)), "total", [], "any"falsefalsefalse297) > 0))) {
  974.                 // line 298
  975.                 echo "                                                            <div class=\"product-detail-tabs ";
  976.                 if (($context["isMobile"] ?? null)) {
  977.                     echo "product-detail-tabs--mobile";
  978.                 }
  979.                 echo "\">
  980.                                                                 ";
  981.                 // line 299
  982.                 if (($context["isMobile"] ?? null)) {
  983.                     // line 300
  984.                     echo "                                                                    ";
  985.                     $this->loadTemplate("@GrimmTheme/storefront/page/product-detail/cross-selling/tabs-mobile.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"300)->display(twig_array_merge($context, ["crossSellings" => sw_get_attribute($this->env$this->source,                     // line 301
  986. ($context["page"] ?? null), "crossSellings", [], "any"falsefalsefalse301), "onlyShowFew" => true]));
  987.                     // line 304
  988.                     echo "                                                                ";
  989.                 } else {
  990.                     // line 305
  991.                     echo "
  992.                                                                     ";
  993.                     // line 306
  994.                     $this->loadTemplate("@GrimmTheme/storefront/page/product-detail/cross-selling/tabs.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"306)->display(twig_array_merge($context, ["crossSellings" => sw_get_attribute($this->env$this->source,                     // line 307
  995. ($context["page"] ?? null), "crossSellings", [], "any"falsefalsefalse307), "onlyShowFew" => true]));
  996.                     // line 310
  997.                     echo "
  998.                                                                     ";
  999.                     // line 361
  1000.                     echo "
  1001.                                                                 ";
  1002.                 }
  1003.                 // line 364
  1004.                 echo "                                                            </div>
  1005.                                                     ";
  1006.             }
  1007.             // line 366
  1008.             echo "                                                    ";
  1009.             // line 367
  1010.             echo "                                                </div>
  1011.                                                 
  1012.                                             ";
  1013.         }
  1014.         // line 371
  1015.         echo "
  1016.                                             
  1017.                                             ";
  1018.         // line 374
  1019.         echo "                                            <div class=\"product-detail-guarantee-container\">
  1020.                                                 <a class=\"monthly-installment-btn d-inline-block mb-2 col-12\" href=\"/garantie-reklamation.html\" target=\"_blank\">
  1021.                                                    ";
  1022.         // line 376
  1023.         ((function () use ($context$blocks) {
  1024.             $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  1025.             $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  1026.             return $this->loadTemplate($includeTemplate ?? null"@GrimmTheme/storefront/page/product-detail/index.html.twig"376);
  1027.         })())->display(twig_array_merge($context, ["name" => "info"]));
  1028.         echo "  <span class=\"guarantee-title\">";
  1029.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.guarantee.title"));
  1030.         echo "</span>
  1031.                                                 </a>
  1032.                                             </div>
  1033.                                             ";
  1034.         // line 381
  1035.         echo "                                            ";
  1036.         $context["requestOnly"] = 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"falsefalsefalse381), "translated", [], "any"falsefalsefalse381), "customFields", [], "any"falsefalsefalse381), "grimm_customfields_productRequest_only", [], "any"falsefalsefalse381);
  1037.         // line 382
  1038.         echo "                                            ";
  1039.         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"falsefalsefalse382), "calculatedPrice", [], "any"falsefalsefalse382), "unitPrice", [], "any"falsefalsefalse382) >= 500) && (sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "taxState", [], "any"falsefalsefalse382) == "net")) && (($context["requestOnly"] ?? null) == false))) {
  1040.             // line 383
  1041.             echo "                                                <div class=\"product-detail-leasing-container\">
  1042.                                                         ";
  1043.             // line 384
  1044.             $this->loadTemplate("@GrimmTheme/solution360/grimm/leasing/leasing-modal.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"384)->display(twig_array_merge($context, ["price" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 386
  1045. ($context["page"] ?? null), "product", [], "any"falsefalsefalse386), "calculatedPrice", [], "any"falsefalsefalse386), "unitPrice", [], "any"falsefalsefalse386)]));
  1046.             // line 389
  1047.             echo "                                                </div>
  1048.                                             ";
  1049.         }
  1050.         // line 391
  1051.         echo "
  1052.                                             ";
  1053.         // line 392
  1054.         $context["additionalDeliveryInfoSpecific"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["product"] ?? null), "translated", [], "any"falsefalsefalse392), "customFields", [], "any"falsefalsefalse392), "grimm_customFields_additionalDeliveryInfo", [], "any"falsefalsefalse392);
  1055.         // line 393
  1056.         echo "                                            ";
  1057.         $context["additionalDeliveryInfoGeneral"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product.additionalDeliveryInfo"));
  1058.         // line 394
  1059.         echo "
  1060.                                             ";
  1061.         // line 395
  1062.         if (($context["additionalDeliveryInfoSpecific"] ?? null)) {
  1063.             // line 396
  1064.             echo "                                                <div class=\"product-detail-buy additional-delivery-info buy-box-style mb-3\">
  1065.                                                     ";
  1066.             // line 397
  1067.             echo ($context["additionalDeliveryInfoSpecific"] ?? null);
  1068.             echo "
  1069.                                                 </div>
  1070.                                             ";
  1071.         } elseif ((        // line 399
  1072. ($context["additionalDeliveryInfoGeneral"] ?? null) != "")) {
  1073.             // line 400
  1074.             echo "                                                <div class=\"product-detail-buy additional-delivery-info buy-box-style mb-3\">
  1075.                                                     ";
  1076.             // line 401
  1077.             echo sw_escape_filter($this->env, ($context["additionalDeliveryInfoGeneral"] ?? null), "html"nulltrue);
  1078.             echo "
  1079.                                                 </div>
  1080.                                             ";
  1081.         }
  1082.         // line 404
  1083.         echo "                                        </div>
  1084.                                     ";
  1085.         
  1086.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1087.         
  1088.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1089.     }
  1090.     // line 411
  1091.     public function block_page_product_detail_cross_selling($context, array $blocks = [])
  1092.     {
  1093.         $macros $this->macros;
  1094.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1095.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_cross_selling"));
  1096.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1097.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_cross_selling"));
  1098.         // line 412
  1099.         echo "                                    <a id=\"productRelatedArticles\" style=\"scroll-margin-top: 250px\"></a>
  1100.                                         ";
  1101.         // line 414
  1102.         echo "                                        ";
  1103.         // line 415
  1104.         echo "                                        ";
  1105.         if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"S360ProductRecommendations.config") && $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"S360ProductRecommendations.config.active"))) {
  1106.             // line 416
  1107.             echo "                                            ";
  1108.             $context["recommendationProducts"] = sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "getExtension", [=> "s360ProductRecommendations"], "method"falsefalsefalse416);
  1109.             // line 417
  1110.             echo "                                            ";
  1111.             if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["recommendationProducts"] ?? null), "products", [], "any"falsefalsefalse417), "elements", [], "any"falsefalsefalse417)) {
  1112.                 // line 418
  1113.                 echo "                                                ";
  1114.                 $context["sliderConfig"] = ["boxLayout" => ["value" => "minimal"], "navigation" => ["value" => true], "title" => ["value" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.productRecommendations")]];
  1115.                 // line 429
  1116.                 echo "                                                ";
  1117.                 $this->loadTemplate("@GrimmTheme/storefront/element/cms-element-s360-adjustable-productslider.html.twig""@GrimmTheme/storefront/page/product-detail/index.html.twig"429)->display(twig_array_merge($context, ["element" => ["type" => "s360-adjustable-productslider""data" =>                 // line 433
  1118. ($context["recommendationProducts"] ?? null)], "sliderConfig" =>                 // line 435
  1119. ($context["sliderConfig"] ?? null)]));
  1120.                 // line 438
  1121.                 echo "                                            ";
  1122.             }
  1123.             // line 439
  1124.             echo "                                        ";
  1125.         }
  1126.         // line 440
  1127.         echo "                                        ";
  1128.         // line 441
  1129.         echo "                                        ";
  1130.         if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"Clerkio.config.productRecommendationsEnabled") == "true")) {
  1131.             // line 442
  1132.             echo "                                            ";
  1133.             $context["contents"] = twig_split_filter($this->env$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"Clerkio.config.productRecommendationsContent"), ",");
  1134.             // line 443
  1135.             echo "
  1136.                                             <span class=\"clerk\" data-template=\"@";
  1137.             // line 444
  1138.             echo sw_escape_filter($this->envtwig_replace_filter((($__internal_compile_1 = ($context["contents"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[0] ?? null) : null), [" " => ""]), "html"nulltrue);
  1139.             echo "\" data-products='[\"";
  1140.             echo sw_escape_filter($this->env, ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse444), "parentId", [], "any"falsefalsefalse444)) ? (twig_upper_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse444), "parentId", [], "any"falsefalsefalse444))) : (twig_upper_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse444), "id", [], "any"falsefalsefalse444)))), "html"nulltrue);
  1141.             echo "\"]'></span>
  1142.                                         ";
  1143.         }
  1144.         // line 447
  1145.         echo "                                    ";
  1146.         
  1147.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1148.         
  1149.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1150.     }
  1151.     // line 608
  1152.     public function block_page_product_detail_tabs($context, array $blocks = [])
  1153.     {
  1154.         $macros $this->macros;
  1155.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_tabs"));
  1157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1158.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_tabs"));
  1159.         // line 609
  1160.         echo "                ";
  1161.         
  1162.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1163.         
  1164.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1165.     }
  1166.     public function getTemplateName()
  1167.     {
  1168.         return "@GrimmTheme/storefront/page/product-detail/index.html.twig";
  1169.     }
  1170.     public function isTraitable()
  1171.     {
  1172.         return false;
  1173.     }
  1174.     public function getDebugInfo()
  1175.     {
  1176.         return array (  1288 => 609,  1278 => 608,  1268 => 447,  1260 => 444,  1257 => 443,  1254 => 442,  1251 => 441,  1249 => 440,  1246 => 439,  1243 => 438,  1241 => 435,  1240 => 433,  1238 => 429,  1235 => 418,  1232 => 417,  1229 => 416,  1226 => 415,  1224 => 414,  1221 => 412,  1211 => 411,  1200 => 404,  1194 => 401,  1191 => 400,  1189 => 399,  1184 => 397,  1181 => 396,  1179 => 395,  1176 => 394,  1173 => 393,  1171 => 392,  1168 => 391,  1164 => 389,  1162 => 386,  1161 => 384,  1158 => 383,  1155 => 382,  1152 => 381,  1137 => 376,  1133 => 374,  1129 => 371,  1123 => 367,  1121 => 366,  1117 => 364,  1112 => 361,  1109 => 310,  1107 => 307,  1106 => 306,  1103 => 305,  1100 => 304,  1098 => 301,  1096 => 300,  1094 => 299,  1087 => 298,  1084 => 297,  1081 => 295,  1078 => 294,  1071 => 288,  1067 => 286,  1065 => 285,  1062 => 284,  1059 => 283,  1055 => 280,  1053 => 279,  1051 => 278,  1048 => 277,  1038 => 276,  1025 => 598,  1021 => 596,  1017 => 594,  1014 => 593,  1012 => 591,  1010 => 590,  1007 => 589,  1004 => 587,  1002 => 586,  995 => 585,  992 => 584,  986 => 579,  984 => 578,  980 => 576,  978 => 575,  974 => 573,  966 => 571,  963 => 570,  960 => 569,  956 => 566,  951 => 562,  947 => 551,  944 => 550,  941 => 549,  939 => 548,  936 => 547,  933 => 546,  872 => 493,  862 => 492,  850 => 482,  845 => 479,  841 => 476,  837 => 474,  835 => 473,  831 => 472,  827 => 470,  825 => 469,  822 => 468,  818 => 466,  816 => 465,  812 => 464,  808 => 462,  805 => 461,  801 => 459,  799 => 458,  795 => 457,  791 => 455,  789 => 454,  784 => 451,  782 => 450,  778 => 448,  776 => 411,  771 => 408,  768 => 406,  766 => 276,  759 => 272,  753 => 271,  749 => 270,  743 => 266,  733 => 265,  721 => 261,  719 => 260,  716 => 258,  713 => 257,  711 => 253,  710 => 243,  708 => 242,  706 => 241,  697 => 235,  691 => 234,  687 => 233,  681 => 229,  671 => 228,  660 => 225,  658 => 224,  651 => 221,  643 => 220,  640 => 219,  630 => 218,  618 => 602,  616 => 265,  613 => 264,  611 => 228,  608 => 227,  606 => 218,  602 => 216,  600 => 215,  596 => 213,  586 => 212,  574 => 610,  572 => 608,  567 => 605,  564 => 212,  554 => 211,  543 => 613,  541 => 211,  538 => 210,  528 => 209,  515 => 626,  511 => 624,  509 => 621,  507 => 620,  504 => 619,  501 => 618,  498 => 615,  496 => 209,  493 => 208,  490 => 207,  487 => 206,  477 => 205,  458 => 65,  448 => 20,  445 => 19,  435 => 18,  397 => 176,  391 => 173,  384 => 169,  378 => 166,  373 => 164,  369 => 163,  363 => 160,  358 => 158,  354 => 157,  349 => 155,  337 => 146,  330 => 142,  324 => 138,  322 => 136,  321 => 135,  318 => 134,  316 => 132,  315 => 131,  281 => 102,  275 => 99,  269 => 96,  262 => 92,  256 => 89,  251 => 87,  247 => 86,  241 => 83,  236 => 81,  232 => 80,  227 => 78,  215 => 69,  208 => 65,  202 => 61,  200 => 59,  199 => 58,  196 => 57,  194 => 55,  193 => 54,  189 => 52,  183 => 50,  180 => 49,  174 => 47,  172 => 46,  167 => 45,  146 => 24,  142 => 21,  140 => 18,  137 => 17,  127 => 16,  116 => 11,  114 => 10,  111 => 9,  101 => 8,  90 => 13,  88 => 8,  85 => 7,  75 => 6,  64 => 2,  62 => 4,  49 => 2,);
  1177.     }
  1178.     public function getSourceContext()
  1179.     {
  1180.         return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
  1181. {# due to different positioning of elements in mobile and desktop, we had to work with responsive classes as well as conditional device rendering (SD-5192 #}
  1182. {% set isMobile = device == 'mobile' %}
  1183. {% block base_header %}
  1184.     <header class=\"header-main sticky-header\">
  1185.         {% block base_header_inner %}
  1186.             <div class=\"container\">
  1187.                 {% sw_include '@Storefront/storefront/layout/header/header.html.twig' %}
  1188.             </div>
  1189.         {% endblock %}
  1190.     </header>
  1191. {% endblock %}
  1192. {% block base_navigation %}
  1193.     <div class=\"nav-main sticky-header-nav\">
  1194.         {% block base_navigation_inner %}
  1195.             {% sw_include '@Storefront/storefront/layout/navigation/navigation.html.twig' %}
  1196.         {% endblock %}
  1197.     </div>
  1198.     {# Sticky Header #}
  1199.     <script>
  1200.         function scrollToSection(sectionId) {
  1201.             var section = document.getElementById(sectionId);
  1202.             var offset = -500; // Adjust the offset as needed
  1203.             if (section) {
  1204.                 var offsetTop = section.offsetTop - offset;
  1205.                 // window.scrollTo(0,15000);
  1206.                 window.scrollTo({ top: 175, behavior: \"smooth\" });
  1207.             }
  1208.         }
  1209.     </script>
  1210.     <div class=\"sticky-product-header\">
  1211.         <div class=\"sticky-product-header-inner\">
  1212.             <div class=\"row\">
  1213.                 <div class=\"col-lg-7 col-12 product-navigation\">
  1214.                     {# <span class=\"header-nav-link\"><a href=\"#productDescription\" onclick=\"scrollToSection('productDescription')\">{{ \"detail.descriptionTitle\"|trans|sw_sanitize }}</a></span>
  1215.                     <span class=\"header-nav-link\"><a href=\"#productRelatedArticles\" onclick=\"scrollToSection('productRelatedArticles')\">{{ \"product.relatedProducts\"|trans|sw_sanitize }}</a></span> #}
  1216.                     <span class=\"header-nav-link\"><a href=\"#productGeneralDescription\" onclick=\"scrollToSection('productGeneralDescription')\">{{ \"detail.tabsDescription\"|trans|sw_sanitize }}</a></span>
  1217.                     {% if page.product.sortedProperties|length > 0 or page.product.manufacturerNumber != \"\" or page.product.ean != \"\" %}
  1218.                         <span class=\"header-nav-link\"><a href=\"#productGeneralProperties\" onclick=\"scrollToSection('productGeneralProperties')\">{{ \"detail.tabsProperties\"|trans|sw_sanitize }}</a></span>
  1219.                     {% endif %}
  1220.                     {% if product.customFields and product.customFields.downloads and product.customFields.downloads|length %}
  1221.                         <span class=\"header-nav-link\"><a href=\"#productGeneralDownloads\" onclick=\"scrollToSection('productGeneralDownloads')\">{{ \"detail.tabsDownloads\"|trans|sw_sanitize }}</a></span>
  1222.                     {% endif %}
  1223.                 </div>
  1224.                 <div class=\"col-lg-2 only-desktop\">
  1225.                     {% sw_include '@Storefront/storefront/component/product/card/price-taxes.html.twig' with {
  1226.                         product: page.product
  1227.                     } %}
  1228.                     <br>
  1229.                     {% sw_include '@Storefront/storefront/page/product-detail/buy-widget-price.html.twig' with {
  1230.                         product: page.product
  1231.                     } %}
  1232.                 </div>
  1233.                 <div class=\"d-none d-md-block col-lg-3\">
  1234.                 <form
  1235.                 class=\"show-form-loader show-form-loader-buy-btn\"
  1236.                 action=\"{% block page_product_detail_buy_form_action %}{{ path('frontend.checkout.line-item.add') }}{% endblock %}\"
  1237.                 method=\"post\"
  1238.                 data-add-to-cart=\"true\"
  1239.                 class=\"buy-widget\">
  1240.                     {{ sw_csrf('frontend.checkout.line-item.add') }}
  1241.                     <input type=\"hidden\"
  1242.                                name=\"redirectTo\"
  1243.                                value=\"frontend.detail.page\">
  1244.                     <input type=\"hidden\"
  1245.                             name=\"redirectParameters\"
  1246.                             data-redirect-parameters=\"true\"
  1247.                             value='{\"productId\": \"{{ page.product.id }}\"}'>
  1248.                     <input type=\"hidden\"
  1249.                                name=\"lineItems[{{ page.product.id }}][id]\"
  1250.                                value=\"{{ page.product.id }}\">
  1251.                     <input type=\"hidden\"
  1252.                             name=\"lineItems[{{ page.product.id }}][type]\"
  1253.                             value=\"product\">
  1254.                     <input type=\"hidden\"
  1255.                             name=\"lineItems[{{ page.product.id }}][referencedId]\"
  1256.                             value=\"{{ page.product.id }}\">
  1257.                     <input type=\"hidden\"
  1258.                             name=\"lineItems[{{ page.product.id }}][stackable]\"
  1259.                             value=\"1\">
  1260.                     <input type=\"hidden\"
  1261.                             name=\"lineItems[{{ page.product.id }}][removable]\"
  1262.                             value=\"1\">
  1263.                     <input type=\"hidden\"
  1264.                                name=\"product-name\"
  1265.                                value=\"{{ page.product.translated.name }}\">
  1266.                     <input type=\"hidden\"
  1267.                             name=\"brand-name\"
  1268.                             value=\"{{ page.product.manufacturer.getName() }}\">
  1269.                     <button class=\"btn btn-block btn-buy font-weight-bold w-100 justify-content-center mb-1\" title=\"Warenkorb\">
  1270.                         <span class=\"d-sm-none mr-3\">{{ \"product.buyButton\"|trans|sw_sanitize }}</span><span class=\"d-none d-sm-inline mr-3\">{{ \"detail.addProduct\"|trans|sw_sanitize }}</span>
  1271.                         <span class=\"lak icon icon-warenkorb icon-sm\">
  1272.                             <svg width=\"23px\" height=\"23px\" viewBox=\"0 0 23 23\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">
  1273.                                 <g id=\"Startseite\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
  1274.                                     <g id=\"Startseite-Lang-Copy-9\" transform=\"translate(-1282.000000, -61.000000)\" fill=\"#9B9B9B\" fill-rule=\"nonzero\">
  1275.                                         <g id=\"Group-41\">
  1276.                                             <g id=\"Group-5\" transform=\"translate(1282.000000, 61.000000)\">
  1277.                                                 <g id=\"Group-36\" transform=\"translate(0.500000, 0.500000)\">
  1278.                                                     <path d=\"M0.5,1 L2.83418038,1 C3.07711701,1 3.28489881,1.17462161 3.32671697,1.41393197 L5.83329879,15.7582041 C5.95875326,16.4761352 6.58209867,17 7.31090857,17 L18.5526336,17 C18.828776,17 19.0526336,16.7761424 19.0526336,16.5 C19.0526336,16.2238576 18.828776,16 18.5526336,16 L7.31090857,16 C7.06797193,16 6.86019013,15.8253784 6.81837197,15.586068 L4.31179015,1.24179591 C4.18633568,0.523864821 3.56299027,0 2.83418038,0 L0.5,0 C0.223857625,0 1.02318154e-12,0.223857625 1.02318154e-12,0.5 C1.02318154e-12,0.776142375 0.223857625,1 0.5,1 Z\" id=\"Path-6\"></path>
  1279.                                                     <path d=\"M7.10477473,3.78963344 L20.9464503,3.78963344 C21.2225927,3.78963344 21.4464503,4.01349107 21.4464503,4.28963344 C21.4464503,4.3390493 21.4391247,4.38819219 21.4247125,4.43545967 L19.2903526,11.4354597 C19.2261971,11.6458689 19.0320631,11.7896334 18.8120904,11.7896334 L8.43673944,11.7896334 C8.16059707,11.7896334 7.93673944,12.0134911 7.93673944,12.2896334 C7.93673944,12.5657758 8.16059707,12.7896334 8.43673944,12.7896334 L18.8120904,12.7896334 C19.4720085,12.7896334 20.0544103,12.3583398 20.246877,11.7271121 L22.3812368,4.72711212 C22.4244736,4.58530969 22.4464503,4.43788103 22.4464503,4.28963344 C22.4464503,3.46120632 21.7748774,2.78963344 20.9464503,2.78963344 L7.10477473,2.78963344 C6.82863235,2.78963344 6.60477473,3.01349107 6.60477473,3.28963344 C6.60477473,3.56577582 6.82863235,3.78963344 7.10477473,3.78963344 Z\" id=\"Path-7\"></path>
  1280.                                                     <path d=\"M9.19378522,21.8094908 C10.1602835,21.8094908 10.9437852,21.0259891 10.9437852,20.0594908 C10.9437852,19.0929925 10.1602835,18.3094908 9.19378522,18.3094908 C8.22728691,18.3094908 7.44378522,19.0929925 7.44378522,20.0594908 C7.44378522,21.0259891 8.22728691,21.8094908 9.19378522,21.8094908 Z M9.19378522,20.8094908 C8.77957165,20.8094908 8.44378522,20.4737044 8.44378522,20.0594908 C8.44378522,19.6452772 8.77957165,19.3094908 9.19378522,19.3094908 C9.60799878,19.3094908 9.94378522,19.6452772 9.94378522,20.0594908 C9.94378522,20.4737044 9.60799878,20.8094908 9.19378522,20.8094908 Z\" id=\"Oval\"></path>
  1281.                                                     <path d=\"M18.1937852,21.8094908 C19.1602835,21.8094908 19.9437852,21.0259891 19.9437852,20.0594908 C19.9437852,19.0929925 19.1602835,18.3094908 18.1937852,18.3094908 C17.2272869,18.3094908 16.4437852,19.0929925 16.4437852,20.0594908 C16.4437852,21.0259891 17.2272869,21.8094908 18.1937852,21.8094908 Z M18.1937852,20.8094908 C17.7795717,20.8094908 17.4437852,20.4737044 17.4437852,20.0594908 C17.4437852,19.6452772 17.7795717,19.3094908 18.1937852,19.3094908 C18.6079988,19.3094908 18.9437852,19.6452772 18.9437852,20.0594908 C18.9437852,20.4737044 18.6079988,20.8094908 18.1937852,20.8094908 Z\" id=\"Oval-Copy-3\"></path>
  1282.                                                 </g>
  1283.                                             </g>
  1284.                                         </g>
  1285.                                     </g>
  1286.                                 </g>
  1287.                             </svg>
  1288.                         </span>
  1289.                     </button>
  1290.                 </form>
  1291.                 </div>
  1292.             </div>
  1293.         </div>
  1294.     </div>
  1295.     <div class=\"sticky-product-footer d-md-none\">
  1296.         <div class=\"sticky-product-footer-inner d-flex justify-content-between align-items-center\">
  1297.             <div class=\"col-lg-2 p-0\">
  1298.                 {% sw_include '@Storefront/storefront/component/product/card/price-taxes.html.twig' with {
  1299.                     product: page.product
  1300.                 } %}
  1301.                 <br>
  1302.                 {% sw_include '@Storefront/storefront/page/product-detail/buy-widget-price.html.twig' with {
  1303.                     product: page.product
  1304.                 } %}
  1305.             </div>
  1306.             <div class=\"d-md-none\">
  1307.                 <form
  1308.                 class=\"show-form-loader show-form-loader-buy-btn\"
  1309.                 action=\"{{ path('frontend.checkout.line-item.add') }}\"
  1310.                 method=\"post\"
  1311.                 data-add-to-cart=\"true\"
  1312.                 class=\"buy-widget\">
  1313.                     {{ sw_csrf('frontend.checkout.line-item.add') }}
  1314.                     <input type=\"hidden\"
  1315.                             name=\"redirectTo\"
  1316.                             value=\"frontend.detail.page\">
  1317.                     <input type=\"hidden\"
  1318.                             name=\"redirectParameters\"
  1319.                             data-redirect-parameters=\"true\"
  1320.                             value='{\"productId\": \"{{ page.product.id }}\"}'>
  1321.                     <input type=\"hidden\"
  1322.                             name=\"lineItems[{{ page.product.id }}][id]\"
  1323.                             value=\"{{ page.product.id }}\">
  1324.                     <input type=\"hidden\"
  1325.                             name=\"lineItems[{{ page.product.id }}][type]\"
  1326.                             value=\"product\">
  1327.                     <input type=\"hidden\"
  1328.                             name=\"lineItems[{{ page.product.id }}][referencedId]\"
  1329.                             value=\"{{ page.product.id }}\">
  1330.                     <input type=\"hidden\"
  1331.                             name=\"lineItems[{{ page.product.id }}][stackable]\"
  1332.                             value=\"1\">
  1333.                     <input type=\"hidden\"
  1334.                             name=\"lineItems[{{ page.product.id }}][removable]\"
  1335.                             value=\"1\">
  1336.                     <input type=\"hidden\"
  1337.                             name=\"product-name\"
  1338.                             value=\"{{ page.product.translated.name }}\">
  1339.                     <input type=\"hidden\"
  1340.                             name=\"brand-name\"
  1341.                             value=\"{{ page.product.manufacturer.getName() }}\">
  1342.                     <button class=\"btn btn-block btn-buy font-weight-bold w-100 justify-content-center justify-content-md-around mb-1 sticky-footer-btn-buy\" title=\"Warenkorb\">
  1343.                         <span class=\"lak icon icon-warenkorb icon-sm\">
  1344.                             <svg width=\"23px\" height=\"23px\" viewBox=\"0 0 23 23\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">
  1345.                                 <g id=\"Startseite\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
  1346.                                     <g id=\"Startseite-Lang-Copy-9\" transform=\"translate(-1282.000000, -61.000000)\" fill=\"#9B9B9B\" fill-rule=\"nonzero\">
  1347.                                         <g id=\"Group-41\">
  1348.                                             <g id=\"Group-5\" transform=\"translate(1282.000000, 61.000000)\">
  1349.                                                 <g id=\"Group-36\" transform=\"translate(0.500000, 0.500000)\">
  1350.                                                     <path d=\"M0.5,1 L2.83418038,1 C3.07711701,1 3.28489881,1.17462161 3.32671697,1.41393197 L5.83329879,15.7582041 C5.95875326,16.4761352 6.58209867,17 7.31090857,17 L18.5526336,17 C18.828776,17 19.0526336,16.7761424 19.0526336,16.5 C19.0526336,16.2238576 18.828776,16 18.5526336,16 L7.31090857,16 C7.06797193,16 6.86019013,15.8253784 6.81837197,15.586068 L4.31179015,1.24179591 C4.18633568,0.523864821 3.56299027,0 2.83418038,0 L0.5,0 C0.223857625,0 1.02318154e-12,0.223857625 1.02318154e-12,0.5 C1.02318154e-12,0.776142375 0.223857625,1 0.5,1 Z\" id=\"Path-6\"></path>
  1351.                                                     <path d=\"M7.10477473,3.78963344 L20.9464503,3.78963344 C21.2225927,3.78963344 21.4464503,4.01349107 21.4464503,4.28963344 C21.4464503,4.3390493 21.4391247,4.38819219 21.4247125,4.43545967 L19.2903526,11.4354597 C19.2261971,11.6458689 19.0320631,11.7896334 18.8120904,11.7896334 L8.43673944,11.7896334 C8.16059707,11.7896334 7.93673944,12.0134911 7.93673944,12.2896334 C7.93673944,12.5657758 8.16059707,12.7896334 8.43673944,12.7896334 L18.8120904,12.7896334 C19.4720085,12.7896334 20.0544103,12.3583398 20.246877,11.7271121 L22.3812368,4.72711212 C22.4244736,4.58530969 22.4464503,4.43788103 22.4464503,4.28963344 C22.4464503,3.46120632 21.7748774,2.78963344 20.9464503,2.78963344 L7.10477473,2.78963344 C6.82863235,2.78963344 6.60477473,3.01349107 6.60477473,3.28963344 C6.60477473,3.56577582 6.82863235,3.78963344 7.10477473,3.78963344 Z\" id=\"Path-7\"></path>
  1352.                                                     <path d=\"M9.19378522,21.8094908 C10.1602835,21.8094908 10.9437852,21.0259891 10.9437852,20.0594908 C10.9437852,19.0929925 10.1602835,18.3094908 9.19378522,18.3094908 C8.22728691,18.3094908 7.44378522,19.0929925 7.44378522,20.0594908 C7.44378522,21.0259891 8.22728691,21.8094908 9.19378522,21.8094908 Z M9.19378522,20.8094908 C8.77957165,20.8094908 8.44378522,20.4737044 8.44378522,20.0594908 C8.44378522,19.6452772 8.77957165,19.3094908 9.19378522,19.3094908 C9.60799878,19.3094908 9.94378522,19.6452772 9.94378522,20.0594908 C9.94378522,20.4737044 9.60799878,20.8094908 9.19378522,20.8094908 Z\" id=\"Oval\"></path>
  1353.                                                     <path d=\"M18.1937852,21.8094908 C19.1602835,21.8094908 19.9437852,21.0259891 19.9437852,20.0594908 C19.9437852,19.0929925 19.1602835,18.3094908 18.1937852,18.3094908 C17.2272869,18.3094908 16.4437852,19.0929925 16.4437852,20.0594908 C16.4437852,21.0259891 17.2272869,21.8094908 18.1937852,21.8094908 Z M18.1937852,20.8094908 C17.7795717,20.8094908 17.4437852,20.4737044 17.4437852,20.0594908 C17.4437852,19.6452772 17.7795717,19.3094908 18.1937852,19.3094908 C18.6079988,19.3094908 18.9437852,19.6452772 18.9437852,20.0594908 C18.9437852,20.4737044 18.6079988,20.8094908 18.1937852,20.8094908 Z\" id=\"Oval-Copy-3\"></path>
  1354.                                                 </g>
  1355.                                             </g>
  1356.                                         </g>
  1357.                                     </g>
  1358.                                 </g>
  1359.                             </svg>
  1360.                         </span>
  1361.                     </button>
  1362.                 </form>
  1363.             </div>
  1364.         </div>
  1365.     </div>
  1366.     
  1367. {% endblock %}
  1368. {% block base_content %}
  1369.     {% set product = page.product %}
  1370.     {% set device = app.session.get('deviceType') %}
  1371.     {% block page_product_detail %}
  1372.         <div class=\"product-detail\" itemscope itemtype=\"https://schema.org/Product\">
  1373.             {% block page_product_detail_inner %}
  1374.                 {% block page_product_detail_content %}
  1375.                     <div class=\"product-detail-content\">
  1376.                         <div class=\"sw-clarity\" data-action=\"set\" data-params='[[ \"pageType\", \"product\" ]]'></div>
  1377.                         {% set mediaItems = page.product.media.media %}
  1378.                         <div class=\"row product-detail__box-container\">
  1379.                             {% block page_product_detail_headline %}
  1380.                                 <button class=\"product-detail__print-btn d-none d-lg-block no-print\" onclick=\"window.print()\">
  1381.                                     {% sw_icon 'drucken' style {'pack': 'grimmtheme', 'namespace': 'GrimmTheme', 'size': 'sm'} %}
  1382.                                     {{ \"detail.print\"|trans|sw_sanitize }}
  1383.                                 </button>
  1384.                                 <div class=\"col-12 row align-items-center product-detail-headline\">
  1385.                                     {% sw_include '@Storefront/storefront/page/product-detail/headline.html.twig' %}
  1386.                                 </div>
  1387.                             {% endblock %}
  1388.                             {% block page_product_detail_media %}
  1389.                                 <div class=\"col-lg-7 product-detail__first-block\">
  1390.                                     <div class=\"customer-switch__container d-md-none\">
  1391.                                         <nav class=\"row no-gutters top-bar-nav align-items-center\">
  1392.                                             <div id=\"top-bar-nav__item1\" class=\"custom-control custom-switch\">
  1393.                                                 <label for=\"customSwitch1\" class=\"top-bar-nav__label control-label label-b2b\">{{ \"header.accountType.business\"|trans|sw_sanitize }}</label>
  1394.                                                 <input type=\"checkbox\" class=\"custom-control-input\" id=\"customSwitch1\" data-switch-tax {% if context.taxState is same as('gross') %}checked=\"checked\"{% endif %}>
  1395.                                                 <label for=\"customSwitch1\" class=\"custom-control-label label-b2c\">{{ \"header.accountType.private\"|trans|sw_sanitize }}</label>
  1396.                                             </div>
  1397.                                         </nav>
  1398.                                     </div>
  1399.                                     <div class=\"product-detail-media\">
  1400.                                         {% if page.product.media %}
  1401.                                             {% sw_include '@Storefront/storefront/element/cms-element-image-gallery.html.twig' with {
  1402.                                                 'mediaItems': mediaItems,
  1403.                                                 'zoom': false,
  1404.                                                 'zoomModal': true,
  1405.                                                 'displayMode': 'contain',
  1406.                                                 'gutter': 5,
  1407.                                                 'minHeight': '430px',
  1408.                                                 'navigationArrows': 'inside',
  1409.                                                 'navigationDots': 'outside',
  1410.                                                 'galleryPosition': 'left',
  1411.                                                 'isProduct': true,
  1412.                                                 'fallbackImageTitle': page.product.translated.name,
  1413.                                                 'startIndexThumbnails': 1,
  1414.                                                 'startIndexSlider': 1
  1415.                                             } %}
  1416.                                         {% endif %}
  1417.                                     </div>
  1418.                                     {# SD-5192: client wanted it this way #}
  1419.                                     {# desktop #}
  1420.                                 </div>
  1421.                             {% endblock %}
  1422.                             {% block page_product_detail_main %}
  1423.                                 <div class=\"col-lg-5 product-detail-main\">
  1424.                                     <div class=\"customer-switch__container d-none d-lg-block\">
  1425.                                         <nav class=\"row no-gutters top-bar-nav align-items-center\">
  1426.                                             <div id=\"top-bar-nav__item1\" class=\"custom-control custom-switch\">
  1427.                                                 <label for=\"customSwitch1\" class=\"top-bar-nav__label control-label label-b2b\">{{ \"header.accountType.business\"|trans|sw_sanitize }}</label>
  1428.                                                 <input type=\"checkbox\" class=\"custom-control-input\" id=\"customSwitch1\" data-switch-tax {% if context.taxState is same as('gross') %}checked=\"checked\"{% endif %}>
  1429.                                                 <label for=\"customSwitch1\" class=\"custom-control-label label-b2c\">{{ \"header.accountType.private\"|trans|sw_sanitize }}</label>
  1430.                                             </div>
  1431.                                         </nav>
  1432.                                     </div>
  1433.                                     {% block page_product_detail_buy %}
  1434.                                         <div class=\"product-detail-buy__container\">
  1435.                                             {% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
  1436.                                             {# {% sw_include '@Storefront/storefront/page/product-detail/share-modal.html.twig' %} #}
  1437.                                             
  1438.                                             {# BREITE LÄNGE WINDOW #}
  1439.                                             {% if page.product.parentId and page.configuratorSettings|length > 0 %}
  1440.                                                 <div class=\"product-detail-configurator-container test\">
  1441.                                                     {% sw_include '@Storefront/storefront/page/product-detail/configurator_dropdown.html.twig' %}
  1442.                                                 </div>
  1443.                                             {% endif %}
  1444.                                             
  1445.                                             
  1446.                                             {# ZUBEHÖR #}
  1447.                                             {% if not isMobile %}
  1448.                                                 <div class=\"product-detail-tabs__cross-selling\">
  1449.                                                     {# moved from bottom where now clerk crossselling will appear #}
  1450.                                                     {% if page.crossSellings|length > 0 and page.crossSellings|first.total > 0 %}
  1451.                                                             <div class=\"product-detail-tabs {% if isMobile %}product-detail-tabs--mobile{% endif %}\">
  1452.                                                                 {% if isMobile %}
  1453.                                                                     {% sw_include '@Storefront/storefront/page/product-detail/cross-selling/tabs-mobile.html.twig' with { 
  1454.                                                                         crossSellings: page.crossSellings,
  1455.                                                                         onlyShowFew: true
  1456.                                                                     } %}
  1457.                                                                 {% else %}
  1458.                                                                     {% sw_include '@Storefront/storefront/page/product-detail/cross-selling/tabs.html.twig' with {
  1459.                                                                         crossSellings: page.crossSellings,
  1460.                                                                         onlyShowFew: true
  1461.                                                                     } %}
  1462.                                                                     {# {% sw_include '@Storefront/storefront/page/product-detail/cross-selling/horizontal-tabs.html.twig' with {
  1463.                                                                         crossSellings: page.crossSellings
  1464.                                                                     } %}
  1465.                                                                     {% for item in page.crossSellings %}
  1466.                                                                         {% set id = item.crossSelling.id %}
  1467.                                                                         {% if item.crossSelling.active and item.getProducts().elements %}
  1468.                                                                             {% set config = {
  1469.                                                                                         'title': {
  1470.                                                                                             'value': item.crossSelling.name
  1471.                                                                                         },
  1472.                                                                                         'border': {
  1473.                                                                                             'value': false
  1474.                                                                                         },
  1475.                                                                                         'rotate': {
  1476.                                                                                             'value': false
  1477.                                                                                         },
  1478.                                                                                         'products': {
  1479.                                                                                             'value': item.getProducts()
  1480.                                                                                         },
  1481.                                                                                         'boxLayout': {
  1482.                                                                                             'value': 'standard'
  1483.                                                                                         },
  1484.                                                                                         'elMinWidth': {
  1485.                                                                                             'value': '150px'
  1486.                                                                                         },
  1487.                                                                                         'navigation': {
  1488.                                                                                             'value': true
  1489.                                                                                         },
  1490.                                                                                         'displayMode': {
  1491.                                                                                             'value': 'minimal'
  1492.                                                                                         },
  1493.                                                                                         'verticalAlign': {
  1494.                                                                                             'value': 'top'
  1495.                                                                                         },
  1496.                                                                                     } %}
  1497.                                                                         {% sw_include \"@Storefront/storefront/element/cms-element-product-slider.html.twig\" with {
  1498.                                                                                         sliderConfig: config,
  1499.                                                                                         element: {
  1500.                                                                                             'data': {
  1501.                                                                                                 'products': {
  1502.                                                                                                     elements: item.getProducts()
  1503.                                                                                                 }
  1504.                                                                                             },
  1505.                                                                                             type: 'product-slider'
  1506.                                                                                         }
  1507.                                                                                     } %}
  1508.                                                                             {% endif %} #}
  1509.                                                                 {% endif %}
  1510.                                                             </div>
  1511.                                                     {% endif %}
  1512.                                                     {# experts go here #}
  1513.                                                 </div>
  1514.                                                 
  1515.                                             {% endif %}
  1516.                                             
  1517.                                             {# GARANTIE #}
  1518.                                             <div class=\"product-detail-guarantee-container\">
  1519.                                                 <a class=\"monthly-installment-btn d-inline-block mb-2 col-12\" href=\"/garantie-reklamation.html\" target=\"_blank\">
  1520.                                                    {% sw_icon 'info' %}  <span class=\"guarantee-title\">{{ \"detail.guarantee.title\"|trans|sw_sanitize }}</span>
  1521.                                                 </a>
  1522.                                             </div>
  1523.                                             {# LEASING #}
  1524.                                             {% set requestOnly = page.product.translated.customFields.grimm_customfields_productRequest_only %}
  1525.                                             {% if (page.product.calculatedPrice.unitPrice >= 500) and (context.taxState == \"net\") and (requestOnly == false) %}
  1526.                                                 <div class=\"product-detail-leasing-container\">
  1527.                                                         {% sw_include '@Storefront/solution360/grimm/leasing/leasing-modal.html.twig' 
  1528.                                                         with {
  1529.                                                             'price': page.product.calculatedPrice.unitPrice
  1530.                                                         }
  1531.                                                         %}
  1532.                                                 </div>
  1533.                                             {% endif %}
  1534.                                             {% set additionalDeliveryInfoSpecific = product.translated.customFields.grimm_customFields_additionalDeliveryInfo %}
  1535.                                             {% set additionalDeliveryInfoGeneral = \"product.additionalDeliveryInfo\"|trans|sw_sanitize %}
  1536.                                             {% if additionalDeliveryInfoSpecific %}
  1537.                                                 <div class=\"product-detail-buy additional-delivery-info buy-box-style mb-3\">
  1538.                                                     {{ additionalDeliveryInfoSpecific|raw }}
  1539.                                                 </div>
  1540.                                             {% elseif additionalDeliveryInfoGeneral != \"\" %}
  1541.                                                 <div class=\"product-detail-buy additional-delivery-info buy-box-style mb-3\">
  1542.                                                     {{ additionalDeliveryInfoGeneral }}
  1543.                                                 </div>
  1544.                                             {% endif %}
  1545.                                         </div>
  1546.                                     {% endblock %}
  1547.                                     {# SD-5192: client wanted it this way #}
  1548.                                 </div>
  1549.                                 <div class=\"col-lg-12 product-detail-tabs__cross-selling\">
  1550.                                     {% block page_product_detail_cross_selling %}
  1551.                                     <a id=\"productRelatedArticles\" style=\"scroll-margin-top: 250px\"></a>
  1552.                                         {# original crossselling was here #}
  1553.                                         {# copied from S360ProductRecommendations plugin #}
  1554.                                         {% if config(\"S360ProductRecommendations.config\") and config(\"S360ProductRecommendations.config.active\") %}
  1555.                                             {% set recommendationProducts = page.getExtension('s360ProductRecommendations') %}
  1556.                                             {% if recommendationProducts.products.elements %}
  1557.                                                 {% set sliderConfig = {
  1558.                                                     \"boxLayout\": {
  1559.                                                         \"value\": \"minimal\"
  1560.                                                     },
  1561.                                                     \"navigation\": {
  1562.                                                         \"value\": true
  1563.                                                     },
  1564.                                                     \"title\": {
  1565.                                                         \"value\": \"detail.productRecommendations\"|trans
  1566.                                                     }
  1567.                                                 } %}
  1568.                                                 {% sw_include '@Storefront/storefront/element/cms-element-s360-adjustable-productslider.html.twig'
  1569.                                                     with {
  1570.                                                         \"element\": {
  1571.                                                             \"type\": \"s360-adjustable-productslider\",
  1572.                                                             \"data\": recommendationProducts
  1573.                                                         },
  1574.                                                         \"sliderConfig\": sliderConfig
  1575.                                                     }
  1576.                                                 %}
  1577.                                             {% endif %}
  1578.                                         {% endif %}
  1579.                                         {# clerk plugin has to be copied here, parent cannot be used because crossselling appears elsewhere on page #}
  1580.                                         {% if config('Clerkio.config.productRecommendationsEnabled') == 'true' %}
  1581.                                             {% set contents = config('Clerkio.config.productRecommendationsContent') | split(',') %}
  1582.                                             <span class=\"clerk\" data-template=\"@{{ contents[0] | replace({' ': ''}) }}\" data-products='[\"{{ page.product.parentId ? page.product.parentId|upper : page.product.id|upper }}\"]'></span>
  1583.                                         {% endif %}
  1584.                                     {% endblock %}
  1585.                                 </div>
  1586.                                 <div class=\"col-lg-7 product-detail-tabs__wrapper pt-3\">
  1587.                                     {% if not isMobile %}
  1588.                                         <div class=\"\">
  1589.                                             <div class=\"product-detail-tabs\">
  1590.                                             {% if page.product.translated.description %}
  1591.                                                 <div>
  1592.                                                     <a id=\"productGeneralDescription\" style=\"scroll-margin-top: 250px\"></a>
  1593.                                                     <h2 class=\"font-weight-bold\">{{ \"detail.tabsDescription\"|trans|sw_sanitize }}</h2>
  1594.                                                     {% sw_include '@Storefront/storefront/page/product-detail/description.html.twig' %}
  1595.                                                 </div>
  1596.                                             {% endif %}
  1597.                                             {% if page.product.sortedProperties|length > 0 or page.product.manufacturerNumber != \"\" or page.product.ean != \"\" %}
  1598.                                                 <div>
  1599.                                                     <a id=\"productGeneralProperties\" style=\"scroll-margin-top: 250px\"></a>
  1600.                                                     <h2 class=\"font-weight-bold\">{{ \"detail.tabsProperties\"|trans|sw_sanitize }}</h2>
  1601.                                                     {% sw_include '@Storefront/storefront/page/product-detail/properties.html.twig' %}
  1602.                                                 </div>
  1603.                                             {% endif %}
  1604.                                             
  1605.                                             {% if product.customFields and product.customFields.downloads and product.customFields.downloads|length %}
  1606.                                                 <div>
  1607.                                                     <a id=\"productGeneralDownloads\" style=\"scroll-margin-top: 250px\"></a>
  1608.                                                     <h2 class=\"font-weight-bold\">{{ \"detail.tabsDownloads\"|trans|sw_sanitize }}</h2>
  1609.                                                     {% sw_include '@Storefront/storefront/page/product-detail/downloads.html.twig' %}
  1610.                                                 </div>
  1611.                                             {% endif %}
  1612.                                                 {# {% sw_include '@Storefront/storefront/page/product-detail/tabs.html.twig' %} #}
  1613.                                             </div>
  1614.                                         </div>
  1615.                                     {% endif %}
  1616.                                 </div>
  1617.                                 <div class=\"col-lg-5 product-detail-info pt-3\">
  1618.                                     <div class=\"mb-3 card reference-card\">
  1619.                                         <div class=\"card-header\">
  1620.                                             <div class=\"card-title\">Unsere Referenzen</div>
  1621.                                         </div>
  1622.                                         <div class=\"card-body\">
  1623.                                             <div class=\"product-slider-controls-container\">
  1624.                                                 <div class=\"base-slider-controls\" data-base-slider-controls=\"true\" aria-label=\"Carousel Navigation\" tabindex=\"0\">
  1625.                                                 <button id=\"prevButton\" class=\"base-slider-controls-prev product-slider-controls-prev\" aria-controls=\"tns2\" tabindex=\"-1\" data-controls=\"prev\">{% sw_icon 'arrow-head-left' %}</button>
  1626.                                                 <button id=\"nextButton\" class=\"base-slider-controls-next product-slider-controls-next\" aria-controls=\"tns2\" tabindex=\"-1\" data-controls=\"next\">{% sw_icon 'arrow-head-right' %}</button>
  1627.                                                 </div>
  1628.                                             </div>
  1629.                                             <div id=\"slider-container\">
  1630.                                                 <div id=\"image-slider\">
  1631.                                                     <div class=\"slide\"><img src=\"/media/a1/72/75/1682430873/Hochschule-Fresenius.jpg\" alt=\"Slide 1\"></div>
  1632.                                                     <div class=\"slide\"><img src=\"/media/70/b0/17/1682430618/Konrad-Adenauer-Stiftung.jpg\" alt=\"Slide 1\"></div>
  1633.                                                     <div class=\"slide\"><img src=\"/media/3b/87/97/1633615706/Aviation-Catering.jpg\" alt=\"Slide 2\"></div>
  1634.                                                     <div class=\"slide\"><img src=\"/media/48/1f/c1/1633615706/Grand-Hyatt.jpg\" alt=\"Slide 3\"></div>
  1635.                                                     <div class=\"slide\"><img src=\"/media/b4/30/1c/1628156382/al-dente-group.jpg\" alt=\"Slide 4\"></div>
  1636.                                                     <div class=\"slide\"><img src=\"/media/77/11/2f/1633615706/Florida-Eis.jpg\" alt=\"Slide 5\"></div>
  1637.                                                     <div class=\"slide\"><img src=\"/media/47/ee/bf/1682430647/Heisser-Wolf.jpg\" alt=\"Slide 6\"></div>
  1638.                                                     <div class=\"slide\"><img src=\"/media/a1/72/75/1682430873/Hochschule-Fresenius.jpg\" alt=\"Slide 7\"></div>
  1639.                                                     <div class=\"slide\"><img src=\"/media/g0/4d/e3/1682430659/Upstall-Kantine.jpg\" alt=\"Slide 8\"></div>
  1640.                                                     <div class=\"slide\"><img src=\"/media/aa/11/51/1633615706/Regent-Berlin.jpg\" alt=\"Slide 9\"></div>
  1641.                                                     <div class=\"slide\"><img src=\"/media/5a/52/a1/1628156383/Wonder-Waffel.jpg\" alt=\"Slide 10\"></div>
  1642.                                                     <div class=\"slide\"><img src=\"/media/16/0a/a3/1628156382/Caritas.jpg\" alt=\"Slide 11\"></div>
  1643.                                                     <div class=\"slide\"><img src=\"/media/1d/1c/f8/1633615822/Tim-Raue-Logo.jpg\" alt=\"Slide 12\"></div>
  1644.                                                     <!-- Add more slides as needed -->
  1645.                                                 </div>
  1646.                                             </div>
  1647.                                         </div>
  1648.                                     </div>
  1649.                                     <script>
  1650.                                         const _slider = document.getElementById('image-slider');
  1651.                                         let _slideIndex = 0;
  1652.                                         function showSlide(index) {
  1653.                                             const translateValue = -index * (100 / 3) + '%';
  1654.                                             _slider.style.transform = 'translateX(' + translateValue + ')';
  1655.                                         }
  1656.                                         function nextSlide() {
  1657.                                             _slideIndex = (_slideIndex + 1) % (_slider.children.length - 2);
  1658.                                             showSlide(_slideIndex);
  1659.                                         }
  1660.                                         function prevSlide() {
  1661.                                             _slideIndex = (_slideIndex - 1 + (_slider.children.length - 2)) % (_slider.children.length - 2);
  1662.                                             showSlide(_slideIndex);
  1663.                                         }
  1664.                                         // Set interval for automatic sliding (optional)
  1665.                                         // setInterval(nextSlide, 3000); // Change slide every 3 seconds
  1666.                                         // You can also use buttons or other events to trigger next/previous slides
  1667.                                         // For example, you can use buttons like:
  1668.                                         console.log('AAA');
  1669.                                         document.getElementById('nextButton').addEventListener('click', nextSlide);
  1670.                                         document.getElementById('prevButton').addEventListener('click', prevSlide);
  1671.                                     </script>
  1672.                                     {# experts go here #}
  1673.                                     {% set config = config('S360Experts.config') %}
  1674.                                     {% if config.showOnDetail and page.product.hasExtension('s360_experts') %}
  1675.                                     {# same template can be used for category and detail page #}
  1676.                                         {% sw_include '@Storefront/solution360/s360experts/product-detail.html.twig' %}
  1677.                                     {% endif %}
  1678.                                     {# {% sw_include \"@Storefront/storefront/element/cms-element-image-slider-s360.html.twig\" with {
  1679.                                         element: {
  1680.                                             'config': {
  1681.                                                 'sliderItems': {
  1682.                                                     value: [\"https://picsum.photos/200/300\",\"https://picsum.photos/200/300\"]
  1683.                                                 }
  1684.                                             },
  1685.                                         }
  1686.                                     } only %} #}
  1687.                                                 
  1688.                                 </div>
  1689.                                 {# SD-5192: client wanted it this way #}
  1690.                                 <div class=\"col-lg-12 product-detail-tabs__cross-selling interest\">
  1691.                                         {# clerk plugin has to be copied here, parent cannot be used because crossselling appears elsewhere on page #}
  1692.                                         {% if config('Clerkio.config.productRecommendationsEnabled') == 'true' %}
  1693.                                             {% set contents = config('Clerkio.config.productRecommendationsContent') | split(',') %}
  1694.                                             <span class=\"clerk\" data-template=\"@{{ contents[1] | replace({' ': ''}) }}\" data-products='[\"{{ page.product.parentId ? page.product.parentId|upper : page.product.id|upper }}\"]'></span>
  1695.                                         {% endif %}
  1696.                                 </div>
  1697.                                 {% if isMobile %}
  1698.                                     <div class=\"col-12 col-lg-7 product-detail-tabs__wrapper\">
  1699.                                         <div class=\"product-detail-tabs product-detail-tabs--mobile\">
  1700.                                             {% sw_include '@Storefront/storefront/page/product-detail/tabs-mobile.html.twig' %}
  1701.                                         </div>
  1702.                                     </div>
  1703.                                     <div class=\"col-12 product-detail-tabs__cross-selling\">
  1704.                                         {# moved from bottom where now clerk crossselling will appear #}
  1705.                                         {% if page.crossSellings|length > 0 and page.crossSellings|first.total > 0 %}
  1706.                                                 <div class=\"product-detail-tabs {% if isMobile %}product-detail-tabs--mobile{% endif %}\">
  1707.                                                     {% if isMobile %}
  1708.                                                         {% sw_include '@Storefront/storefront/page/product-detail/cross-selling/tabs-mobile.html.twig' with { crossSellings: page.crossSellings
  1709.                                                         } %}
  1710.                                                     {% else %}
  1711.                                                         {% sw_include '@Storefront/storefront/page/product-detail/cross-selling/tabs.html.twig' with {
  1712.                                                             crossSellings: page.crossSellings
  1713.                                                         } %}
  1714.                                                     {% endif %}
  1715.                                                 </div>
  1716.                                         {% endif %}
  1717.                                     </div>
  1718.                                 {% endif %}
  1719.                             {% endblock %}
  1720.                         </div>
  1721.                     </div>
  1722.                 {% endblock %}
  1723.                 {% block page_product_detail_tabs %}
  1724.                 {% endblock %}
  1725.             {% endblock %}
  1726.         </div>
  1727.     {% endblock %}
  1728.     {# SD-5577 / if Klaviyo plugin is active, manually copied content due to
  1729.     inheritance issues for this plugin #}
  1730.     {% if page.hasExtension('klaviyoIntegrationPluginExtension') %}
  1731.         {% set extensionData =  page.getExtension('klaviyoIntegrationPluginExtension') %}
  1732.         {% set klaviyoComponentOptions = {
  1733.                 'productInfo': extensionData.productInfo
  1734.             }
  1735.         %}
  1736.         <div style=\"display: none;\" data-klaviyo-product-viewed-event-tracking-component=\"\"
  1737.             data-klaviyo-product-viewed-event-tracking-component-options=\"{{ klaviyoComponentOptions|json_encode }}\"></div>
  1738.     {% endif %}
  1739. {% endblock %}
  1740. ""@GrimmTheme/storefront/page/product-detail/index.html.twig""/var/www/staging1.grimm-gastrobedarf.de/custom/plugins/GrimmTheme/src/Resources/views/storefront/page/product-detail/index.html.twig");
  1741.     }
  1742. }