var/cache/dev_hf4f0570ec4d597d79f3d835eecec3194/twig/41/41b2d04ff8fd9091a4f2cf96b983b06cfd67ff3a7352a954c1830b22d7c0fcdf.php line 168

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. /* @Storefront/storefront/layout/header/search-suggest.html.twig */
  14. class __TwigTemplate_11983b5f67ec2f7d7c6fa89399e08322 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->parent false;
  23.         $this->blocks = [
  24.             'layout_search_suggest' => [$this'block_layout_search_suggest'],
  25.             'layout_search_suggest_container' => [$this'block_layout_search_suggest_container'],
  26.             'layout_search_suggest_results' => [$this'block_layout_search_suggest_results'],
  27.             'layout_search_suggest_result_product' => [$this'block_layout_search_suggest_result_product'],
  28.             'layout_search_suggest_result_link' => [$this'block_layout_search_suggest_result_link'],
  29.             'layout_search_suggest_result_image' => [$this'block_layout_search_suggest_result_image'],
  30.             'layout_search_suggest_result_name' => [$this'block_layout_search_suggest_result_name'],
  31.             'layout_search_suggest_result_price' => [$this'block_layout_search_suggest_result_price'],
  32.             'layout_search_suggest_result_total' => [$this'block_layout_search_suggest_result_total'],
  33.             'layout_search_suggest_no_result' => [$this'block_layout_search_suggest_no_result'],
  34.             'layout_search_suggest_result_total_result' => [$this'block_layout_search_suggest_result_total_result'],
  35.             'layout_search_suggest_result_total_link' => [$this'block_layout_search_suggest_result_total_link'],
  36.             'layout_search_suggest_result_total_count' => [$this'block_layout_search_suggest_result_total_count'],
  37.         ];
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = [])
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/layout/header/search-suggest.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/layout/header/search-suggest.html.twig"));
  46.         echo "<!-- INCLUDE BEGIN @Storefront/storefront/layout/header/search-suggest.html.twig (vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  47.         // line 2
  48.         echo "
  49. ";
  50.         // line 3
  51.         $this->displayBlock('layout_search_suggest'$context$blocks);
  52.         // line 0
  53.         echo "<!-- INCLUDE END @Storefront/storefront/layout/header/search-suggest.html.twig -->";
  54.         
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  56.         
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58.     }
  59.     // line 3
  60.     public function block_layout_search_suggest($context, array $blocks = [])
  61.     {
  62.         $macros $this->macros;
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest"));
  65.         // line 0
  66.         echo "<!-- BLOCK BEGIN layout_search_suggest (vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest"));
  69.         // line 4
  70.         echo "    <div class=\"search-suggest js-search-result\">
  71.         ";
  72.         // line 5
  73.         $this->displayBlock('layout_search_suggest_container'$context$blocks);
  74.         // line 119
  75.         echo "    </div>
  76. ";
  77.         
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  79.         // line 0
  80.         echo "<!-- BLOCK END layout_search_suggest -->";
  81.         
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  83.     }
  84.     // line 5
  85.     public function block_layout_search_suggest_container($context, array $blocks = [])
  86.     {
  87.         $macros $this->macros;
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_container"));
  90.         // line 0
  91.         echo "<!-- BLOCK BEGIN layout_search_suggest_container (vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_container"));
  94.         // line 6
  95.         echo "            <ul class=\"search-suggest-container\">
  96.                 ";
  97.         // line 7
  98.         $this->displayBlock('layout_search_suggest_results'$context$blocks);
  99.         // line 81
  100.         echo "
  101.                 ";
  102.         // line 82
  103.         $this->displayBlock('layout_search_suggest_result_total'$context$blocks);
  104.         // line 117
  105.         echo "            </ul>
  106.         ";
  107.         
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  109.         // line 0
  110.         echo "<!-- BLOCK END layout_search_suggest_container -->";
  111.         
  112.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  113.     }
  114.     // line 7
  115.     public function block_layout_search_suggest_results($context, array $blocks = [])
  116.     {
  117.         $macros $this->macros;
  118.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_results"));
  120.         // line 0
  121.         echo "<!-- BLOCK BEGIN layout_search_suggest_results (vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_results"));
  124.         // line 8
  125.         echo "                    ";
  126.         $context['_parent'] = $context;
  127.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, ($context["page"] ?? null), "searchResult", [], "any"falsefalsefalse8));
  128.         $context['loop'] = [
  129.           'parent' => $context['_parent'],
  130.           'index0' => 0,
  131.           'index'  => 1,
  132.           'first'  => true,
  133.         ];
  134.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  135.             $length count($context['_seq']);
  136.             $context['loop']['revindex0'] = $length 1;
  137.             $context['loop']['revindex'] = $length;
  138.             $context['loop']['length'] = $length;
  139.             $context['loop']['last'] = === $length;
  140.         }
  141.         foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  142.             // line 9
  143.             echo "                        ";
  144.             $this->displayBlock('layout_search_suggest_result_product'$context$blocks);
  145.             // line 79
  146.             echo "                    ";
  147.             ++$context['loop']['index0'];
  148.             ++$context['loop']['index'];
  149.             $context['loop']['first'] = false;
  150.             if (isset($context['loop']['length'])) {
  151.                 --$context['loop']['revindex0'];
  152.                 --$context['loop']['revindex'];
  153.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  154.             }
  155.         }
  156.         $_parent $context['_parent'];
  157.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
  158.         $context array_intersect_key($context$_parent) + $_parent;
  159.         // line 80
  160.         echo "                ";
  161.         
  162.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  163.         // line 0
  164.         echo "<!-- BLOCK END layout_search_suggest_results -->";
  165.         
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  167.     }
  168.     // line 9
  169.     public function block_layout_search_suggest_result_product($context, array $blocks = [])
  170.     {
  171.         $macros $this->macros;
  172.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  173.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_product"));
  174.         // line 0
  175.         echo "<!-- BLOCK BEGIN layout_search_suggest_result_product (vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_product"));
  178.         // line 10
  179.         echo "                            <li class=\"search-suggest-product js-result\">
  180.                                 ";
  181.         // line 11
  182.         $this->displayBlock('layout_search_suggest_result_link'$context$blocks);
  183.         // line 77
  184.         echo "                            </li>
  185.                         ";
  186.         
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  188.         // line 0
  189.         echo "<!-- BLOCK END layout_search_suggest_result_product -->";
  190.         
  191.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  192.     }
  193.     // line 11
  194.     public function block_layout_search_suggest_result_link($context, array $blocks = [])
  195.     {
  196.         $macros $this->macros;
  197.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  198.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_link"));
  199.         // line 0
  200.         echo "<!-- BLOCK BEGIN layout_search_suggest_result_link (vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  201.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  202.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_link"));
  203.         // line 12
  204.         echo "                                    <a href=\"";
  205.         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"falsefalsefalse12)]), "html"nulltrue);
  206.         echo "\"
  207.                                        title=\"";
  208.         // line 13
  209.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "translated", [], "any"falsefalsefalse13), "name", [], "any"falsefalsefalse13), "html"nulltrue);
  210.         echo "\"
  211.                                        class=\"search-suggest-product-link\">
  212.                                         <div class=\"row align-items-center ";
  213.         // line 15
  214.         echo twig_escape_filter($this->env, ($context["gridNoGuttersClass"] ?? null), "html"nulltrue);
  215.         echo "\">
  216.                                             ";
  217.         // line 16
  218.         $this->displayBlock('layout_search_suggest_result_image'$context$blocks);
  219.         // line 37
  220.         echo "
  221.                                             ";
  222.         // line 38
  223.         $this->displayBlock('layout_search_suggest_result_name'$context$blocks);
  224.         // line 43
  225.         echo "
  226.                                             ";
  227.         // line 44
  228.         $this->displayBlock('layout_search_suggest_result_price'$context$blocks);
  229.         // line 74
  230.         echo "                                        </div>
  231.                                     </a>
  232.                                 ";
  233.         
  234.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  235.         // line 0
  236.         echo "<!-- BLOCK END layout_search_suggest_result_link -->";
  237.         
  238.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  239.     }
  240.     // line 16
  241.     public function block_layout_search_suggest_result_image($context, array $blocks = [])
  242.     {
  243.         $macros $this->macros;
  244.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  245.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_image"));
  246.         // line 0
  247.         echo "<!-- BLOCK BEGIN layout_search_suggest_result_image (vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  248.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  249.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_image"));
  250.         // line 17
  251.         echo "                                                <div class=\"col-auto search-suggest-product-image-container\">
  252.                                                     ";
  253.         // line 18
  254.         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"falsefalsefalse18), "media", [], "any"falsefalsefalse18), "url", [], "any"falsefalsefalse18)) {
  255.             // line 19
  256.             echo "                                                        ";
  257.             ((function () use ($context$blocks) {
  258.                 $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  259.                 $includeTemplate $finder->find("@Storefront/storefront/utilities/thumbnail.html.twig");
  260.                 return $this->loadTemplate($includeTemplate ?? null"@Storefront/storefront/layout/header/search-suggest.html.twig"19);
  261.             })())->display(twig_array_merge($context, ["media" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 20
  262. ($context["product"] ?? null), "cover", [], "any"falsefalsefalse20), "media", [], "any"falsefalsefalse20), "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 26
  263. ($context["product"] ?? null), "cover", [], "any"falsefalsefalse26), "media", [], "any"falsefalsefalse26), "translated", [], "any"falsefalsefalse26), "alt", [], "any"falsefalsefalse26)) ? (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"falsefalsefalse26), "media", [], "any"falsefalsefalse26), "translated", [], "any"falsefalsefalse26), "alt", [], "any"falsefalsefalse26)) : ("")), "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 27
  264. ($context["product"] ?? null), "cover", [], "any"falsefalsefalse27), "media", [], "any"falsefalsefalse27), "translated", [], "any"falsefalsefalse27), "title", [], "any"falsefalsefalse27)) ? (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"falsefalsefalse27), "media", [], "any"falsefalsefalse27), "translated", [], "any"falsefalsefalse27), "title", [], "any"falsefalsefalse27)) : (""))], "name" => "search-suggest-product-image-thumbnails"]));
  265.             // line 30
  266.             echo "                                                    ";
  267.         } else {
  268.             // line 31
  269.             echo "                                                        ";
  270.             ((function () use ($context$blocks) {
  271.                 $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  272.                 $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  273.                 return $this->loadTemplate($includeTemplate ?? null"@Storefront/storefront/layout/header/search-suggest.html.twig"31);
  274.             })())->display(twig_array_merge($context, ["size" => "lg""name" => "placeholder"]));
  275.             // line 34
  276.             echo "                                                    ";
  277.         }
  278.         // line 35
  279.         echo "                                                </div>
  280.                                             ";
  281.         
  282.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  283.         // line 0
  284.         echo "<!-- BLOCK END layout_search_suggest_result_image -->";
  285.         
  286.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  287.     }
  288.     // line 38
  289.     public function block_layout_search_suggest_result_name($context, array $blocks = [])
  290.     {
  291.         $macros $this->macros;
  292.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  293.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_name"));
  294.         // line 0
  295.         echo "<!-- BLOCK BEGIN layout_search_suggest_result_name (vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  296.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  297.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_name"));
  298.         // line 39
  299.         echo "                                                <div class=\"col search-suggest-product-name\">
  300.                                                     ";
  301.         // line 40
  302.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "translated", [], "any"falsefalsefalse40), "name", [], "any"falsefalsefalse40), "html"nulltrue);
  303.         echo "
  304.                                                 </div>
  305.                                             ";
  306.         
  307.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  308.         // line 0
  309.         echo "<!-- BLOCK END layout_search_suggest_result_name -->";
  310.         
  311.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  312.     }
  313.     // line 44
  314.     public function block_layout_search_suggest_result_price($context, array $blocks = [])
  315.     {
  316.         $macros $this->macros;
  317.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  318.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_price"));
  319.         // line 0
  320.         echo "<!-- BLOCK BEGIN layout_search_suggest_result_price (vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  321.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  322.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_price"));
  323.         // line 45
  324.         echo "                                                <div class=\"col-auto search-suggest-product-price\">
  325.                                                     ";
  326.         // line 46
  327.         $context["price"] = twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "calculatedPrice", [], "any"falsefalsefalse46);
  328.         // line 47
  329.         echo "                                                    ";
  330.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "calculatedPrices", [], "any"falsefalsefalse47), "count", [], "any"falsefalsefalse47) > 0)) {
  331.             // line 48
  332.             echo "                                                        ";
  333.             $context["price"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "calculatedPrices", [], "any"falsefalsefalse48), "last", [], "any"falsefalsefalse48);
  334.             // line 49
  335.             echo "                                                    ";
  336.         }
  337.         // line 50
  338.         echo "
  339.                                                     ";
  340.         // line 51
  341.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "variantListingConfig", [], "any"falsefalsefalse51), "displayParent", [], "any"falsefalsefalse51) && (twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "parentId", [], "any"falsefalsefalse51) === null))) {
  342.             // line 52
  343.             echo "                                                        ";
  344.             $context["displayFromVariants"] = (twig_get_attribute($this->env$this->source, ($context["price"] ?? null), "unitPrice", [], "any"falsefalsefalse52) !== twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "calculatedCheapestPrice", [], "any"falsefalsefalse52), "unitPrice", [], "any"falsefalsefalse52));
  345.             // line 53
  346.             echo "                                                        ";
  347.             $context["price"] = twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "calculatedCheapestPrice", [], "any"falsefalsefalse53);
  348.             // line 54
  349.             echo "                                                    ";
  350.         }
  351.         // line 55
  352.         echo "
  353.                                                     ";
  354.         // line 56
  355.         $context["referencePrice"] = twig_get_attribute($this->env$this->source, ($context["price"] ?? null), "referencePrice", [], "any"falsefalsefalse56);
  356.         // line 57
  357.         echo "
  358.                                                     ";
  359.         // line 58
  360.         if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "calculatedPrices", [], "any"falsefalsefalse58), "count", [], "any"falsefalsefalse58) > 1) || ($context["displayFromVariants"] ?? null))) {
  361.             // line 59
  362.             echo "                                                        ";
  363.             echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.listingTextFrom"));
  364.             echo "
  365.                                                     ";
  366.         }
  367.         // line 61
  368.         echo "                                                    <span class=\"search-suggest-product-price\">
  369.                                                         ";
  370.         // line 62
  371.         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"falsefalsefalse62)), "html"nulltrue);
  372.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.star"));
  373.         echo "
  374.                                                     </span>
  375.                                                     ";
  376.         // line 65
  377.         if ( !(null === twig_get_attribute($this->env$this->source, ($context["price"] ?? null), "referencePrice", [], "any"falsefalsefalse65))) {
  378.             // line 66
  379.             echo "                                                        <br><small class=\"search-suggest-product-reference-price\">(";
  380.             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"falsefalsefalse66), "price", [], "any"falsefalsefalse66)), "html"nulltrue);
  381.             echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.star"));
  382.             echo " / ";
  383.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["price"] ?? null), "referencePrice", [], "any"falsefalsefalse66), "referenceUnit", [], "any"falsefalsefalse66), "html"nulltrue);
  384.             echo "&nbsp;";
  385.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["price"] ?? null), "referencePrice", [], "any"falsefalsefalse66), "unitName", [], "any"falsefalsefalse66), "html"nulltrue);
  386.             echo ")</small>
  387.                                                     ";
  388.         }
  389.         // line 68
  390.         echo "
  391.                                                     ";
  392.         // line 69
  393.         if ( !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["price"] ?? null), "regulationPrice", [], "any"falsefalsefalse69), "price", [], "any"falsefalsefalse69))) {
  394.             // line 70
  395.             echo "                                                        <small class=\"search-suggest-product-list-price\">";
  396.             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"falsefalsefalse70), "price", [], "any"falsefalsefalse70))]), "html"nulltrue);
  397.             echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.star"));
  398.             echo "</small>
  399.                                                     ";
  400.         }
  401.         // line 72
  402.         echo "                                                </div>
  403.                                             ";
  404.         
  405.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  406.         // line 0
  407.         echo "<!-- BLOCK END layout_search_suggest_result_price -->";
  408.         
  409.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  410.     }
  411.     // line 82
  412.     public function block_layout_search_suggest_result_total($context, array $blocks = [])
  413.     {
  414.         $macros $this->macros;
  415.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  416.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_total"));
  417.         // line 0
  418.         echo "<!-- BLOCK BEGIN layout_search_suggest_result_total (vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  419.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  420.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_total"));
  421.         // line 83
  422.         echo "                    ";
  423.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["page"] ?? null), "searchResult", [], "any"falsefalsefalse83), "total", [], "any"falsefalsefalse83) == 0)) {
  424.             // line 84
  425.             echo "                        ";
  426.             $this->displayBlock('layout_search_suggest_no_result'$context$blocks);
  427.             // line 89
  428.             echo "                    ";
  429.         } else {
  430.             // line 90
  431.             echo "
  432.                         ";
  433.             // line 91
  434.             $this->displayBlock('layout_search_suggest_result_total_result'$context$blocks);
  435.             // line 115
  436.             echo "                    ";
  437.         }
  438.         // line 116
  439.         echo "                ";
  440.         
  441.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  442.         // line 0
  443.         echo "<!-- BLOCK END layout_search_suggest_result_total -->";
  444.         
  445.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  446.     }
  447.     // line 84
  448.     public function block_layout_search_suggest_no_result($context, array $blocks = [])
  449.     {
  450.         $macros $this->macros;
  451.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  452.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_no_result"));
  453.         // line 0
  454.         echo "<!-- BLOCK BEGIN layout_search_suggest_no_result (vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  455.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  456.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_no_result"));
  457.         // line 85
  458.         echo "                            <li class=\"search-suggest-no-result\">
  459.                                 ";
  460.         // line 86
  461.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header.searchNoResult"));
  462.         echo "
  463.                             </li>
  464.                         ";
  465.         
  466.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  467.         // line 0
  468.         echo "<!-- BLOCK END layout_search_suggest_no_result -->";
  469.         
  470.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  471.     }
  472.     // line 91
  473.     public function block_layout_search_suggest_result_total_result($context, array $blocks = [])
  474.     {
  475.         $macros $this->macros;
  476.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  477.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_total_result"));
  478.         // line 0
  479.         echo "<!-- BLOCK BEGIN layout_search_suggest_result_total_result (vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  480.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  481.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_total_result"));
  482.         // line 92
  483.         echo "                            <li class=\"js-result search-suggest-total\">
  484.                                 <div class=\"row align-items-center ";
  485.         // line 93
  486.         echo twig_escape_filter($this->env, ($context["gridNoGuttersClass"] ?? null), "html"nulltrue);
  487.         echo "\">
  488.                                     ";
  489.         // line 94
  490.         $this->displayBlock('layout_search_suggest_result_total_link'$context$blocks);
  491.         // line 104
  492.         echo "
  493.                                     ";
  494.         // line 105
  495.         $this->displayBlock('layout_search_suggest_result_total_count'$context$blocks);
  496.         // line 112
  497.         echo "                                </div>
  498.                             </li>
  499.                         ";
  500.         
  501.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  502.         // line 0
  503.         echo "<!-- BLOCK END layout_search_suggest_result_total_result -->";
  504.         
  505.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  506.     }
  507.     // line 94
  508.     public function block_layout_search_suggest_result_total_link($context, array $blocks = [])
  509.     {
  510.         $macros $this->macros;
  511.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  512.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_total_link"));
  513.         // line 0
  514.         echo "<!-- BLOCK BEGIN layout_search_suggest_result_total_link (vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  515.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  516.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_total_link"));
  517.         // line 95
  518.         echo "                                        <div class=\"col\">
  519.                                             <a href=\"";
  520.         // line 96
  521.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.search.page");
  522.         echo "?search=";
  523.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["page"] ?? null), "searchTerm", [], "any"falsefalsefalse96), "html"nulltrue);
  524.         echo "\"
  525.                                                title=\"";
  526.         // line 97
  527.         echo twig_escape_filter($this->envtwig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header.searchAllResults")), "html"nulltrue);
  528.         echo "\"
  529.                                                class=\"search-suggest-total-link\">
  530.                                                 ";
  531.         // line 99
  532.         ((function () use ($context$blocks) {
  533.             $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  534.             $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  535.             return $this->loadTemplate($includeTemplate ?? null"@Storefront/storefront/layout/header/search-suggest.html.twig"99);
  536.         })())->display(twig_array_merge($context, ["size" => "sm""name" => "arrow-head-right"]));
  537.         // line 100
  538.         echo "                                                ";
  539.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header.searchAllResults"));
  540.         echo "
  541.                                             </a>
  542.                                         </div>
  543.                                     ";
  544.         
  545.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  546.         // line 0
  547.         echo "<!-- BLOCK END layout_search_suggest_result_total_link -->";
  548.         
  549.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  550.     }
  551.     // line 105
  552.     public function block_layout_search_suggest_result_total_count($context, array $blocks = [])
  553.     {
  554.         $macros $this->macros;
  555.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  556.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_total_count"));
  557.         // line 0
  558.         echo "<!-- BLOCK BEGIN layout_search_suggest_result_total_count (vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig) -->";
  559.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  560.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_search_suggest_result_total_count"));
  561.         // line 106
  562.         echo "                                        <div class=\"col-auto search-suggest-total-count\">
  563.                                             ";
  564.         // line 107
  565.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header.searchResults", ["%count%" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 108
  566. ($context["page"] ?? null), "searchResult", [], "any"falsefalsefalse108), "total", [], "any"falsefalsefalse108)]));
  567.         // line 109
  568.         echo "
  569.                                         </div>
  570.                                     ";
  571.         
  572.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  573.         // line 0
  574.         echo "<!-- BLOCK END layout_search_suggest_result_total_count -->";
  575.         
  576.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  577.     }
  578.     public function getTemplateName()
  579.     {
  580.         return "@Storefront/storefront/layout/header/search-suggest.html.twig";
  581.     }
  582.     public function getDebugInfo()
  583.     {
  584.         return array (  656 => 0,  649 => 109,  647 => 108,  646 => 107,  643 => 106,  638 => 0,  631 => 105,  624 => 0,  614 => 100,  606 => 99,  601 => 97,  595 => 96,  592 => 95,  587 => 0,  580 => 94,  573 => 0,  566 => 112,  564 => 105,  561 => 104,  559 => 94,  555 => 93,  552 => 92,  547 => 0,  540 => 91,  533 => 0,  525 => 86,  522 => 85,  517 => 0,  510 => 84,  503 => 0,  498 => 116,  495 => 115,  493 => 91,  490 => 90,  487 => 89,  484 => 84,  481 => 83,  476 => 0,  469 => 82,  462 => 0,  456 => 72,  449 => 70,  447 => 69,  444 => 68,  433 => 66,  431 => 65,  424 => 62,  421 => 61,  415 => 59,  413 => 58,  410 => 57,  408 => 56,  405 => 55,  402 => 54,  399 => 53,  396 => 52,  394 => 51,  391 => 50,  388 => 49,  385 => 48,  382 => 47,  380 => 46,  377 => 45,  372 => 0,  365 => 44,  358 => 0,  350 => 40,  347 => 39,  342 => 0,  335 => 38,  328 => 0,  322 => 35,  319 => 34,  310 => 31,  307 => 30,  305 => 27,  304 => 26,  303 => 20,  295 => 19,  293 => 18,  290 => 17,  285 => 0,  278 => 16,  271 => 0,  264 => 74,  262 => 44,  259 => 43,  257 => 38,  254 => 37,  252 => 16,  248 => 15,  243 => 13,  238 => 12,  233 => 0,  226 => 11,  219 => 0,  213 => 77,  211 => 11,  208 => 10,  203 => 0,  196 => 9,  189 => 0,  184 => 80,  170 => 79,  167 => 9,  149 => 8,  144 => 0,  137 => 7,  130 => 0,  124 => 117,  122 => 82,  119 => 81,  117 => 7,  114 => 6,  109 => 0,  102 => 5,  95 => 0,  89 => 119,  87 => 5,  84 => 4,  79 => 0,  72 => 3,  62 => 0,  60 => 3,  57 => 2,);
  585.     }
  586.     public function getSourceContext()
  587.     {
  588.         return new Source("{# @var product \\Shopware\\Core\\Content\\Product\\SalesChannel\\SalesChannelProductEntity #}
  589. {% block layout_search_suggest %}
  590.     <div class=\"search-suggest js-search-result\">
  591.         {% block layout_search_suggest_container %}
  592.             <ul class=\"search-suggest-container\">
  593.                 {% block layout_search_suggest_results %}
  594.                     {% for product in page.searchResult %}
  595.                         {% block layout_search_suggest_result_product %}
  596.                             <li class=\"search-suggest-product js-result\">
  597.                                 {% block layout_search_suggest_result_link %}
  598.                                     <a href=\"{{ seoUrl('frontend.detail.page', {'productId': product.id}) }}\"
  599.                                        title=\"{{ product.translated.name }}\"
  600.                                        class=\"search-suggest-product-link\">
  601.                                         <div class=\"row align-items-center {{ gridNoGuttersClass }}\">
  602.                                             {% block layout_search_suggest_result_image %}
  603.                                                 <div class=\"col-auto search-suggest-product-image-container\">
  604.                                                     {% if product.cover.media.url %}
  605.                                                         {% sw_thumbnails 'search-suggest-product-image-thumbnails' with {
  606.                                                             media: product.cover.media,
  607.                                                             sizes: {
  608.                                                                 'default': '100px'
  609.                                                             },
  610.                                                             attributes: {
  611.                                                                 'class': 'search-suggest-product-image',
  612.                                                                 'alt': (product.cover.media.translated.alt ?: ''),
  613.                                                                 'title': (product.cover.media.translated.title ?: '')
  614.                                                             }
  615.                                                         } %}
  616.                                                     {% else %}
  617.                                                         {% sw_icon 'placeholder' style {
  618.                                                             'size': 'lg'
  619.                                                         } %}
  620.                                                     {% endif %}
  621.                                                 </div>
  622.                                             {% endblock %}
  623.                                             {% block layout_search_suggest_result_name %}
  624.                                                 <div class=\"col search-suggest-product-name\">
  625.                                                     {{ product.translated.name }}
  626.                                                 </div>
  627.                                             {% endblock %}
  628.                                             {% block layout_search_suggest_result_price %}
  629.                                                 <div class=\"col-auto search-suggest-product-price\">
  630.                                                     {% set price = product.calculatedPrice %}
  631.                                                     {% if product.calculatedPrices.count > 0 %}
  632.                                                         {% set price = product.calculatedPrices.last %}
  633.                                                     {% endif %}
  634.                                                     {% if product.variantListingConfig.displayParent and product.parentId === null %}
  635.                                                         {% set displayFromVariants = price.unitPrice !== product.calculatedCheapestPrice.unitPrice %}
  636.                                                         {% set price = product.calculatedCheapestPrice %}
  637.                                                     {% endif %}
  638.                                                     {% set referencePrice = price.referencePrice %}
  639.                                                     {% if product.calculatedPrices.count > 1 or displayFromVariants %}
  640.                                                         {{ \"listing.listingTextFrom\"|trans|sw_sanitize }}
  641.                                                     {% endif %}
  642.                                                     <span class=\"search-suggest-product-price\">
  643.                                                         {{ price.unitPrice|currency }}{{ \"general.star\"|trans|sw_sanitize }}
  644.                                                     </span>
  645.                                                     {% if price.referencePrice is not null %}
  646.                                                         <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>
  647.                                                     {% endif %}
  648.                                                     {% if price.regulationPrice.price is not null %}
  649.                                                         <small class=\"search-suggest-product-list-price\">{{ \"general.listPricePreviously\"|trans({'%price%': price.regulationPrice.price|currency }) }}{{ \"general.star\"|trans|sw_sanitize }}</small>
  650.                                                     {% endif %}
  651.                                                 </div>
  652.                                             {% endblock %}
  653.                                         </div>
  654.                                     </a>
  655.                                 {% endblock %}
  656.                             </li>
  657.                         {% endblock %}
  658.                     {% endfor %}
  659.                 {% endblock %}
  660.                 {% block layout_search_suggest_result_total %}
  661.                     {% if page.searchResult.total == 0 %}
  662.                         {% block layout_search_suggest_no_result %}
  663.                             <li class=\"search-suggest-no-result\">
  664.                                 {{ \"header.searchNoResult\"|trans|sw_sanitize }}
  665.                             </li>
  666.                         {% endblock %}
  667.                     {% else %}
  668.                         {% block layout_search_suggest_result_total_result %}
  669.                             <li class=\"js-result search-suggest-total\">
  670.                                 <div class=\"row align-items-center {{ gridNoGuttersClass }}\">
  671.                                     {% block layout_search_suggest_result_total_link %}
  672.                                         <div class=\"col\">
  673.                                             <a href=\"{{ path('frontend.search.page') }}?search={{ page.searchTerm }}\"
  674.                                                title=\"{{ \"header.searchAllResults\"|trans|striptags }}\"
  675.                                                class=\"search-suggest-total-link\">
  676.                                                 {% sw_icon 'arrow-head-right' style { 'size': 'sm' } %}
  677.                                                 {{ \"header.searchAllResults\"|trans|sw_sanitize }}
  678.                                             </a>
  679.                                         </div>
  680.                                     {% endblock %}
  681.                                     {% block layout_search_suggest_result_total_count %}
  682.                                         <div class=\"col-auto search-suggest-total-count\">
  683.                                             {{ \"header.searchResults\"|trans({
  684.                                                 '%count%': page.searchResult.total,
  685.                                             })|sw_sanitize }}
  686.                                         </div>
  687.                                     {% endblock %}
  688.                                 </div>
  689.                             </li>
  690.                         {% endblock %}
  691.                     {% endif %}
  692.                 {% endblock %}
  693.             </ul>
  694.         {% endblock %}
  695.     </div>
  696. {% endblock %}
  697. ""@Storefront/storefront/layout/header/search-suggest.html.twig""/home/p-a6iu1i/html/hbc-shopware-stage-qcsct/dev/vendor/shopware/storefront/Resources/views/storefront/layout/header/search-suggest.html.twig");
  698.     }
  699. }