header.liquid
Copy the code below under the {%- if shop.customer_accounts_enabled -%} [...] {%- endif -%} if statement.
<ooo-wl-access-button class="ooo-wishlist-header-button">
<a href="{% if routes.ropoot_url != '/' %}{{ routes.root_url }}{% endif %}/pages/[WISHLIST PAGE HANDLE]" class="relative tap-area header__icon" style="display:block">
<span aria-label="{{ 'accessibility.open_wishlist' | t }}">
<svg fill="none" aria-hidden="false" focusable="false" width="24" viewBox="0 0 18 16">
<path stroke-linecap="round" stroke="currentColor" 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>
</span>
<ooo-wl-wishlist-count class="count-badge" hidden block-start="5px" inline-end="0" hide-count="false" style="text-align:center;"></ooo-wl-wishlist-count>
</a>
</ooo-wl-access-button>
<style>
@media screen and (max-width: 350px) { .ooo-wishlist-header-button { display: none; } }
</style>
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 to the accessibility object:
"open_wishlist": "Open wishlist"
Note: do not forget to add this translation key to your other locale files.