header.liquid
Desktop:
Copy and paste the code right above the render of the cart desktop:
// PASTE CODE HERE //
<li class="header__secondary-list-item">
{{ cart_link }}
</li>
Code to copy:
{%- comment -%} Ooo - Wishlist {%- endcomment -%}
<ooo-wl-access-button class="ooo-wishlist-header-button">
<a class="header__secondary-item" href="{% if routes.root_url != '/' %}{{ routes.root_url }}{% endif %}/pages/[WISHLIST PAGE HANDLE]">
<span aria-label="{{ 'accessibility.open_wishlist' | t }}" style="display:grid;background-size:0;">
<svg width="20" height="20" viewBox="0 0 18 16" stroke="currentColor" fill="none" xmlns="<http://www.w3.org/2000/svg>">
<path stroke="currentColor" stroke-width="1" 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>
</span>
</a>
</ooo-wl-access-button>
Mobile:
Copy and paste the code inside the header__mobile-cart element :
<div class="header__mobile-cart">
// PASTE CODE HERE
{{ cart_link }}
</div>
Code to copy:
{%- comment -%} Ooo - Wishlist {%- endcomment -%}
<ooo-wl-access-button class="ooo-wishlist-header-button header__secondary-item" style="transform: translateY(1px);">
<a href="{% if routes.root_url != '/' %}{{ routes.root_url }}{% endif %}/pages/[WISHLIST PAGE HANDLE]">
<span aria-label="{{ 'accessibility.open_wishlist' | t }}" style="display:grid;background-size:0;">
<svg width="20" height="20" viewBox="0 0 18 16" stroke="currentColor" fill="none" xmlns="<http://www.w3.org/2000/svg>">
<path stroke="currentColor" stroke-width="1" 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>
</span>
</a>
</ooo-wl-access-button>
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.