icon.liquid
Copy the code below under the {%- case icon -%} tag.
{%- when 'heart' -%}
<svg width="{{ width | default: 16 }}" class="{{ class | strip }}" fill="none" viewBox="0 0 16 16">
<path stroke="currentColor" stroke-width="{{ stroke_width | default: 1 }}" d="M7.105 3.105 8 4l.895-.895a3.771 3.771 0 1 1 5.334 5.333l-6.23 6.229-6.228-6.23a3.771 3.771 0 0 1 5.334-5.332Z"/>
</svg>
{%- when 'star' -%}
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path stroke="currentColor" stroke-width="{{ stroke_width | default: 1 }}" d="M10.333 5.333 8 1.333l-2.333 4-4.334 1.334 3 3-1 5L8 12.56l4.667 2.106-1-5 3-3-4.334-1.334Z"/>
</svg>
{%- when 'bookmark' -%}
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path stroke="currentColor" stroke-width="{{ stroke_width | default: 1 }}" d="M3 0.666672L13 0.666672V14.84L8 11.3333L3 14.84V0.666672Z"/>
</svg>
header.liquid
Copy the code below under the <li class="header__search-link {% if section.settings.mobile_layout == 'logo_center_navigation_split' %}md-max:hidden{% endif %}"> [...] </li> tag.
<ooo-wl-access-button>
<li class="header__cart-link relative">
<a href="{% if routes.root_url != '/' %}{{ routes.root_url }}{% endif %}/pages/[WISHLIST PAGE HANDLE]"
class="tap-area">
<span class="sr-only">{{ 'header.general.open_wishlist' | t }}</span>
{%- render 'icon' with '[ICON]' -%}
</a>
<ooo-wl-wishlist-count hidden class="header__active-dot" hide-count="true"></ooo-wl-wishlist-count>
</li>
</ooo-wl-access-button>
Replace [WISHLIST PAGE HANDLE] with your wishlist’s page handle and [ICON] with “heart” or “star” to select a heart or a star icon.
en.default.json
You will need to add the text description of the icon. To do that, add this line in the header -> general object:
"open_wishlist": "Open wishlist"
Note: do not forget to add this translation key to your other locale files.