icon.liquid
Copy the code below under the {%- case icon -%} tag.
{%- when 'heart-wishlist' -%}
<path stroke="currentColor" stroke-width="1.75" 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 above the {% if settings.cart_type == 'drawer' and template.name != 'cart' %}
<ooo-wl-access-button class="ooo-wishlist-header-button header-actions__action">
<a href="{% if routes.root_url != '/' %}{{ routes.root_url }}{% endif %}/pages/[WISHLIST PAGE HANDLE]" style="position:relative;">
<span aria-label="{{ 'accessibility.open_wishlist' | t }}" style="display:flex;">
<svg width="22" height="22" viewBox="0 0 18 16" stroke="currentColor" fill="none" xmlns="<http://www.w3.org/2000/svg>">
{%- render 'icon', icon: 'heart-wishlist' -%}
</svg>
</span>
<ooo-wl-wishlist-count hidden block-start="-5px" inline-end="-10px" hide-count="false">
<span style="display:flex;align-items:center;justify-content:center;transform:translateY(1px);font-family: var(--font-paragraph--family);color: var(--cart-bubble-text, var(--cart-bubble-text-fallback));font-weight: var(--font-paragraph--weight);"></span>
</ooo-wl-wishlist-count>
</a>
</ooo-wl-access-button>
<style>
.ooo-wishlist-header-button { width: 44px;display:flex;align-items:center;transform:translateY(-1px);}
ooo-wl-wishlist-count {
width: 20px;
height: 20px;
background-color: var(--cart-bubble-background, var(--cart-bubble-background-fallback));
border-radius: var(--style-border-radius-lg);
}
</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 above the categories object:
"accessibility": {
"open_wishlist": "Open wishlist"
},
Note: do not forget to add this translation key to your other locale files.