icon.liquid
Copy the code bellow under the {%- case icon -%} tag:
{%- when 'wishlist-heart' -%}
<svg class="{{ icon_class }}" viewBox="0 0 24 24" fill="none">
<path fill="none" fill-rule="evenodd" stroke="currentColor" stroke-width="2" stroke-linecap="square" d="M16.2143 2.5C14.4143 2.5 12.8714 3.44286 11.9286 4.81429C10.9857 3.44286 9.44286 2.5 7.64286 2.5C4.81429 2.5 2.5 4.81429 2.5 7.64286C2.5 12.7857 11.9286 20.5 11.9286 20.5C11.9286 20.5 21.3571 12.7857 21.3571 7.64286C21.3571 4.81429 19.0429 2.5 16.2143 2.5Z"/>
</svg>
header.liquid
Copy the code below under the {%- if shop.customer_accounts_enabled -%} [...] {%- endif -%} if statement.
<ooo-wl-access-button>
<div class="header__action-item">
<a class="header__action-item-link" href="{% if routes.root_url != '/' %}{{ routes.root_url }}{% endif %}/pages/[WISHLIST PAGE HANDLE]">
<div class="header__action-item-content">
<div class="header__icon icon-state">
<span class="icon-state__primary">
{%- render 'icon', icon: 'wishlist-[ICON]' -%}
</span>
</div>
</div>
</a>
</div>
</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.
theme.css
Copy the code below at the bottom of the theme.css file:
.icon--wishlist-heart {
width: 24px;
height: 24px;
}
.icon--wishlist-star {
width: 24px;
height: 24px;
}