header.liquid

Copy the code below above the <a href=”{{ routes.cart_url }}” class=”header__icon header__icon—cart […]> element.

<ooo-wl-access-button class="ooo-wishlist-header-button header__icon" style="position:relative;">
    <a class="header__icon link focus-inset" href="{%  if routes.root_url != '/' %}{{ routes.root_url }}{% endif %}/pages/[WISHLIST PAGE HANDLE]">
    <span class="" aria-label="{{ 'accessibility.open_wishlist' | t }}">
      <svg width="24" height="24" viewBox="0 0 18 16" stroke="currentColor" fill="none" xmlns="<http://www.w3.org/2000/svg>">
        <path stroke="currentColor" stroke-width="0.8" 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>
    </span>
    <ooo-wl-wishlist-count class="cart-count-bubble" hidden block-start="-1" inline-end="0" hide-count="false">
    </ooo-wl-wishlist-count>
    </a>
</ooo-wl-access-button>
<style>
    @media screen and (max-width: 380px) { .ooo-wishlist-header-button.header__icon { display: none; } }
</style>

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

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.