Icons

Add the following file to your Snippets folder:

icon-heart-wishlist.liquid

<svg width="18" height="18" viewBox="0 0 18 16" stroke="currentColor" fill="none" xmlns="<http://www.w3.org/2000/svg>">
    <path stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" d="M9.004 14.152 2.748 8.483c-3.4-3.4 1.598-9.928 6.256-4.647 4.659-5.281 9.635 1.27 6.257 4.647l-6.257 5.668Z"/>
</svg>

header.liquid

Copy the code above the element <div class="hdr-st-item cart-ui-{{ section.settings.cart_ui }} cart-qty-iu--{{ section.settings.cart_ui_quantity }}">

  <ooo-wl-access-button class="ooo-wishlist-header-button hdr-st-item cart-qty-iu--{{ section.settings.cart_ui_quantity }}">
    <a class="cart-icon--bubble" href="{%  if routes.root_url != '/' %}{{ routes.root_url }}{% endif %}/pages/[WISHLIST PAGE HANDLE]">
      <span aria-label="{{ 'accessibility.open_wishlist' | t }}" style="display:flex;">
        {%- render 'icon-heart-wishlist' -%}
      </span>
      <ooo-wl-wishlist-count class="hdr-cart-count" hidden block-start="50%" inline-end="1px" hide-count="false">
      </ooo-wl-wishlist-count>
    </a>
  </ooo-wl-access-button>
  <style>
      .ooo-wishlist-header-button.hdr-st-item { position:relative;margin-right:8px; }
      ooo-wl-wishlist-count.hdr-cart-count { transform:translateY(-40%);font-size: var(--site-header-cart-qty-font-size); }
      @media screen and (max-width: 400px) { ooo-wl-access-button.hdr-st-item { display: none; } }
      @media screen and (min-width: 1025px) { .ooo-wishlist-header-button.hdr-st-item { min-width: 40px; } }
  </style>

Replace [WISHLIST PAGE HANDLE] with your wishlist’s page handle

To access the wishlist on mobile devices below 400px, please add a link to your drawer menu, as the icon will not fit in the header on smaller devices.

en.default.json

You will need to add the text description of the icon. To do that, add this line to the accessibility object:

"open_wishlist": "Open wishlist"

Note: do not forget to add this translation key to your other locale files.