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-center-logo.liquidAND header-center-logo-with-burger-menu.liquid
Copy the code above the element <div class='header__cart header__icons—hover...'> </div>
<ooo-wl-access-button>
<div class="relative">
<a href="{% if routes.root_url != '/' %}{{ routes.root_url }}{% endif %}[WISHLIST PAGE HANDLE]" style="text-decoration:none;">
<span class="visually-hidden">{{ 'accessibility.open_wishlist' | t }}</span>
<div class='header__icon header__icon--cart link link--text focus-inset header__icons--container'>
<div class="header__cart--text link-hover-line header__icon--cart">
{%- render 'icon-heart-wishlist' with class: 'header__icon' -%}
<span class='cart-count-bubble'>(<ooo-wl-wishlist-count style="--ooo-wl-count-badge-position: relative;--ooo-wl-count-badge-font-size: calc(var(--font-header-menu-scale) * .9rem)" block-start="" inline-end="auto" show-zero="false" hidden></ooo-wl-wishlist-count>)
</span>
</div>
</div>
</a>
</div>
</ooo-wl-access-button>
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.