icons.liquid
Copy the code below under the{%- case icon -%} tag.
{%- when 'wishlist-heart' -%}
<path stroke="currentColor" 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"/>
header-actions.liquid
Copy the code below under the <header-actions {{- block.shopify_attributes -}} > tag:
<ooo-wl-access-button class="ooo-wishlist-header-button">
<a href="{% if routes.root_url != '/' %}{{ routes.root_url }}{% endif %}/pages/[WISHLIST PAGE HANDLE]" class="relative tap-area" style="display:block">
<span class="account-button header-actions__action" aria-label="{{ 'accessibility.open_wishlist' | t }}">
<svg fill="none" aria-hidden="false" focusable="false" width="{{ width | default: 24 }}" class="{{ class | strip }}" viewBox="0 0 18 16">
{%- render 'icon', icon: 'wishlist-heart' -%}
</svg>
</span>
<ooo-wl-wishlist-count hidden block-start="5px" inline-end="0" hide-count="false">
<div class="cart-bubble"><div class="cart-bubble__background"></div><span class="cart-bubble__text"></span></div>
</ooo-wl-wishlist-count>
</a>
</ooo-wl-access-button>
<style>
@media screen and (max-width: 450px) { .ooo-wishlist-header-button { display: none; } }
</style>
en.default.json
You will need to add the text description of the icon. To do that, add this line in the accessibility object:
"open_wishlist": "Open wishlist"
Note: do not forget to add this translation key to your other locale files.