vendor/shopware/storefront/Resources/views/storefront/page/wishlist/index.html.twig line 1

  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2. {% block base_head %}
  3.     {% sw_include '@Storefront/storefront/page/wishlist/meta.html.twig' %}
  4. {% endblock %}
  5. {% block base_content %}
  6.     {% block page_wishlist %}
  7.         <div class="cms-page wishlist-page">
  8.             {% set searchResult = page.wishlist.productListing %}
  9.             {% if context.customer and not context.customer.guest %}
  10.                 {% sw_include '@Storefront/storefront/page/wishlist/wishlist-pagelet.html.twig' with { searchResult: searchResult } %}
  11.             {% else %}
  12.                 {% set guestWishlistPageOptions = {
  13.                     pageletRouter: {
  14.                         path: path('frontend.wishlist.guestPage.pagelet'),
  15.                     }
  16.                 } %}
  17.                 <div class="row mh-100" data-guest-wishlist-page="true" data-guest-wishlist-page-options="{{ guestWishlistPageOptions|json_encode }}"></div>
  18.             {% endif %}
  19.         </div>
  20.     {% endblock %}
  21. {% endblock %}