var/cache/dev_hbd3b438645322a8593dd24d071f68685/twig/53/53ef3f2bba760399f40e7056b4a20427bb652a3a861fcf18794c010e12411902.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. /* @CogiThemeTulip/storefront/page/product-detail/index.html.twig */
  16. class __TwigTemplate_02d678af9eb7c2578a8a8871b2a1c88afc254e7cdeedad143f832a8af9253d88 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_breadcrumb' => [$this'block_page_product_detail_breadcrumb'],
  26.             'page_product_detail_headline' => [$this'block_page_product_detail_headline'],
  27.             'page_product_detail_media' => [$this'block_page_product_detail_media'],
  28.             'page_product_detail_buy' => [$this'block_page_product_detail_buy'],
  29.             'page_product_detail_cross_selling' => [$this'block_page_product_detail_cross_selling'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 2
  35.         return "@Storefront/storefront/page/product-detail/index.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CogiThemeTulip/storefront/page/product-detail/index.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CogiThemeTulip/storefront/page/product-detail/index.html.twig"));
  44.         $this->parent $this->loadTemplate("@Storefront/storefront/page/product-detail/index.html.twig""@CogiThemeTulip/storefront/page/product-detail/index.html.twig"2);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 3
  52.     public function block_page_product_detail_breadcrumb($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_breadcrumb"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_breadcrumb"));
  59.         // line 4
  60.         echo "    ";
  61.         if ((!== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse4), "attributes", [], "any"falsefalsefalse4), "get", [=> "theme-name"], "method"falsefalsefalse4), "CogiThemeTulip"))) {
  62.             // line 5
  63.             echo "        ";
  64.             $this->displayParentBlock("page_product_detail_breadcrumb"$context$blocks);
  65.             echo "
  66.     ";
  67.         } else {
  68.             // line 7
  69.             echo "        ";
  70.             $context["padT"] = ((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["shopware"] ?? null), "config", [], "any"falsefalsefalse7), "CogiThemeTulip", [], "any"falsefalsefalse7), "config", [], "any"falsefalsefalse7), "productBreadcrumbPaddingTop", [], "any"falsefalsefalse7)) ? (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["shopware"] ?? null), "config", [], "any"falsefalsefalse7), "CogiThemeTulip", [], "any"falsefalsefalse7), "config", [], "any"falsefalsefalse7), "productBreadcrumbPaddingTop", [], "any"falsefalsefalse7)) : ("0px"));
  71.             // line 8
  72.             echo "        ";
  73.             $context["padB"] = ((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["shopware"] ?? null), "config", [], "any"falsefalsefalse8), "CogiThemeTulip", [], "any"falsefalsefalse8), "config", [], "any"falsefalsefalse8), "productBreadcrumbPaddingBottom", [], "any"falsefalsefalse8)) ? (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["shopware"] ?? null), "config", [], "any"falsefalsefalse8), "CogiThemeTulip", [], "any"falsefalsefalse8), "config", [], "any"falsefalsefalse8), "productBreadcrumbPaddingBottom", [], "any"falsefalsefalse8)) : ("0px"));
  74.             // line 9
  75.             echo "        ";
  76.             $context["padL"] = ((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["shopware"] ?? null), "config", [], "any"falsefalsefalse9), "CogiThemeTulip", [], "any"falsefalsefalse9), "config", [], "any"falsefalsefalse9), "productBreadcrumbPaddingLeft", [], "any"falsefalsefalse9)) ? (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["shopware"] ?? null), "config", [], "any"falsefalsefalse9), "CogiThemeTulip", [], "any"falsefalsefalse9), "config", [], "any"falsefalsefalse9), "productBreadcrumbPaddingLeft", [], "any"falsefalsefalse9)) : ("0px"));
  77.             // line 10
  78.             echo "        ";
  79.             $context["padR"] = ((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["shopware"] ?? null), "config", [], "any"falsefalsefalse10), "CogiThemeTulip", [], "any"falsefalsefalse10), "config", [], "any"falsefalsefalse10), "productBreadcrumbPaddingRight", [], "any"falsefalsefalse10)) ? (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["shopware"] ?? null), "config", [], "any"falsefalsefalse10), "CogiThemeTulip", [], "any"falsefalsefalse10), "config", [], "any"falsefalsefalse10), "productBreadcrumbPaddingRight", [], "any"falsefalsefalse10)) : ("0px"));
  80.             // line 11
  81.             echo "        <div class=\"breadcrumb product-breadcrumb container mb-4\"
  82.              style=\"padding-top:";
  83.             // line 12
  84.             echo sw_escape_filter($this->env, ($context["padT"] ?? null), "html"nulltrue);
  85.             echo ";padding-bottom:";
  86.             echo sw_escape_filter($this->env, ($context["padB"] ?? null), "html"nulltrue);
  87.             echo ";padding-left:";
  88.             echo sw_escape_filter($this->env, ($context["padL"] ?? null), "html"nulltrue);
  89.             echo ";padding-right:";
  90.             echo sw_escape_filter($this->env, ($context["padR"] ?? null), "html"nulltrue);
  91.             echo ";\">
  92.             ";
  93.             // line 14
  94.             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["shopware"] ?? null), "config", [], "any"falsefalsefalse14), "CogiThemeTulip", [], "any"falsefalsefalse14), "config", [], "any"falsefalsefalse14), "showBreadcrumbLabel", [], "any"falsefalsefalse14)) {
  95.                 // line 15
  96.                 echo "                <span class=\"breadcrumb-label\">";
  97.                 echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cogi.theme.tulip.navigation.youAreHere"), "html"nulltrue);
  98.                 echo "&nbsp;</span>
  99.             ";
  100.             }
  101.             // line 17
  102.             echo "
  103.             ";
  104.             // line 18
  105.             $this->loadTemplate("@CogiThemeTulip/storefront/component/product/breadcrumb.html.twig""@CogiThemeTulip/storefront/page/product-detail/index.html.twig"18)->display(twig_to_array(["navigationTree" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 19
  106. ($context["page"] ?? null), "header", [], "any"falsefalsefalse19), "navigation", [], "any"falsefalsefalse19), "tree", [], "any"falsefalsefalse19), "categoryTree" => twig_last($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 20
  107. ($context["page"] ?? null), "product", [], "any"falsefalsefalse20), "categoryTree", [], "any"falsefalsefalse20)), "product" => sw_get_attribute($this->env$this->source,             // line 21
  108. ($context["page"] ?? null), "product", [], "any"falsefalsefalse21), "initCall" => true]));
  109.             // line 24
  110.             echo "        </div>
  111.     ";
  112.         }
  113.         
  114.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  115.         
  116.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  117.     }
  118.     // line 28
  119.     public function block_page_product_detail_headline($context, array $blocks = [])
  120.     {
  121.         $macros $this->macros;
  122.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  123.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_headline"));
  124.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  125.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_headline"));
  126.         
  127.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  128.         
  129.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  130.     }
  131.     // line 31
  132.     public function block_page_product_detail_media($context, array $blocks = [])
  133.     {
  134.         $macros $this->macros;
  135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_media"));
  137.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_media"));
  139.         // line 32
  140.         echo "    ";
  141.         if ((!== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse32), "attributes", [], "any"falsefalsefalse32), "get", [=> "theme-name"], "method"falsefalsefalse32), "CogiThemeTulip"))) {
  142.             // line 33
  143.             echo "        ";
  144.             $this->displayParentBlock("page_product_detail_media"$context$blocks);
  145.             echo "
  146.     ";
  147.         } else {
  148.             // line 35
  149.             echo "
  150.         <div class=\"col-lg-5 product-detail-media\">
  151.             ";
  152.             // line 37
  153.             if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse37), "media", [], "any"falsefalsefalse37)) {
  154.                 // line 38
  155.                 echo "                ";
  156.                 $this->loadTemplate("@CogiCustomObstDe/storefront/element/cms-element-image-gallery.html.twig""@CogiThemeTulip/storefront/page/product-detail/index.html.twig"38)->display(twig_array_merge($context, ["mediaItems" =>                 // line 39
  157. ($context["mediaItems"] ?? null), "zoom" => true"zoomModal" => true"displayMode" => "cover""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 48
  158. ($context["page"] ?? null), "product", [], "any"falsefalsefalse48), "translated", [], "any"falsefalsefalse48), "name", [], "any"falsefalsefalse48), "startIndexThumbnails" => (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,                 // line 49
  159. ($context["page"] ?? null), "product", [], "any"falsefalsefalse49), "cover", [], "any"falsefalsefalse49), "position", [], "any"falsefalsefalse49) + 1), "startIndexSlider" => (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,                 // line 50
  160. ($context["page"] ?? null), "product", [], "any"falsefalsefalse50), "cover", [], "any"falsefalsefalse50), "position", [], "any"falsefalsefalse50) + 1), "showDisclaimer" => true]));
  161.                 // line 53
  162.                 echo "            ";
  163.             }
  164.             // line 54
  165.             echo "        </div>
  166.     ";
  167.         }
  168.         
  169.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  170.         
  171.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  172.     }
  173.     // line 59
  174.     public function block_page_product_detail_buy($context, array $blocks = [])
  175.     {
  176.         $macros $this->macros;
  177.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  178.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_buy"));
  179.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  180.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_buy"));
  181.         // line 60
  182.         echo "    ";
  183.         if ((!== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse60), "attributes", [], "any"falsefalsefalse60), "get", [=> "theme-name"], "method"falsefalsefalse60), "CogiThemeTulip"))) {
  184.             // line 61
  185.             echo "        ";
  186.             $this->displayParentBlock("page_product_detail_buy"$context$blocks);
  187.             echo "
  188.     ";
  189.         } else {
  190.             // line 63
  191.             echo "        <div class=\"col-lg-6 offset-lg-1 product-detail-buy js-magnifier-zoom-image-container\">
  192.             <div class=\"row align-items-center product-detail-headline\">
  193.                 ";
  194.             // line 66
  195.             $this->loadTemplate("@CogiThemeTulip/storefront/page/product-detail/headline.html.twig""@CogiThemeTulip/storefront/page/product-detail/index.html.twig"66)->display($context);
  196.             // line 67
  197.             echo "            </div>
  198.             ";
  199.             // line 69
  200.             $context["custom"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse69), "getCustomFields", [], "method"falsefalsefalse69);
  201.             // line 70
  202.             echo "            ";
  203.             if (sw_get_attribute($this->env$this->source, ($context["custom"] ?? null), "cogi_theme_tulip_product_bullet_area", [], "any"falsefalsefalse70)) {
  204.                 // line 71
  205.                 echo "                ";
  206.                 $context["bulletIcon"] = ((sw_get_attribute($this->env$this->source, ($context["custom"] ?? null), "cogi_theme_tulip_product_bullet_area_bullet_icon", [], "any"falsefalsefalse71)) ? (sw_get_attribute($this->env$this->source, ($context["custom"] ?? null), "cogi_theme_tulip_product_bullet_area_bullet_icon", [], "any"falsefalsefalse71)) : (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["shopware"] ?? null), "config", [], "any"falsefalsefalse71), "CogiThemeTulip", [], "any"falsefalsefalse71), "config", [], "any"falsefalsefalse71), "bulletAreaDefaultBulletIcon", [], "any"falsefalsefalse71)));
  207.                 // line 72
  208.                 echo "                <div class=\"bullet-area ";
  209.                 if (($context["bulletIcon"] ?? null)) {
  210.                     echo "bullet-icon-";
  211.                     echo sw_escape_filter($this->env, ($context["bulletIcon"] ?? null), "html"nulltrue);
  212.                 }
  213.                 echo " mb-3\">
  214.                     ";
  215.                 // line 73
  216.                 echo sw_get_attribute($this->env$this->source, ($context["custom"] ?? null), "cogi_theme_tulip_product_bullet_area", [], "any"falsefalsefalse73);
  217.                 echo "
  218.                 </div>
  219.             ";
  220.             }
  221.             // line 76
  222.             echo "
  223.             <hr>
  224.             ";
  225.             // line 79
  226.             $this->loadTemplate("@CogiCustomObstDe/storefront/page/product-detail/additional-infos.html.twig""@CogiThemeTulip/storefront/page/product-detail/index.html.twig"79)->display($context);
  227.             // line 80
  228.             echo "
  229.             ";
  230.             // line 81
  231.             $this->loadTemplate("@CogiAdvancedDeliveryDate/storefront/page/product-detail/buy-widget.html.twig""@CogiThemeTulip/storefront/page/product-detail/index.html.twig"81)->display($context);
  232.             // line 82
  233.             echo "
  234.         </div>
  235.     ";
  236.         }
  237.         
  238.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  239.         
  240.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  241.     }
  242.     // line 89
  243.     public function block_page_product_detail_cross_selling($context, array $blocks = [])
  244.     {
  245.         $macros $this->macros;
  246.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  247.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_cross_selling"));
  248.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  249.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_cross_selling"));
  250.         // line 90
  251.         echo "    ";
  252.         if (twig_length_filter($this->envsw_get_attribute($this->env$this->source, ($context["page"] ?? null), "crossSellings", [], "any"falsefalsefalse90))) {
  253.             // line 91
  254.             echo "        ";
  255.             $this->displayParentBlock("page_product_detail_cross_selling"$context$blocks);
  256.             echo "
  257.     ";
  258.         }
  259.         
  260.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  261.         
  262.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  263.     }
  264.     public function getTemplateName()
  265.     {
  266.         return "@CogiThemeTulip/storefront/page/product-detail/index.html.twig";
  267.     }
  268.     public function isTraitable()
  269.     {
  270.         return false;
  271.     }
  272.     public function getDebugInfo()
  273.     {
  274.         return array (  292 => 91,  289 => 90,  279 => 89,  265 => 82,  263 => 81,  260 => 80,  258 => 79,  253 => 76,  247 => 73,  239 => 72,  236 => 71,  233 => 70,  231 => 69,  227 => 67,  225 => 66,  220 => 63,  214 => 61,  211 => 60,  201 => 59,  188 => 54,  185 => 53,  183 => 50,  182 => 49,  181 => 48,  180 => 39,  178 => 38,  176 => 37,  172 => 35,  166 => 33,  163 => 32,  153 => 31,  135 => 28,  123 => 24,  121 => 21,  120 => 20,  119 => 19,  118 => 18,  115 => 17,  109 => 15,  107 => 14,  96 => 12,  93 => 11,  90 => 10,  87 => 9,  84 => 8,  81 => 7,  75 => 5,  72 => 4,  62 => 3,  39 => 2,);
  275.     }
  276.     public function getSourceContext()
  277.     {
  278.         return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
  279. {% block page_product_detail_breadcrumb %}
  280.     {% if app.request.attributes.get('theme-name') != 'CogiThemeTulip' %}
  281.         {{ parent() }}
  282.     {% else %}
  283.         {% set padT = shopware.config.CogiThemeTulip.config.productBreadcrumbPaddingTop ?: '0px' %}
  284.         {% set padB = shopware.config.CogiThemeTulip.config.productBreadcrumbPaddingBottom ?: '0px' %}
  285.         {% set padL = shopware.config.CogiThemeTulip.config.productBreadcrumbPaddingLeft ?: '0px' %}
  286.         {% set padR = shopware.config.CogiThemeTulip.config.productBreadcrumbPaddingRight ?: '0px' %}
  287.         <div class=\"breadcrumb product-breadcrumb container mb-4\"
  288.              style=\"padding-top:{{ padT }};padding-bottom:{{ padB }};padding-left:{{ padL }};padding-right:{{ padR }};\">
  289.             {% if shopware.config.CogiThemeTulip.config.showBreadcrumbLabel %}
  290.                 <span class=\"breadcrumb-label\">{{ \"cogi.theme.tulip.navigation.youAreHere\"|trans }}&nbsp;</span>
  291.             {% endif %}
  292.             {% sw_include '@Storefront/storefront/component/product/breadcrumb.html.twig' with {
  293.                 navigationTree: page.header.navigation.tree,
  294.                 categoryTree: page.product.categoryTree|last,
  295.                 product: page.product,
  296.                 initCall: true
  297.             } only %}
  298.         </div>
  299.     {% endif %}
  300. {% endblock %}
  301. {% block page_product_detail_headline %}
  302. {% endblock %}
  303. {% block page_product_detail_media %}
  304.     {% if app.request.attributes.get('theme-name') != 'CogiThemeTulip' %}
  305.         {{ parent() }}
  306.     {% else %}
  307.         <div class=\"col-lg-5 product-detail-media\">
  308.             {% if page.product.media %}
  309.                 {% sw_include 'storefront/element/cms-element-image-gallery.html.twig' with {
  310.                     'mediaItems': mediaItems,
  311.                     'zoom': true,
  312.                     'zoomModal': true,
  313.                     'displayMode': 'cover',
  314.                     'minHeight': '430px',
  315.                     'navigationArrows': 'inside',
  316.                     'navigationDots': 'inside',
  317.                     'galleryPosition': 'left',
  318.                     'isProduct': true,
  319.                     'fallbackImageTitle': page.product.translated.name,
  320.                     'startIndexThumbnails': page.product.cover.position + 1,
  321.                     'startIndexSlider': page.product.cover.position + 1,
  322.                     'showDisclaimer': true
  323.                 } %}
  324.             {% endif %}
  325.         </div>
  326.     {% endif %}
  327. {% endblock %}
  328. {% block page_product_detail_buy %}
  329.     {% if app.request.attributes.get('theme-name') != 'CogiThemeTulip' %}
  330.         {{ parent() }}
  331.     {% else %}
  332.         <div class=\"col-lg-6 offset-lg-1 product-detail-buy js-magnifier-zoom-image-container\">
  333.             <div class=\"row align-items-center product-detail-headline\">
  334.                 {% sw_include '@Storefront/storefront/page/product-detail/headline.html.twig' %}
  335.             </div>
  336.             {% set custom = page.product.getCustomFields() %}
  337.             {% if custom.cogi_theme_tulip_product_bullet_area %}
  338.                 {% set bulletIcon = custom.cogi_theme_tulip_product_bullet_area_bullet_icon ?: shopware.config.CogiThemeTulip.config.bulletAreaDefaultBulletIcon %}
  339.                 <div class=\"bullet-area {% if bulletIcon %}bullet-icon-{{ bulletIcon }}{% endif %} mb-3\">
  340.                     {{ custom.cogi_theme_tulip_product_bullet_area|raw }}
  341.                 </div>
  342.             {% endif %}
  343.             <hr>
  344.             {% sw_include 'storefront/page/product-detail/additional-infos.html.twig' %}
  345.             {% sw_include 'storefront/page/product-detail/buy-widget.html.twig' %}
  346.         </div>
  347.     {% endif %}
  348. {% endblock %}
  349. {% block page_product_detail_cross_selling %}
  350.     {% if page.crossSellings|length %}
  351.         {{ parent() }}
  352.     {% endif %}
  353. {% endblock %}
  354. ""@CogiThemeTulip/storefront/page/product-detail/index.html.twig""/usr/www/users/obstdev/custom/plugins/CogiThemeTulip/src/Resources/views/storefront/page/product-detail/index.html.twig");
  355.     }
  356. }