var/cache/dev_h96138ee5f5ee4f9f280391b7ea87ede1/twig/c0/c057ba96f608a452a82d909a208cff4d2cf95aec91773a1e7aaa3c3ffd8d51ba.php line 43

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. /* @SalvanaPferde2022/storefront/page/product-detail/index.html.twig */
  16. class __TwigTemplate_3cbc347863610ac959a855bb17bd7e4740956cfb57033c1118e86a7c582a9196 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_main_inner' => [$this'block_base_main_inner'],
  26.             'page_product_detail_buy' => [$this'block_page_product_detail_buy'],
  27.             'page_product_detail_reviews' => [$this'block_page_product_detail_reviews'],
  28.             'page_product_detail_breadcrumb' => [$this'block_page_product_detail_breadcrumb'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "@Storefront/storefront/page/product-detail/index.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SalvanaPferde2022/storefront/page/product-detail/index.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SalvanaPferde2022/storefront/page/product-detail/index.html.twig"));
  43.         $this->parent $this->loadTemplate("@Storefront/storefront/page/product-detail/index.html.twig""@SalvanaPferde2022/storefront/page/product-detail/index.html.twig"2);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 3
  51.     public function block_base_main_inner($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  58.         // line 4
  59.         echo "  ";
  60.         $context["fields"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse4), "translated", [], "any"falsefalsefalse4), "customFields", [], "any"falsefalsefalse4);
  61.         // line 5
  62.         echo "  ";
  63.         if (sw_get_attribute($this->env$this->source, ($context["fields"] ?? null), "wn_pdp_headerimage", [], "any"falsefalsefalse5)) {
  64.             // line 6
  65.             echo "    <div class=\"detail-motion-image-wrapper\">
  66.       ";
  67.             // line 7
  68.             $context["motionImageID"] = sw_get_attribute($this->env$this->source, ($context["fields"] ?? null), "wn_pdp_headerimage", [], "any"falsefalsefalse7);
  69.             // line 8
  70.             echo "
  71.       ";
  72.             // line 10
  73.             echo "      ";
  74.             $context["mediaCollection"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension']->searchMedia([=> ($context["motionImageID"] ?? null)], sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse10));
  75.             // line 11
  76.             echo "
  77.       ";
  78.             // line 13
  79.             echo "      ";
  80.             $context["motionImage"] = sw_get_attribute($this->env$this->source, ($context["mediaCollection"] ?? null), "get", [=> ($context["motionImageID"] ?? null)], "method"falsefalsefalse13);
  81.             // line 14
  82.             echo "
  83.       ";
  84.             // line 15
  85.             ((function () use ($context$blocks) {
  86.                 $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  87.                 $includeTemplate $finder->find("@Storefront/storefront/utilities/thumbnail.html.twig");
  88.                 return $this->loadTemplate($includeTemplate ?? null"@SalvanaPferde2022/storefront/page/product-detail/index.html.twig"15);
  89.             })())->display(twig_array_merge($context, ["media" =>             // line 16
  90. ($context["motionImage"] ?? null), "attributes" => ["class" => "detail-motion-image""alt" => ((sw_get_attribute($this->env$this->source,             // line 19
  91. ($context["motionImage"] ?? null), "alt", [], "any"falsefalsefalse19)) ? (sw_get_attribute($this->env$this->source, ($context["motionImage"] ?? null), "alt", [], "any"falsefalsefalse19)) : ("")), "title" => ((sw_get_attribute($this->env$this->source,             // line 20
  92. ($context["motionImage"] ?? null), "title", [], "any"falsefalsefalse20)) ? (sw_get_attribute($this->env$this->source, ($context["motionImage"] ?? null), "title", [], "any"falsefalsefalse20)) : ("")), "style" => sw_get_attribute($this->env$this->source,             // line 21
  93. ($context["fields"] ?? null), "wn_pdp_headerimage_additional_styles", [], "any"falsefalsefalse21)], "name" => "navigation-flyout-teaser-image-thumbnails"]));
  94.             // line 24
  95.             echo "    </div> 
  96.   ";
  97.         } else {
  98.             // line 26
  99.             echo "    <div class=\"detail-motion-spacer\"></div>
  100.   ";
  101.         }
  102.         // line 28
  103.         echo "
  104.   ";
  105.         // line 29
  106.         $this->displayParentBlock("base_main_inner"$context$blocks);
  107.         echo "
  108. ";
  109.         
  110.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  111.         
  112.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  113.     }
  114.     // line 32
  115.     public function block_page_product_detail_buy($context, array $blocks = [])
  116.     {
  117.         $macros $this->macros;
  118.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  119.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_buy"));
  120.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  121.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_buy"));
  122.         // line 33
  123.         echo " <div class=\"col-lg-5 product-detail-buy\">
  124.    ";
  125.         // line 34
  126.         $this->displayBlock('page_product_detail_reviews'$context$blocks);
  127.         // line 58
  128.         echo "
  129.    <div class=\"product-detail-list custom-listing-list-wrapper\">
  130.      ";
  131.         // line 60
  132.         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"falsefalsefalse60), "translated", [], "any"falsefalsefalse60), "customFields", [], "any"falsefalsefalse60), "wndev_ads_custom_list", [], "any"falsefalsefalse60)) {
  133.             // line 61
  134.             echo "       ";
  135.             echo 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"falsefalsefalse61), "translated", [], "any"falsefalsefalse61), "customFields", [], "any"falsefalsefalse61), "wndev_ads_custom_list", [], "any"falsefalsefalse61);
  136.             echo "
  137.      ";
  138.         }
  139.         // line 63
  140.         echo "   </div>
  141.    ";
  142.         // line 64
  143.         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"falsefalsefalse64), "translated", [], "any"falsefalsefalse64), "customFields", [], "any"falsefalsefalse64), "sal_product_badge1", [], "any"falsefalsefalse64)) {
  144.             // line 65
  145.             echo "     <div class=\"product-badge\">
  146.       ";
  147.             // line 66
  148.             $context["Badge1ID"] = 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"falsefalsefalse66), "translated", [], "any"falsefalsefalse66), "customFields", [], "any"falsefalsefalse66), "sal_product_badge1", [], "any"falsefalsefalse66);
  149.             // line 67
  150.             echo "
  151.       ";
  152.             // line 69
  153.             echo "      ";
  154.             $context["mediaCollection"] = $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension']->searchMedia([=> ($context["Badge1ID"] ?? null)], sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse69));
  155.             // line 70
  156.             echo "
  157.       ";
  158.             // line 72
  159.             echo "      ";
  160.             $context["Badge1"] = sw_get_attribute($this->env$this->source, ($context["mediaCollection"] ?? null), "get", [=> ($context["Badge1ID"] ?? null)], "method"falsefalsefalse72);
  161.             // line 73
  162.             echo "
  163.       ";
  164.             // line 74
  165.             ((function () use ($context$blocks) {
  166.                 $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  167.                 $includeTemplate $finder->find("@Storefront/storefront/utilities/thumbnail.html.twig");
  168.                 return $this->loadTemplate($includeTemplate ?? null"@SalvanaPferde2022/storefront/page/product-detail/index.html.twig"74);
  169.             })())->display(twig_array_merge($context, ["media" =>             // line 75
  170. ($context["Badge1"] ?? null), "attributes" => ["class" => "vlog-badge-image""alt" => ((sw_get_attribute($this->env$this->source,             // line 78
  171. ($context["Badge1"] ?? null), "alt", [], "any"falsefalsefalse78)) ? (sw_get_attribute($this->env$this->source, ($context["Badge1"] ?? null), "alt", [], "any"falsefalsefalse78)) : ("")), "title" => ((sw_get_attribute($this->env$this->source,             // line 79
  172. ($context["Badge1"] ?? null), "title", [], "any"falsefalsefalse79)) ? (sw_get_attribute($this->env$this->source, ($context["Badge1"] ?? null), "title", [], "any"falsefalsefalse79)) : ("")), "data-object-fit" => "cover""height" => "55""width" => "83"], "name" => "vlog-badge-listing"]));
  173.             // line 85
  174.             echo "  </div>
  175. ";
  176.         }
  177.         // line 87
  178.         echo "
  179.    ";
  180.         // line 88
  181.         $this->loadTemplate("@SalvanaPferde2022/storefront/page/product-detail/buy-widget.html.twig""@SalvanaPferde2022/storefront/page/product-detail/index.html.twig"88)->display($context);
  182.         // line 89
  183.         echo "   <div class=\"bl-suche\">
  184.    <h3>Persönliche Beratung</h3>
  185.    <p>Hier finden Sie Ihren persönlichen Ansprechpartner:</p>
  186.     ";
  187.         // line 92
  188.         $this->loadTemplate("@SalvanaPferde2022/storefront/component/bl-suche.html.twig""@SalvanaPferde2022/storefront/page/product-detail/index.html.twig"92)->display($context);
  189.         // line 93
  190.         echo "   </div>
  191.  </div>
  192. ";
  193.         
  194.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  195.         
  196.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  197.     }
  198.     // line 34
  199.     public function block_page_product_detail_reviews($context, array $blocks = [])
  200.     {
  201.         $macros $this->macros;
  202.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  203.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_reviews"));
  204.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  205.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_reviews"));
  206.         // line 35
  207.         echo "     ";
  208.         if (((=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse35), "ratingAverage", [], "any"falsefalsefalse35), 0)) && sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["shopware"] ?? null), "config", [], "any"falsefalsefalse35), "detail", [], "any"falsefalsefalse35), "showReviews", [], "any"falsefalsefalse35))) {
  209.             // line 36
  210.             echo "       <p class=\"product-detail-reviews\">
  211.          ";
  212.             // line 37
  213.             $this->loadTemplate("@SalvanaPferde2022/storefront/component/review/rating.html.twig""@SalvanaPferde2022/storefront/page/product-detail/index.html.twig"37)->display(twig_array_merge($context, ["points" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,             // line 38
  214. ($context["page"] ?? null), "product", [], "any"falsefalsefalse38), "ratingAverage", [], "any"falsefalsefalse38), "style" => "text-primary"]));
  215.             // line 41
  216.             echo "         <a data-toggle=\"tab\"
  217.             class=\"product-detail-reviews-link\"
  218.             data-offcanvas-tabs=\"true\"
  219.             data-remote-click=\"true\"
  220.             data-remote-click-options='{
  221.                                       \"selector\": \"#review-tab\",
  222.                                       \"scrollToElement\": true
  223.                                   }'
  224.             href=\"#review-tab-pane\"
  225.             aria-controls=\"review-tab-pane\">
  226.            ";
  227.             // line 52
  228.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse52), "ratingAverage", [], "any"falsefalsefalse52), "html"nulltrue);
  229.             echo " / ";
  230.             echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "reviews", [], "any"falsefalsefalse52), "totalReviews", [], "any"falsefalsefalse52), "html"nulltrue);
  231.             echo "
  232.            ";
  233.             // line 53
  234.             echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("detail.reviewLinkText", ["%count%" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "reviews", [], "any"falsefalsefalse53), "totalReviews", [], "any"falsefalsefalse53)]));
  235.             echo "
  236.          </a>
  237.        </p>
  238.      ";
  239.         }
  240.         // line 57
  241.         echo "   ";
  242.         
  243.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  244.         
  245.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  246.     }
  247.     // line 97
  248.     public function block_page_product_detail_breadcrumb($context, array $blocks = [])
  249.     {
  250.         $macros $this->macros;
  251.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  252.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_breadcrumb"));
  253.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  254.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_breadcrumb"));
  255.         // line 98
  256.         echo "  <div class=\"breadcrumb product-breadcrumb container\" itemscope itemtype=\"http://schema.org/BreadcrumbList\">
  257.     ";
  258.         // line 99
  259.         $this->loadTemplate("@SalvanaPferde2022/storefront/component/product/breadcrumb.html.twig""@SalvanaPferde2022/storefront/page/product-detail/index.html.twig"99)->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 100
  260. ($context["page"] ?? null), "header", [], "any"falsefalsefalse100), "navigation", [], "any"falsefalsefalse100), "tree", [], "any"falsefalsefalse100), "categoryTree" => twig_last($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 101
  261. ($context["page"] ?? null), "product", [], "any"falsefalsefalse101), "categoryTree", [], "any"falsefalsefalse101)), "product" => sw_get_attribute($this->env$this->source,         // line 102
  262. ($context["page"] ?? null), "product", [], "any"falsefalsefalse102)]));
  263.         // line 104
  264.         echo "
  265.     <div class=\"breadcrumb-placeholder\">
  266.       ";
  267.         // line 106
  268.         ((function () use ($context$blocks) {
  269.             $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  270.             $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  271.             return $this->loadTemplate($includeTemplate ?? null"@SalvanaPferde2022/storefront/page/product-detail/index.html.twig"106);
  272.         })())->display(twig_array_merge($context, ["size" => "fluid""pack" => "solid""name" => "arrow-medium-right"]));
  273.         // line 107
  274.         echo "    </div>
  275.     <div itemprop=\"itemListElement\" itemscope
  276.          itemtype=\"http://schema.org/ListItem\">
  277.       <span itemprop=\"name\" class=\"is--active\">";
  278.         // line 110
  279.         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"falsefalsefalse110), "translated", [], "any"falsefalsefalse110), "name", [], "any"falsefalsefalse110), "html"nulltrue);
  280.         echo "</span>
  281.     </div>
  282.   </div>
  283. ";
  284.         
  285.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  286.         
  287.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  288.     }
  289.     public function getTemplateName()
  290.     {
  291.         return "@SalvanaPferde2022/storefront/page/product-detail/index.html.twig";
  292.     }
  293.     public function isTraitable()
  294.     {
  295.         return false;
  296.     }
  297.     public function getDebugInfo()
  298.     {
  299.         return array (  313 => 110,  308 => 107,  300 => 106,  296 => 104,  294 => 102,  293 => 101,  292 => 100,  291 => 99,  288 => 98,  278 => 97,  268 => 57,  261 => 53,  255 => 52,  242 => 41,  240 => 38,  239 => 37,  236 => 36,  233 => 35,  223 => 34,  211 => 93,  209 => 92,  204 => 89,  202 => 88,  199 => 87,  195 => 85,  193 => 79,  192 => 78,  191 => 75,  184 => 74,  181 => 73,  178 => 72,  175 => 70,  172 => 69,  169 => 67,  167 => 66,  164 => 65,  162 => 64,  159 => 63,  153 => 61,  151 => 60,  147 => 58,  145 => 34,  142 => 33,  132 => 32,  120 => 29,  117 => 28,  113 => 26,  109 => 24,  107 => 21,  106 => 20,  105 => 19,  104 => 16,  97 => 15,  94 => 14,  91 => 13,  88 => 11,  85 => 10,  82 => 8,  80 => 7,  77 => 6,  74 => 5,  71 => 4,  61 => 3,  38 => 2,);
  300.     }
  301.     public function getSourceContext()
  302.     {
  303.         return new Source("{% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
  304. {% block base_main_inner %}
  305.   {% set fields = page.product.translated.customFields %}
  306.   {% if fields.wn_pdp_headerimage %}
  307.     <div class=\"detail-motion-image-wrapper\">
  308.       {% set motionImageID = fields.wn_pdp_headerimage %}
  309.       {# fetch media as batch - optimized for performance #}
  310.       {% set mediaCollection = searchMedia([motionImageID], context.context) %}
  311.       {# extract single media object #}
  312.       {% set motionImage = mediaCollection.get(motionImageID) %}
  313.       {% sw_thumbnails 'navigation-flyout-teaser-image-thumbnails' with {
  314.         media: motionImage,
  315.         attributes: {
  316.           'class': 'detail-motion-image',
  317.           'alt': (motionImage.alt ?: ''),
  318.           'title': (motionImage.title ?: ''),
  319.           'style': (fields.wn_pdp_headerimage_additional_styles)
  320.         }
  321.       } %}
  322.     </div> 
  323.   {% else %}
  324.     <div class=\"detail-motion-spacer\"></div>
  325.   {% endif %}
  326.   {{ parent() }}
  327. {% endblock %}
  328. {% block page_product_detail_buy %}
  329.  <div class=\"col-lg-5 product-detail-buy\">
  330.    {% block page_product_detail_reviews %}
  331.      {% if page.product.ratingAverage > 0 and shopware.config.detail.showReviews %}
  332.        <p class=\"product-detail-reviews\">
  333.          {% sw_include '@Storefront/storefront/component/review/rating.html.twig' with {
  334.            points: page.product.ratingAverage,
  335.            style: 'text-primary'
  336.          } %}
  337.          <a data-toggle=\"tab\"
  338.             class=\"product-detail-reviews-link\"
  339.             data-offcanvas-tabs=\"true\"
  340.             data-remote-click=\"true\"
  341.             data-remote-click-options='{
  342.                                       \"selector\": \"#review-tab\",
  343.                                       \"scrollToElement\": true
  344.                                   }'
  345.             href=\"#review-tab-pane\"
  346.             aria-controls=\"review-tab-pane\">
  347.            {{ page.product.ratingAverage }} / {{ page.reviews.totalReviews}}
  348.            {{ \"detail.reviewLinkText\"|trans({'%count%': page.reviews.totalReviews})|sw_sanitize }}
  349.          </a>
  350.        </p>
  351.      {% endif %}
  352.    {% endblock %}
  353.    <div class=\"product-detail-list custom-listing-list-wrapper\">
  354.      {% if page.product.translated.customFields.wndev_ads_custom_list %}
  355.        {{ page.product.translated.customFields.wndev_ads_custom_list|raw }}
  356.      {% endif %}
  357.    </div>
  358.    {% if page.product.translated.customFields.sal_product_badge1 %}
  359.      <div class=\"product-badge\">
  360.       {% set Badge1ID = page.product.translated.customFields.sal_product_badge1 %}
  361.       {# fetch media as batch - optimized for performance #}
  362.       {% set mediaCollection = searchMedia([Badge1ID], context.context) %}
  363.       {# extract single media object #}
  364.       {% set Badge1 = mediaCollection.get(Badge1ID) %}
  365.       {% sw_thumbnails 'vlog-badge-listing' with {
  366.         media: Badge1,
  367.         attributes: {
  368.           'class': 'vlog-badge-image',
  369.           'alt': (Badge1.alt ?: ''),
  370.           'title': (Badge1.title ?: ''),
  371.           'data-object-fit': 'cover',
  372.           'height':'55',
  373.           'width':'83'
  374.         }
  375.       } %}
  376.   </div>
  377. {% endif %}
  378.    {% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
  379.    <div class=\"bl-suche\">
  380.    <h3>Persönliche Beratung</h3>
  381.    <p>Hier finden Sie Ihren persönlichen Ansprechpartner:</p>
  382.     {% sw_include '@Storefront/storefront/component/bl-suche.html.twig' %}
  383.    </div>
  384.  </div>
  385. {% endblock %}
  386. {% block page_product_detail_breadcrumb %}
  387.   <div class=\"breadcrumb product-breadcrumb container\" itemscope itemtype=\"http://schema.org/BreadcrumbList\">
  388.     {% sw_include '@Storefront/storefront/component/product/breadcrumb.html.twig' with {
  389.       navigationTree: page.header.navigation.tree,
  390.       categoryTree: page.product.categoryTree|last,
  391.       product: page.product
  392.     } only %}
  393.     <div class=\"breadcrumb-placeholder\">
  394.       {% sw_icon 'arrow-medium-right' style { 'size': 'fluid', 'pack': 'solid'} %}
  395.     </div>
  396.     <div itemprop=\"itemListElement\" itemscope
  397.          itemtype=\"http://schema.org/ListItem\">
  398.       <span itemprop=\"name\" class=\"is--active\">{{ page.product.translated.name }}</span>
  399.     </div>
  400.   </div>
  401. {% endblock %}
  402. ""@SalvanaPferde2022/storefront/page/product-detail/index.html.twig""/var/www/vhosts/salvana.aix-dev.de/dev.salvana.com/src/custom/plugins/SalvanaPferde2022/src/Resources/views/storefront/page/product-detail/index.html.twig");
  403.     }
  404. }