icon.liquid
Copy the code below under the {%- case icon -%} tag.
{%- when 'heart-wishlist' -%}
<svg fill="none" aria-hidden="false" focusable="false" width="{{ width | default: 20 }}" class="{{ class | strip }}" viewBox="0 0 18 16">
<path stroke="{{ icon_color | default: 'currentColor' }}" stroke-linecap="round" stroke-linejoin="round" stroke-width="{{ stroke_width }}" 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.liquid
First, you will have to comment on the wishlist that is integrated into the theme. To do so, add the {% comment %} and the{% endcomment %} tags around the{% render 'wishlisthero-header-icon.liquid' %} tag:
{% comment %}
{% render 'wishlisthero-header-icon.liquid' %}
{% endcomment %}
Then, copy the code below under the{% if shop.customer_accounts_enabled %}...{% endif %} tag:
<ooo-wl-access-button class="ooo-wishlist-header-button header__icon">
<a href="{% if routes.root_url != '/' %}{{ routes.root_url }}{% endif %}/pages/[WISHLIST PAGE HANDLE]" class="header__icon header__icon--summary header__icon--cart">
<span aria-label="{{ 'accessibility.open_wishlist' | t }}">
{%- render 'icon', icon: 'heart-wishlist' -%}
</span>
<ooo-wl-wishlist-count class="cart-count-bubble" hidden block-start="0" inline-end="0" hide-count="false">
</ooo-wl-wishlist-count>
</a>
</ooo-wl-access-button>
<style>
@media screen and (max-width: 350px) { .ooo-wishlist-header-button { display: none!important; } }
</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.