var/cache/dev_h964aaf7676cbd186c58c2ecce1205bb0/twig/01/01438f88764ebe037b2b3ec4b09aaa1074aeb4904b4f284a668ce9f32d2978ae.php line 62

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @Storefront/storefront/page/wishlist/index.html.twig */
  16. class __TwigTemplate_950f82ee5dfcb8bc9c67f2d8e07b6dd4 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'base_head' => [$this'block_base_head'],
  26.             'base_content' => [$this'block_base_content'],
  27.             'page_wishlist' => [$this'block_page_wishlist'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 2
  33.         return "@SMTheme/storefront/base.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/wishlist/index.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/wishlist/index.html.twig"));
  42.         $this->parent $this->loadTemplate("@SMTheme/storefront/base.html.twig""@Storefront/storefront/page/wishlist/index.html.twig"2);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 3
  50.     public function block_base_head($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_head"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_head"));
  57.         // line 4
  58.         echo "    ";
  59.         $this->loadTemplate("@Storefront/storefront/page/wishlist/meta.html.twig""@Storefront/storefront/page/wishlist/index.html.twig"4)->display($context);
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.     }
  65.     // line 7
  66.     public function block_base_content($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_content"));
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_content"));
  73.         // line 8
  74.         echo "    ";
  75.         $this->displayBlock('page_wishlist'$context$blocks);
  76.         
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  78.         
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  80.     }
  81.     public function block_page_wishlist($context, array $blocks = [])
  82.     {
  83.         $macros $this->macros;
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_wishlist"));
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_wishlist"));
  88.         // line 9
  89.         echo "        <div class=\"cms-page wishlist-page\">
  90.             ";
  91.         // line 10
  92.         $context["searchResult"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "wishlist", [], "any"falsefalsefalse10), "productListing", [], "any"falsefalsefalse10);
  93.         // line 11
  94.         echo "
  95.             ";
  96.         // line 12
  97.         if ((sw_get_attribute($this->env$this->source, ($context["context"] ?? null), "customer", [], "any"falsefalsefalse12) &&  !sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "customer", [], "any"falsefalsefalse12), "guest", [], "any"falsefalsefalse12))) {
  98.             // line 13
  99.             echo "                ";
  100.             $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)]));
  101.             // line 14
  102.             echo "            ";
  103.         } else {
  104.             // line 15
  105.             echo "                ";
  106.             // line 16
  107.             echo "                ";
  108.             $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"])]];
  109.             // line 22
  110.             echo "                <div class=\"row mh-100\" data-guest-wishlist-page=\"true\" data-guest-wishlist-page-options=\"";
  111.             echo sw_escape_filter($this->env$this->env->getFilter('json_encode')->getCallable()(($context["guestWishlistPageOptions"] ?? null)), "html"nulltrue);
  112.             echo "\"></div>
  113.             ";
  114.         }
  115.         // line 24
  116.         echo "        </div>
  117.     ";
  118.         
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  120.         
  121.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  122.     }
  123.     public function getTemplateName()
  124.     {
  125.         return "@Storefront/storefront/page/wishlist/index.html.twig";
  126.     }
  127.     public function isTraitable()
  128.     {
  129.         return false;
  130.     }
  131.     public function getDebugInfo()
  132.     {
  133.         return array (  138 => 24,  132 => 22,  129 => 16,  127 => 15,  124 => 14,  121 => 13,  119 => 12,  116 => 11,  114 => 10,  111 => 9,  91 => 8,  81 => 7,  70 => 4,  60 => 3,  37 => 2,);
  134.     }
  135.     public function getSourceContext()
  136.     {
  137.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  138. {% block base_head %}
  139.     {% sw_include '@Storefront/storefront/page/wishlist/meta.html.twig' %}
  140. {% endblock %}
  141. {% block base_content %}
  142.     {% block page_wishlist %}
  143.         <div class=\"cms-page wishlist-page\">
  144.             {% set searchResult = page.wishlist.productListing %}
  145.             {% if context.customer and not context.customer.guest %}
  146.                 {% sw_include '@Storefront/storefront/page/wishlist/wishlist-pagelet.html.twig' with { searchResult: searchResult } %}
  147.             {% else %}
  148.                 {# @deprecated tag:v6.5.0 - Option guestWishlistPageOptions.pageletRouter.token will be removed. #}
  149.                 {% set guestWishlistPageOptions = {
  150.                     pageletRouter: {
  151.                         path: path('frontend.wishlist.guestPage.pagelet'),
  152.                         token: sw_csrf('frontend.wishlist.guestPage.pagelet', {'mode': 'token'})
  153.                     }
  154.                 } %}
  155.                 <div class=\"row mh-100\" data-guest-wishlist-page=\"true\" data-guest-wishlist-page-options=\"{{ guestWishlistPageOptions|json_encode }}\"></div>
  156.             {% endif %}
  157.         </div>
  158.     {% endblock %}
  159. {% endblock %}
  160. ""@Storefront/storefront/page/wishlist/index.html.twig""/var/www/vhosts/shop.bluebrix.de/httpdocs/vendor/shopware/storefront/Resources/views/storefront/page/wishlist/index.html.twig");
  161.     }
  162. }