icon.liquid
Copy the code below under the {%- case icon -%} tag.
{%- when 'heart' -%}
<svg class="icon" width="18" height="16" viewBox="0 0 18 16" stroke="currentColor" fill="none" xmlns="http://www.w3.org/2000/svg">
<path stroke="currentColor" stroke-width="1.5" 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>
miscellaneous.liquid
Copy the code below under the {% if miscellaneous_settings.search_style != 'disable' %} [...] {%- endif -%} if statement.
<ooo-wl-access-button class="ooo-wishlist-header-button account-block account-block--mobile-header" style="position:relative;">
<a class="account account--icon hover-opacity" href="{% if routes.root_url != '/' %}{{ routes.root_url }}{% endif %}/pages/[WISHLIST PAGE HANDLE]" style="gap:4px;">
<span class="account-button header-actions__action" aria-label="{{ 'accessibility.open_wishlist' | t }}" style="display:grid;justify-content:center;align-items:center;">
{%- render 'icon', icon: 'heart', size: section.settings.icons_size -%}
</span>
<ooo-wl-wishlist-count hidden block-start="-6px" inline-end="1px" hide-count="false" style="position:inherit;">
<span class="account-container--minimal_uppercase" style="font-size:12px;"></span>
</ooo-wl-wishlist-count>
</a>
</ooo-wl-access-button>
<style>
@media screen and (max-width: 400px) { .ooo-wishlist-header-button.account-block { display: none; } }
@media screen and (min-width: 920px) { .ooo-wishlist-header-button svg { width: 24px;height: 24px; } }
</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.