header.liquid

For desktop:

    <ooo-wl-access-button class="ooo-wishlist-header-button header__desktop__button">
      <a class="navlink navlink--cart--icon" href="{%  if routes.root_url != '/' %}{{ routes.root_url }}{% endif %}/pages/[WISHLIST PAGE HANDLE]">
        <span style="display:grid;" aria-label="{{ 'general.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="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>
        </span>
        <ooo-wl-wishlist-count class="header__cart__status" hidden block-start="-1" inline-end="0" hide-count="false">
        </ooo-wl-wishlist-count>
      </a>
    </ooo-wl-access-button>
    <style>
        ooo-wl-access-button.header__desktop__button .navlink--cart--icon .header__cart__status {right:0;top:3px;}
ooo-wl-wishlist-count.header__cart__status[hidden] {display:none;}
    </style>

The code above needs to be pasted right above the desktop cart button element:

    <div class="header__desktop__button">
      <a href="{{ routes.cart_url }}" class="navlink {{ navlink_cart_classes }}" title="{{ 'cart.general.title' | t }}" {% if settings.enable_cart_dropdown and template.name != 'cart' %} data-cart-toggle{% endif %}>
        {{ cart_status }}
      </a>
    </div>

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

For mobile:

    <ooo-wl-access-button class="ooo-wishlist-header-button header__mobile__button">
      <a class="navlink navlink--cart--icon" href="{%  if routes.root_url != '/' %}{{ routes.root_url }}{% endif %}/pages/[WISHLIST PAGE HANDLE]">
        <span style="display:grid;" aria-label="{{ 'general.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="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>
        </span>
        <ooo-wl-wishlist-count class="header__cart__status" 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: 842px) {
        ooo-wl-access-button.header__mobile__button .navlink--cart--icon .header__cart__status {right:0;top:11px;}
      }
    </style>

The code above needs to be added right above the mobile cart button element:

    <div class="header__mobile__button">
      <a href="{{ routes.cart_url }}" class="navlink {{ navlink_cart_classes }}" {% if settings.enable_cart_dropdown and template.name != 'cart' %} data-cart-toggle {% endif %}>
        {{ cart_status }}
      </a>
    </div>

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.