var/cache/dev_hb199fda60d64cb4aeee9e3d553e0f6c1/twig/11/1188b9f779ac2bb579257f3f5e710655d93b1dd641d0638aeab7c94597d69a2e.php line 64

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/page/wishlist/index.html.twig */
  14. class __TwigTemplate_00edc2db3a7c5cd50c65ca1ca6098bd6 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.             'base_head' => [$this'block_base_head'],
  24.             'base_content' => [$this'block_base_content'],
  25.             'page_wishlist' => [$this'block_page_wishlist'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@HBCTheme/storefront/base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/wishlist/index.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/wishlist/index.html.twig"));
  40.         // line 0
  41.         echo "<!-- INCLUDE BEGIN @Storefront/storefront/page/wishlist/index.html.twig (vendor/shopware/storefront/Resources/views/storefront/page/wishlist/index.html.twig) -->";
  42.         echo "<!-- INCLUDE END @Storefront/storefront/page/wishlist/index.html.twig -->";
  43.         // line 2
  44.         $this->parent $this->loadTemplate("@HBCTheme/storefront/base.html.twig""@Storefront/storefront/page/wishlist/index.html.twig"2);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     public function block_base_head($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_head"));
  57.         // line 0
  58.         echo "<!-- BLOCK BEGIN base_head (vendor/shopware/storefront/Resources/views/storefront/page/wishlist/index.html.twig) -->";
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_head"));
  61.         // line 4
  62.         echo "    ";
  63.         $this->loadTemplate("@Storefront/storefront/page/wishlist/meta.html.twig""@Storefront/storefront/page/wishlist/index.html.twig"4)->display($context);
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         // line 0
  67.         echo "<!-- BLOCK END base_head -->";
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.     }
  71.     // line 7
  72.     public function block_base_content($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_content"));
  77.         // line 0
  78.         echo "<!-- BLOCK BEGIN base_content (vendor/shopware/storefront/Resources/views/storefront/page/wishlist/index.html.twig) -->";
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_content"));
  81.         // line 8
  82.         echo "    ";
  83.         $this->displayBlock('page_wishlist'$context$blocks);
  84.         
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  86.         // line 0
  87.         echo "<!-- BLOCK END base_content -->";
  88.         
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  90.     }
  91.     // line 8
  92.     public function block_page_wishlist($context, array $blocks = [])
  93.     {
  94.         $macros $this->macros;
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_wishlist"));
  97.         // line 0
  98.         echo "<!-- BLOCK BEGIN page_wishlist (vendor/shopware/storefront/Resources/views/storefront/page/wishlist/index.html.twig) -->";
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_wishlist"));
  101.         // line 9
  102.         echo "        <div class=\"cms-page wishlist-page\">
  103.             ";
  104.         // line 10
  105.         $context["searchResult"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["page"] ?? null), "wishlist", [], "any"falsefalsefalse10), "productListing", [], "any"falsefalsefalse10);
  106.         // line 11
  107.         echo "
  108.             ";
  109.         // line 12
  110.         if ((twig_get_attribute($this->env$this->source, ($context["context"] ?? null), "customer", [], "any"falsefalsefalse12) &&  !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["context"] ?? null), "customer", [], "any"falsefalsefalse12), "guest", [], "any"falsefalsefalse12))) {
  111.             // line 13
  112.             echo "                ";
  113.             $this->loadTemplate("@Storefront/storefront/page/wishlist/wishlist-pagelet.html.twig""@Storefront/storefront/page/wishlist/index.html.twig"13)->display(twig_array_merge($context, ["searchResult" => ($context["searchResult"] ?? null)]));
  114.             // line 14
  115.             echo "            ";
  116.         } else {
  117.             // line 15
  118.             echo "                ";
  119.             // line 16
  120.             echo "                ";
  121.             $context["guestWishlistPageOptions"] = ["pageletRouter" => ["path" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.wishlist.guestPage.pagelet"), "token" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.wishlist.guestPage.pagelet", ["mode" => "token"])]];
  122.             // line 22
  123.             echo "                <div class=\"row mh-100\" data-guest-wishlist-page=\"true\" data-guest-wishlist-page-options=\"";
  124.             echo twig_escape_filter($this->env$this->env->getFilter('json_encode')->getCallable()(($context["guestWishlistPageOptions"] ?? null)), "html"nulltrue);
  125.             echo "\"></div>
  126.             ";
  127.         }
  128.         // line 24
  129.         echo "        </div>
  130.     ";
  131.         
  132.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  133.         // line 0
  134.         echo "<!-- BLOCK END page_wishlist -->";
  135.         
  136.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  137.     }
  138.     public function getTemplateName()
  139.     {
  140.         return "@Storefront/storefront/page/wishlist/index.html.twig";
  141.     }
  142.     public function isTraitable()
  143.     {
  144.         return false;
  145.     }
  146.     public function getDebugInfo()
  147.     {
  148.         return array (  159 => 0,  153 => 24,  147 => 22,  144 => 16,  142 => 15,  139 => 14,  136 => 13,  134 => 12,  131 => 11,  129 => 10,  126 => 9,  121 => 0,  114 => 8,  107 => 0,  101 => 8,  96 => 0,  89 => 7,  82 => 0,  76 => 4,  71 => 0,  64 => 3,  53 => 2,  50 => 0,  37 => 2,);
  149.     }
  150.     public function getSourceContext()
  151.     {
  152.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  153. {% block base_head %}
  154.     {% sw_include '@Storefront/storefront/page/wishlist/meta.html.twig' %}
  155. {% endblock %}
  156. {% block base_content %}
  157.     {% block page_wishlist %}
  158.         <div class=\"cms-page wishlist-page\">
  159.             {% set searchResult = page.wishlist.productListing %}
  160.             {% if context.customer and not context.customer.guest %}
  161.                 {% sw_include '@Storefront/storefront/page/wishlist/wishlist-pagelet.html.twig' with { searchResult: searchResult } %}
  162.             {% else %}
  163.                 {# @deprecated tag:v6.5.0 - Option guestWishlistPageOptions.pageletRouter.token will be removed. #}
  164.                 {% set guestWishlistPageOptions = {
  165.                     pageletRouter: {
  166.                         path: path('frontend.wishlist.guestPage.pagelet'),
  167.                         token: sw_csrf('frontend.wishlist.guestPage.pagelet', {'mode': 'token'})
  168.                     }
  169.                 } %}
  170.                 <div class=\"row mh-100\" data-guest-wishlist-page=\"true\" data-guest-wishlist-page-options=\"{{ guestWishlistPageOptions|json_encode }}\"></div>
  171.             {% endif %}
  172.         </div>
  173.     {% endblock %}
  174. {% endblock %}
  175. ""@Storefront/storefront/page/wishlist/index.html.twig""/home/p-a6iu1i/html/hbc-shopware-stage-qcsct/dev/vendor/shopware/storefront/Resources/views/storefront/page/wishlist/index.html.twig");
  176.     }
  177. }