var/cache/dev_hf4f0570ec4d597d79f3d835eecec3194/twig/bf/bf3225b192356067edfb304c160ed3d5206d1cea0ebdecca8b12cdfbe7b3e82c.php line 249

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @HBCTheme/storefront/layout/header/search-suggest.html.twig */
  14. class __TwigTemplate_946f60a43978f915260c9db8215c880c extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'layout_search_suggest_result_link' => [$this'block_layout_search_suggest_result_link'],
  24.             'layout_search_suggest_result_image' => [$this'block_layout_search_suggest_result_image'],
  25.             'layout_search_suggest_result_name' => [$this'block_layout_search_suggest_result_name'],
  26.             'layout_search_suggest_result_price' => [$this'block_layout_search_suggest_result_price'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@CoeHidePriceForCustomerGroup/storefront/layout/header/search-suggest.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@HBCTheme/storefront/layout/header/search-suggest.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@HBCTheme/storefront/layout/header/search-suggest.html.twig"));
  41.         // line 0
  42.         echo "<!-- INCLUDE BEGIN @HBCTheme/storefront/layout/header/search-suggest.html.twig (custom/plugins/HBCTheme/src/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  43.         echo "<!-- INCLUDE END @HBCTheme/storefront/layout/header/search-suggest.html.twig -->";
  44.         // line 2
  45.         $this->parent $this->loadTemplate("@CoeHidePriceForCustomerGroup/storefront/layout/header/search-suggest.html.twig""@HBCTheme/storefront/layout/header/search-suggest.html.twig"2);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 3
  53.     public function block_layout_search_suggest_result_link($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_link"));
  58.         // line 0
  59.         echo "<!-- BLOCK BEGIN layout_search_suggest_result_link (custom/plugins/HBCTheme/src/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_link"));
  62.         // line 4
  63.         echo "    <a href=\"";
  64.         echo twig_escape_filter($this->env$this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SeoUrlFunctionExtension']->seoUrl("frontend.detail.page", ["productId" => twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "id", [], "any"falsefalsefalse4)]), "html"nulltrue);
  65.         echo "\"
  66.        title=\"";
  67.         // line 5
  68.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "translated", [], "any"falsefalsefalse5), "name", [], "any"falsefalsefalse5), "html"nulltrue);
  69.         echo "\"
  70.        class=\"search-suggest-product-link\">
  71.         <div class=\"row align-items-center ";
  72.         // line 7
  73.         echo twig_escape_filter($this->env, ($context["gridNoGuttersClass"] ?? null), "html"nulltrue);
  74.         echo "\">
  75.             ";
  76.         // line 8
  77.         $this->displayBlock('layout_search_suggest_result_image'$context$blocks);
  78.         // line 29
  79.         echo "
  80.             ";
  81.         // line 30
  82.         $this->displayBlock('layout_search_suggest_result_name'$context$blocks);
  83.         // line 35
  84.         echo "
  85.             ";
  86.         // line 36
  87.         $this->displayBlock('layout_search_suggest_result_price'$context$blocks);
  88.         // line 61
  89.         echo "        </div>
  90.         <div class=\"row align-items-center\" style=\"margin-left: 20px\">
  91.             ";
  92.         // line 63
  93.         $context['_parent'] = $context;
  94.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "properties", [], "any"falsefalsefalse63));
  95.         $context['loop'] = [
  96.           'parent' => $context['_parent'],
  97.           'index0' => 0,
  98.           'index'  => 1,
  99.           'first'  => true,
  100.         ];
  101.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  102.             $length count($context['_seq']);
  103.             $context['loop']['revindex0'] = $length 1;
  104.             $context['loop']['revindex'] = $length;
  105.             $context['loop']['length'] = $length;
  106.             $context['loop']['last'] = === $length;
  107.         }
  108.         foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
  109.             // line 64
  110.             echo "            <div>
  111.                 ";
  112.             // line 65
  113.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["option"], "name", [], "any"falsefalsefalse65), "html"nulltrue);
  114.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse65)) {
  115.                 echo " | &nbsp;";
  116.             }
  117.             // line 66
  118.             echo "            </div>
  119.             ";
  120.             ++$context['loop']['index0'];
  121.             ++$context['loop']['index'];
  122.             $context['loop']['first'] = false;
  123.             if (isset($context['loop']['length'])) {
  124.                 --$context['loop']['revindex0'];
  125.                 --$context['loop']['revindex'];
  126.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  127.             }
  128.         }
  129.         $_parent $context['_parent'];
  130.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
  131.         $context array_intersect_key($context$_parent) + $_parent;
  132.         // line 68
  133.         echo "
  134.         </div>
  135.     </a>
  136. ";
  137.         
  138.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  139.         // line 0
  140.         echo "<!-- BLOCK END layout_search_suggest_result_link -->";
  141.         
  142.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  143.     }
  144.     // line 8
  145.     public function block_layout_search_suggest_result_image($context, array $blocks = [])
  146.     {
  147.         $macros $this->macros;
  148.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  149.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_image"));
  150.         // line 0
  151.         echo "<!-- BLOCK BEGIN layout_search_suggest_result_image (custom/plugins/HBCTheme/src/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  152.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  153.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_image"));
  154.         // line 9
  155.         echo "                <div class=\"col-auto search-suggest-product-image-container\">
  156.                     ";
  157.         // line 10
  158.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "cover", [], "any"falsefalsefalse10), "media", [], "any"falsefalsefalse10), "url", [], "any"falsefalsefalse10)) {
  159.             // line 11
  160.             echo "                        ";
  161.             ((function () use ($context$blocks) {
  162.                 $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  163.                 $includeTemplate $finder->find("@Storefront/storefront/utilities/thumbnail.html.twig");
  164.                 return $this->loadTemplate($includeTemplate ?? null"@HBCTheme/storefront/layout/header/search-suggest.html.twig"11);
  165.             })())->display(twig_array_merge($context, ["media" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 12
  166. ($context["product"] ?? null), "cover", [], "any"falsefalsefalse12), "media", [], "any"falsefalsefalse12), "sizes" => ["default" => "100px"], "attributes" => ["class" => "search-suggest-product-image""alt" => ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 18
  167. ($context["product"] ?? null), "cover", [], "any"falsefalsefalse18), "media", [], "any"falsefalsefalse18), "translated", [], "any"falsefalsefalse18), "alt", [], "any"falsefalsefalse18)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "cover", [], "any"falsefalsefalse18), "media", [], "any"falsefalsefalse18), "translated", [], "any"falsefalsefalse18), "alt", [], "any"falsefalsefalse18)) : ("")), "title" => ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 19
  168. ($context["product"] ?? null), "cover", [], "any"falsefalsefalse19), "media", [], "any"falsefalsefalse19), "translated", [], "any"falsefalsefalse19), "title", [], "any"falsefalsefalse19)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "cover", [], "any"falsefalsefalse19), "media", [], "any"falsefalsefalse19), "translated", [], "any"falsefalsefalse19), "title", [], "any"falsefalsefalse19)) : (""))], "name" => "search-suggest-product-image-thumbnails"]));
  169.             // line 22
  170.             echo "                    ";
  171.         } else {
  172.             // line 23
  173.             echo "                        ";
  174.             ((function () use ($context$blocks) {
  175.                 $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  176.                 $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  177.                 return $this->loadTemplate($includeTemplate ?? null"@HBCTheme/storefront/layout/header/search-suggest.html.twig"23);
  178.             })())->display(twig_array_merge($context, ["size" => "lg""name" => "placeholder"]));
  179.             // line 26
  180.             echo "                    ";
  181.         }
  182.         // line 27
  183.         echo "                </div>
  184.             ";
  185.         
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  187.         // line 0
  188.         echo "<!-- BLOCK END layout_search_suggest_result_image -->";
  189.         
  190.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  191.     }
  192.     // line 30
  193.     public function block_layout_search_suggest_result_name($context, array $blocks = [])
  194.     {
  195.         $macros $this->macros;
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  197.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_name"));
  198.         // line 0
  199.         echo "<!-- BLOCK BEGIN layout_search_suggest_result_name (custom/plugins/HBCTheme/src/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  200.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  201.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_name"));
  202.         // line 31
  203.         echo "                <div class=\"col search-suggest-product-name\">
  204.                     ";
  205.         // line 32
  206.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "translated", [], "any"falsefalsefalse32), "name", [], "any"falsefalsefalse32), "html"nulltrue);
  207.         echo "
  208.                 </div>
  209.             ";
  210.         
  211.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  212.         // line 0
  213.         echo "<!-- BLOCK END layout_search_suggest_result_name -->";
  214.         
  215.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  216.     }
  217.     // line 36
  218.     public function block_layout_search_suggest_result_price($context, array $blocks = [])
  219.     {
  220.         $macros $this->macros;
  221.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  222.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_price"));
  223.         // line 0
  224.         echo "<!-- BLOCK BEGIN layout_search_suggest_result_price (custom/plugins/HBCTheme/src/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  226.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_price"));
  227.         // line 37
  228.         echo "                <div class=\"col-auto search-suggest-product-price\">
  229.                     ";
  230.         // line 38
  231.         $context["price"] = twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "calculatedPrice", [], "any"falsefalsefalse38);
  232.         // line 39
  233.         echo "                    ";
  234.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "calculatedPrices", [], "any"falsefalsefalse39), "count", [], "any"falsefalsefalse39) > 0)) {
  235.             // line 40
  236.             echo "                        ";
  237.             $context["price"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "calculatedPrices", [], "any"falsefalsefalse40), "last", [], "any"falsefalsefalse40);
  238.             // line 41
  239.             echo "                    ";
  240.         }
  241.         // line 42
  242.         echo "
  243.                     ";
  244.         // line 43
  245.         $context["referencePrice"] = twig_get_attribute($this->env$this->source, ($context["price"] ?? null), "referencePrice", [], "any"falsefalsefalse43);
  246.         // line 44
  247.         echo "
  248.                     ";
  249.         // line 45
  250.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "calculatedPrices", [], "any"falsefalsefalse45), "count", [], "any"falsefalsefalse45) > 1)) {
  251.             // line 46
  252.             echo "                        ";
  253.             echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.listingTextFrom"));
  254.             echo "
  255.                     ";
  256.         }
  257.         // line 48
  258.         echo "                    <span class=\"search-suggest-product-price\">
  259.                                                         ";
  260.         // line 49
  261.         echo twig_escape_filter($this->env$this->extensions['Shopware\Core\Framework\Adapter\Twig\Filter\CurrencyFilter']->formatCurrency($contexttwig_get_attribute($this->env$this->source, ($context["price"] ?? null), "unitPrice", [], "any"falsefalsefalse49)), "html"nulltrue);
  262.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.star"));
  263.         echo "
  264.                                                     </span>
  265.                     ";
  266.         // line 52
  267.         if ( !(null === twig_get_attribute($this->env$this->source, ($context["price"] ?? null), "referencePrice", [], "any"falsefalsefalse52))) {
  268.             // line 53
  269.             echo "                        <br><small class=\"search-suggest-product-reference-price\">(";
  270.             echo twig_escape_filter($this->env$this->extensions['Shopware\Core\Framework\Adapter\Twig\Filter\CurrencyFilter']->formatCurrency($contexttwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["price"] ?? null), "referencePrice", [], "any"falsefalsefalse53), "price", [], "any"falsefalsefalse53)), "html"nulltrue);
  271.             echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.star"));
  272.             echo " / ";
  273.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["price"] ?? null), "referencePrice", [], "any"falsefalsefalse53), "referenceUnit", [], "any"falsefalsefalse53), "html"nulltrue);
  274.             echo "&nbsp;";
  275.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["price"] ?? null), "referencePrice", [], "any"falsefalsefalse53), "unitName", [], "any"falsefalsefalse53), "html"nulltrue);
  276.             echo ")</small>
  277.                     ";
  278.         }
  279.         // line 55
  280.         echo "
  281.                     ";
  282.         // line 56
  283.         if ( !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["price"] ?? null), "regulationPrice", [], "any"falsefalsefalse56), "price", [], "any"falsefalsefalse56))) {
  284.             // line 57
  285.             echo "                        <small class=\"search-suggest-product-list-price\">";
  286.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.listPricePreviously", ["%price%" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Filter\CurrencyFilter']->formatCurrency($contexttwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["price"] ?? null), "regulationPrice", [], "any"falsefalsefalse57), "price", [], "any"falsefalsefalse57))]), "html"nulltrue);
  287.             echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.star"));
  288.             echo "</small>
  289.                     ";
  290.         }
  291.         // line 59
  292.         echo "                </div>
  293.             ";
  294.         
  295.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  296.         // line 0
  297.         echo "<!-- BLOCK END layout_search_suggest_result_price -->";
  298.         
  299.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  300.     }
  301.     public function getTemplateName()
  302.     {
  303.         return "@HBCTheme/storefront/layout/header/search-suggest.html.twig";
  304.     }
  305.     public function isTraitable()
  306.     {
  307.         return false;
  308.     }
  309.     public function getDebugInfo()
  310.     {
  311.         return array (  332 => 0,  326 => 59,  319 => 57,  317 => 56,  314 => 55,  303 => 53,  301 => 52,  294 => 49,  291 => 48,  285 => 46,  283 => 45,  280 => 44,  278 => 43,  275 => 42,  272 => 41,  269 => 40,  266 => 39,  264 => 38,  261 => 37,  256 => 0,  249 => 36,  242 => 0,  234 => 32,  231 => 31,  226 => 0,  219 => 30,  212 => 0,  206 => 27,  203 => 26,  194 => 23,  191 => 22,  189 => 19,  188 => 18,  187 => 12,  179 => 11,  177 => 10,  174 => 9,  169 => 0,  162 => 8,  155 => 0,  147 => 68,  132 => 66,  127 => 65,  124 => 64,  107 => 63,  103 => 61,  101 => 36,  98 => 35,  96 => 30,  93 => 29,  91 => 8,  87 => 7,  82 => 5,  77 => 4,  72 => 0,  65 => 3,  54 => 2,  51 => 0,  38 => 2,);
  312.     }
  313.     public function getSourceContext()
  314.     {
  315.         return new Source("{% sw_extends '@Storefront/storefront/layout/header/search-suggest.html.twig' %}
  316. {% block layout_search_suggest_result_link %}
  317.     <a href=\"{{ seoUrl('frontend.detail.page', {'productId': product.id}) }}\"
  318.        title=\"{{ product.translated.name }}\"
  319.        class=\"search-suggest-product-link\">
  320.         <div class=\"row align-items-center {{ gridNoGuttersClass }}\">
  321.             {% block layout_search_suggest_result_image %}
  322.                 <div class=\"col-auto search-suggest-product-image-container\">
  323.                     {% if product.cover.media.url %}
  324.                         {% sw_thumbnails 'search-suggest-product-image-thumbnails' with {
  325.                             media: product.cover.media,
  326.                             sizes: {
  327.                                 'default': '100px'
  328.                             },
  329.                             attributes: {
  330.                                 'class': 'search-suggest-product-image',
  331.                                 'alt': (product.cover.media.translated.alt ?: ''),
  332.                                 'title': (product.cover.media.translated.title ?: '')
  333.                             }
  334.                         } %}
  335.                     {% else %}
  336.                         {% sw_icon 'placeholder' style {
  337.                             'size': 'lg'
  338.                         } %}
  339.                     {% endif %}
  340.                 </div>
  341.             {% endblock %}
  342.             {% block layout_search_suggest_result_name %}
  343.                 <div class=\"col search-suggest-product-name\">
  344.                     {{ product.translated.name }}
  345.                 </div>
  346.             {% endblock %}
  347.             {% block layout_search_suggest_result_price %}
  348.                 <div class=\"col-auto search-suggest-product-price\">
  349.                     {% set price = product.calculatedPrice %}
  350.                     {% if product.calculatedPrices.count > 0 %}
  351.                         {% set price = product.calculatedPrices.last %}
  352.                     {% endif %}
  353.                     {% set referencePrice = price.referencePrice %}
  354.                     {% if product.calculatedPrices.count > 1 %}
  355.                         {{ \"listing.listingTextFrom\"|trans|sw_sanitize }}
  356.                     {% endif %}
  357.                     <span class=\"search-suggest-product-price\">
  358.                                                         {{ price.unitPrice|currency }}{{ \"general.star\"|trans|sw_sanitize }}
  359.                                                     </span>
  360.                     {% if price.referencePrice is not null %}
  361.                         <br><small class=\"search-suggest-product-reference-price\">({{ price.referencePrice.price|currency }}{{ \"general.star\"|trans|sw_sanitize }} / {{ price.referencePrice.referenceUnit }}&nbsp;{{ price.referencePrice.unitName }})</small>
  362.                     {% endif %}
  363.                     {% if price.regulationPrice.price is not null %}
  364.                         <small class=\"search-suggest-product-list-price\">{{ \"general.listPricePreviously\"|trans({'%price%': price.regulationPrice.price|currency }) }}{{ \"general.star\"|trans|sw_sanitize }}</small>
  365.                     {% endif %}
  366.                 </div>
  367.             {% endblock %}
  368.         </div>
  369.         <div class=\"row align-items-center\" style=\"margin-left: 20px\">
  370.             {% for option in product.properties %}
  371.             <div>
  372.                 {{ option.name }}{% if not loop.last %} | &nbsp;{% endif %}
  373.             </div>
  374.             {% endfor %}
  375.         </div>
  376.     </a>
  377. {% endblock %}
  378. ""@HBCTheme/storefront/layout/header/search-suggest.html.twig""/home/p-a6iu1i/html/hbc-shopware-stage-qcsct/dev/custom/plugins/HBCTheme/src/Resources/views/storefront/layout/header/search-suggest.html.twig");
  379.     }
  380. }