Adding Wishlist Icon in header menu
Note: Some themes do not yet support adding app blocks in the header section. In this case, please contact us for help or use the same approach as Online Store 1.0 below.
Online Store 1.0 - Using automatically added snippets:
Wishlist Hero adds a snippet during installation that you can use for this purpose. Instructions for most themes are:
- On your store admin screen, Go to "Online store" > "Themes"
- Check the theme you want to edit, and click on the "Actions" button, then on "Edit Code"
- Now you are on the Theme files editor, you should look for where you want to place the wishlist icon in header. In most cases that is "header.liquid"
- Start editing the file, search for the cart code. Right before the cart (routes.cart_url), place the following snippet:
{% render 'wishlisthero-header-icon.liquid' %}
Save the file and preview in store.
Optional: If you want to edit how the icon looks,
- Go to Online Store > Themes > Customize
- From there, you can add any CSS customizations in the Additional HTML section in App Embeds.