var/cache/dev_h41800f5fdfafa409ea382bf45d0f7c63/twig/48/48a5cd3923a787736f94d326c3bf4691e17adc680c4935a652ce461f9ddb2e3d.php line 56

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. /* @SchilderSysteme/storefront/page/product-detail/index.html.twig */
  16. class __TwigTemplate_d4ccce8b41452ee0bc898b1e303fe51e42da0ef5b94c077db39187f030dcec3c 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.             'page_product_detail_buy' => [$this'block_page_product_detail_buy'],
  26.             'component_product_wishlist' => [$this'block_component_product_wishlist'],
  27.             'component_product_wishlist_button' => [$this'block_component_product_wishlist_button'],
  28.             'component_product_wishlist_icon' => [$this'block_component_product_wishlist_icon'],
  29.             'page_product_detail_tabs' => [$this'block_page_product_detail_tabs'],
  30.             'page_product_detail_media' => [$this'block_page_product_detail_media'],
  31.             'page_product_detail_cross_selling' => [$this'block_page_product_detail_cross_selling'],
  32.         ];
  33.     }
  34.     protected function doGetParent(array $context)
  35.     {
  36.         // line 2
  37.         return "@Tuerschild_2/storefront/page/product-detail/index.html.twig";
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = [])
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SchilderSysteme/storefront/page/product-detail/index.html.twig"));
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SchilderSysteme/storefront/page/product-detail/index.html.twig"));
  46.         $this->parent $this->loadTemplate("@Tuerschild_2/storefront/page/product-detail/index.html.twig""@SchilderSysteme/storefront/page/product-detail/index.html.twig"2);
  47.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  50.         
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  52.     }
  53.     // line 3
  54.     public function block_page_product_detail_buy($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_buy"));
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_buy"));
  61.         // line 4
  62.         echo "    <div class=\"col-lg-5 position-relative\">
  63.         <div class=\"product-detail-buy-box\">
  64.             <div class=\"title_wishlist\">
  65.                 <div><h1 class=\"product-detail-name\"
  66.                          itemprop=\"name\">
  67.                         ";
  68.         // line 9
  69.         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"falsefalsefalse9), "translated", [], "any"falsefalsefalse9), "name", [], "any"falsefalsefalse9), "html"nulltrue);
  70.         echo "
  71.                         ";
  72.         // line 10
  73.         if (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"falsefalsefalse10), "calculatedCheapestPrice", [], "any"falsefalsefalse10), "listPrice", [], "any"falsefalsefalse10), "percentage", [], "any"falsefalsefalse10)) {
  74.             // line 11
  75.             echo "                            <span class=\"badge badge-danger\">
  76.                     ";
  77.             // line 12
  78.             echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.listPricePercentage", ["%price%" => twig_round(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"falsefalsefalse12), "calculatedCheapestPrice", [], "any"falsefalsefalse12), "listPrice", [], "any"falsefalsefalse12), "percentage", [], "any"falsefalsefalse12))]));
  79.             echo "
  80.                 </span>
  81.                         ";
  82.         }
  83.         // line 15
  84.         echo "                    </h1>
  85.                 </div>
  86.                 ";
  87.         // line 17
  88.         $this->displayBlock('component_product_wishlist'$context$blocks);
  89.         // line 48
  90.         echo "            </div>
  91.             <p class=\"sw-cms-el-buy-box__product-number\">";
  92.         // line 49
  93.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse49), "productNumber", [], "any"falsefalsefalse49), "html"nulltrue);
  94.         echo "</p>
  95.             <div class=\"product-detail-buy\">
  96.                 ";
  97.         // line 51
  98.         $this->loadTemplate("@SchilderSysteme/storefront/page/product-detail/buy-widget.html.twig""@SchilderSysteme/storefront/page/product-detail/index.html.twig"51)->display($context);
  99.         // line 52
  100.         echo "            </div>
  101.         </div>
  102.     </div>
  103. ";
  104.         
  105.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  106.         
  107.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  108.     }
  109.     // line 17
  110.     public function block_component_product_wishlist($context, array $blocks = [])
  111.     {
  112.         $macros $this->macros;
  113.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  114.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_wishlist"));
  115.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_wishlist"));
  117.         // line 18
  118.         echo "                    ";
  119.         $context["addToWishlistOptions"] = ["productId" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 19
  120. ($context["page"] ?? null), "product", [], "any"falsefalsefalse19), "id", [], "any"falsefalsefalse19), "router" => ["add" => ["afterLoginPath" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.wishlist.add.after.login", ["productId" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 22
  121. ($context["page"] ?? null), "product", [], "any"falsefalsefalse22), "id", [], "any"falsefalsefalse22)]), "path" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.wishlist.product.add", ["productId" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 23
  122. ($context["page"] ?? null), "product", [], "any"falsefalsefalse23), "id", [], "any"falsefalsefalse23)]), "token" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.wishlist.product.add", ["mode" => "token"])], "remove" => ["path" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.wishlist.product.remove", ["productId" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 27
  123. ($context["page"] ?? null), "product", [], "any"falsefalsefalse27), "id", [], "any"falsefalsefalse27)]), "token" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.wishlist.product.remove", ["mode" => "token"])]]];
  124.         // line 32
  125.         echo "
  126.                     ";
  127.         // line 33
  128.         $context["size"] = (($context["size"]) ?? ("md"));
  129.         // line 34
  130.         echo "                    ";
  131.         $this->displayBlock('component_product_wishlist_button'$context$blocks);
  132.         // line 47
  133.         echo "                ";
  134.         
  135.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  136.         
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  138.     }
  139.     // line 34
  140.     public function block_component_product_wishlist_button($context, array $blocks = [])
  141.     {
  142.         $macros $this->macros;
  143.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  144.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_wishlist_button"));
  145.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  146.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_wishlist_button"));
  147.         // line 35
  148.         echo "                        <button
  149.                                 class=\"product-wishlist-";
  150.         // line 36
  151.         echo sw_escape_filter($this->env, ($context["productId"] ?? null), "html"nulltrue);
  152.         echo " product-wishlist-action";
  153.         if ((=== twig_compare(($context["appearance"] ?? null), "circle"))) {
  154.             echo "-circle";
  155.         }
  156.         echo " product-wishlist-not-added product-wishlist-loading\"
  157.                                 title=\"";
  158.         // line 37
  159.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.toggleWishlist"));
  160.         echo "\"
  161.                                 data-add-to-wishlist=\"true\"
  162.                                 data-add-to-wishlist-options=\"";
  163.         // line 39
  164.         echo sw_escape_filter($this->env$this->env->getFilter('json_encode')->getCallable()(($context["addToWishlistOptions"] ?? null)), "html"nulltrue);
  165.         echo "\"
  166.                         >
  167.                             ";
  168.         // line 41
  169.         $this->displayBlock('component_product_wishlist_icon'$context$blocks);
  170.         // line 45
  171.         echo "                        </button>
  172.                     ";
  173.         
  174.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  175.         
  176.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  177.     }
  178.     // line 41
  179.     public function block_component_product_wishlist_icon($context, array $blocks = [])
  180.     {
  181.         $macros $this->macros;
  182.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  183.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_wishlist_icon"));
  184.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  185.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_product_wishlist_icon"));
  186.         // line 42
  187.         echo "                                ";
  188.         ((function () use ($context$blocks) {
  189.             $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  190.             $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  191.             return $this->loadTemplate($includeTemplate ?? null"@SchilderSysteme/storefront/page/product-detail/index.html.twig"42);
  192.         })())->display(twig_array_merge($context, ["class" => "wishlist icon-wishlist-added""size" => ($context["size"] ?? null), "name" => "heart-fill"]));
  193.         // line 43
  194.         echo "                                ";
  195.         ((function () use ($context$blocks) {
  196.             $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  197.             $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  198.             return $this->loadTemplate($includeTemplate ?? null"@SchilderSysteme/storefront/page/product-detail/index.html.twig"43);
  199.         })())->display(twig_array_merge($context, ["class" => "wishlist icon-wishlist-not-added""size" => ($context["size"] ?? null), "name" => "heart"]));
  200.         // line 44
  201.         echo "                            ";
  202.         
  203.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  204.         
  205.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  206.     }
  207.     // line 56
  208.     public function block_page_product_detail_tabs($context, array $blocks = [])
  209.     {
  210.         $macros $this->macros;
  211.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  212.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_tabs"));
  213.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  214.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_tabs"));
  215.         // line 57
  216.         echo "    <div class=\"product-detail-tabs col-lg-7\">
  217.         ";
  218.         // line 58
  219.         $this->loadTemplate("@SchilderSysteme/storefront/page/product-detail/tabs.html.twig""@SchilderSysteme/storefront/page/product-detail/index.html.twig"58)->display($context);
  220.         // line 59
  221.         echo "    </div>
  222. ";
  223.         
  224.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  225.         
  226.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  227.     }
  228.     // line 65
  229.     public function block_page_product_detail_media($context, array $blocks = [])
  230.     {
  231.         $macros $this->macros;
  232.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  233.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_media"));
  234.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  235.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_media"));
  236.         // line 66
  237.         echo "    <div class=\"col-lg-7 product-detail-media\">
  238.         ";
  239.         // line 67
  240.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse67), "media", [], "any"falsefalsefalse67)) {
  241.             // line 68
  242.             echo "            ";
  243.             $this->loadTemplate("@SchilderSysteme/storefront/element/cms-element-image-gallery.html.twig""@SchilderSysteme/storefront/page/product-detail/index.html.twig"68)->display(twig_array_merge($context, ["mediaItems" =>             // line 69
  244. ($context["mediaItems"] ?? null), "zoom" => false"zoomModal" => true"displayMode" => "contain""gutter" => 5"minHeight" => "430px""navigationArrows" => "inside""navigationDots" => "inside""galleryPosition" => "left""isProduct" => true"fallbackImageTitle" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 79
  245. ($context["page"] ?? null), "product", [], "any"falsefalsefalse79), "translated", [], "any"falsefalsefalse79), "name", [], "any"falsefalsefalse79), "startIndexThumbnails" => (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 80
  246. ($context["page"] ?? null), "product", [], "any"falsefalsefalse80), "cover", [], "any"falsefalsefalse80), "position", [], "any"falsefalsefalse80) + 1), "startIndexSlider" => (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 81
  247. ($context["page"] ?? null), "product", [], "any"falsefalsefalse81), "cover", [], "any"falsefalsefalse81), "position", [], "any"falsefalsefalse81) + 1)]));
  248.             // line 83
  249.             echo "        ";
  250.         }
  251.         // line 84
  252.         echo "    </div>
  253. ";
  254.         
  255.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  256.         
  257.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  258.     }
  259.     // line 87
  260.     public function block_page_product_detail_cross_selling($context, array $blocks = [])
  261.     {
  262.         $macros $this->macros;
  263.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  264.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_cross_selling"));
  265.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  266.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_cross_selling"));
  267.         
  268.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  269.         
  270.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  271.     }
  272.     public function getTemplateName()
  273.     {
  274.         return "@SchilderSysteme/storefront/page/product-detail/index.html.twig";
  275.     }
  276.     public function isTraitable()
  277.     {
  278.         return false;
  279.     }
  280.     public function getDebugInfo()
  281.     {
  282.         return array (  304 => 87,  293 => 84,  290 => 83,  288 => 81,  287 => 80,  286 => 79,  285 => 69,  283 => 68,  281 => 67,  278 => 66,  268 => 65,  257 => 59,  255 => 58,  252 => 57,  242 => 56,  232 => 44,  223 => 43,  214 => 42,  204 => 41,  193 => 45,  191 => 41,  186 => 39,  181 => 37,  173 => 36,  170 => 35,  160 => 34,  150 => 47,  147 => 34,  145 => 33,  142 => 32,  140 => 27,  139 => 23,  138 => 22,  137 => 19,  135 => 18,  125 => 17,  112 => 52,  110 => 51,  105 => 49,  102 => 48,  100 => 17,  96 => 15,  90 => 12,  87 => 11,  85 => 10,  81 => 9,  74 => 4,  64 => 3,  41 => 2,);
  283.     }
  284.     public function getSourceContext()
  285.     {
  286.         return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
  287. {% block page_product_detail_buy %}
  288.     <div class=\"col-lg-5 position-relative\">
  289.         <div class=\"product-detail-buy-box\">
  290.             <div class=\"title_wishlist\">
  291.                 <div><h1 class=\"product-detail-name\"
  292.                          itemprop=\"name\">
  293.                         {{ page.product.translated.name }}
  294.                         {% if page.product.calculatedCheapestPrice.listPrice.percentage %}
  295.                             <span class=\"badge badge-danger\">
  296.                     {{ \"detail.listPricePercentage\"|trans({'%price%': page.product.calculatedCheapestPrice.listPrice.percentage|round })|sw_sanitize }}
  297.                 </span>
  298.                         {% endif %}
  299.                     </h1>
  300.                 </div>
  301.                 {% block component_product_wishlist %}
  302.                     {% set addToWishlistOptions = {
  303.                         productId: page.product.id,
  304.                         router: {
  305.                             add: {
  306.                                 afterLoginPath: path('frontend.wishlist.add.after.login', { productId: page.product.id }),
  307.                                 path: path('frontend.wishlist.product.add', { productId: page.product.id }),
  308.                                 token: sw_csrf('frontend.wishlist.product.add', {\"mode\": \"token\"})
  309.                             },
  310.                             remove: {
  311.                                 path: path('frontend.wishlist.product.remove', { productId: page.product.id }),
  312.                                 token: sw_csrf('frontend.wishlist.product.remove', {\"mode\": \"token\"}),
  313.                             }
  314.                         }
  315.                     } %}
  316.                     {% set size = size ?? 'md' %}
  317.                     {% block component_product_wishlist_button %}
  318.                         <button
  319.                                 class=\"product-wishlist-{{ productId }} product-wishlist-action{% if appearance == 'circle' %}-circle{% endif %} product-wishlist-not-added product-wishlist-loading\"
  320.                                 title=\"{{ \"listing.toggleWishlist\"|trans|sw_sanitize }}\"
  321.                                 data-add-to-wishlist=\"true\"
  322.                                 data-add-to-wishlist-options=\"{{ addToWishlistOptions|json_encode }}\"
  323.                         >
  324.                             {% block component_product_wishlist_icon %}
  325.                                 {% sw_icon 'heart-fill' style { 'class': 'wishlist icon-wishlist-added', 'size': size } %}
  326.                                 {% sw_icon 'heart' style {'class': 'wishlist icon-wishlist-not-added', 'size': size } %}
  327.                             {% endblock %}
  328.                         </button>
  329.                     {% endblock %}
  330.                 {% endblock %}
  331.             </div>
  332.             <p class=\"sw-cms-el-buy-box__product-number\">{{ page.product.productNumber }}</p>
  333.             <div class=\"product-detail-buy\">
  334.                 {% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
  335.             </div>
  336.         </div>
  337.     </div>
  338. {% endblock %}
  339. {% block page_product_detail_tabs %}
  340.     <div class=\"product-detail-tabs col-lg-7\">
  341.         {% sw_include '@Storefront/storefront/page/product-detail/tabs.html.twig' %}
  342.     </div>
  343. {% endblock %}
  344. {% block page_product_detail_media %}
  345.     <div class=\"col-lg-7 product-detail-media\">
  346.         {% if page.product.media %}
  347.             {% sw_include '@Storefront/storefront/element/cms-element-image-gallery.html.twig' with {
  348.                 'mediaItems': mediaItems,
  349.                 'zoom': false,
  350.                 'zoomModal': true,
  351.                 'displayMode': 'contain',
  352.                 'gutter': 5,
  353.                 'minHeight': '430px',
  354.                 'navigationArrows': 'inside',
  355.                 'navigationDots': 'inside',
  356.                 'galleryPosition': 'left',
  357.                 'isProduct': true,
  358.                 'fallbackImageTitle': page.product.translated.name,
  359.                 'startIndexThumbnails': page.product.cover.position + 1,
  360.                 'startIndexSlider': page.product.cover.position + 1
  361.             } %}
  362.         {% endif %}
  363.     </div>
  364. {% endblock %}
  365. {% block page_product_detail_cross_selling %}
  366. {% endblock %}
  367. ""@SchilderSysteme/storefront/page/product-detail/index.html.twig""/data/www/stage.tuerschildshop/custom/plugins/SchilderSysteme/src/Resources/views/storefront/page/product-detail/index.html.twig");
  368.     }
  369. }