custom/plugins/DecomTheme/src/Resources/views/storefront/layout/header/actions/wishlist-widget.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/header/actions/wishlist-widget.html.twig' %}
  2. {% block layout_header_actions_wishlist_widget %}
  3.     {% sw_icon 'wishlist-icon' style {'namespace': 'DecomTheme', 'class': 'header-wishlist-icon'} %}
  4.     
  5.     {% set wishlistStorageOptions = {
  6.         listPath: path('frontend.wishlist.product.list'),
  7.         mergePath: path('frontend.wishlist.product.merge'),
  8.         tokenMergePath: sw_csrf('frontend.wishlist.product.merge', {'mode': 'token'}),
  9.         pageletPath: path('frontend.wishlist.product.merge.pagelet'),
  10.         tokenPageletPath: sw_csrf('frontend.wishlist.product.merge.pagelet', {'mode': 'token'}),
  11.     } %}
  12.     <span class="badge badge-primary header-wishlist-badge"
  13.           id="wishlist-basket"
  14.           data-wishlist-storage="true"
  15.           data-wishlist-storage-options="{{ wishlistStorageOptions|json_encode }}"
  16.           data-wishlist-widget="true"
  17.     ></span>
  18. {% endblock %}