> ## Documentation Index
> Fetch the complete documentation index at: https://docs.loveful.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Header link and saved count

> A wishlist link with a count in your header, and "Saved by 12 shoppers" on product pages.

## Wishlist link in your header

A heart icon in your header that links to the wishlist page, with a small badge showing how many items the shopper has saved. It comes from the same **loveful-wishlist** snippet as the [hearts on product cards](https://docs.loveful.app/user-guide/storefront/save-button.md#hearts-on-product-cards).

**1. Create the snippet**

If you haven't already, go to **Settings** > **Storefront** and click **Copy snippet** under **Product cards and header**. In your theme's code editor, add a new snippet named `loveful-wishlist`, paste and save.

**2. Add the link to your header**

Click **Copy snippet** on the **Wishlist link in the header** row. Paste it in your theme's header file (often `header.liquid`), next to the cart icon, and save.

> [!NOTE]
>
> Add your [Wishlist page](https://docs.loveful.app/user-guide/storefront/wishlist-page.md) before copying the snippet, so the link points to it. To link somewhere else, see [Header wishlist link](https://docs.loveful.app/developers/guides/header-link.md).

The badge updates as soon as the shopper saves or removes something, and is hidden while their wishlist is empty. Above 99 items it shows **99+**.

If you'd rather not edit theme code, click **Ask us to add them** in **Settings** > **Storefront** and we'll add it for you.

## Saved count on product pages

The **Saved count** block shows how many shoppers have a product saved, like "Saved by 12 shoppers". It's optional and goes on your product template.

**1. Open the theme editor**

In Loveful, go to **Settings** > **Storefront** and click **Open theme editor** beside **Saved count**. The theme editor opens your product template with the block added.

**2. Place it and save**

Drag the block where you want it, then click **Save**.

### Block settings

| Setting | What it does |
| - | - |
| **Count** | **Whole product** counts shoppers who have any of its variants saved. **Selected variant** counts the variant the shopper has picked, and changes as they pick another. |
| **Show from** | Hidden until this many shoppers have it saved. 1 to 50, default 1. |

The count includes the shopper's own save as soon as they make it.

### Look and wording

In the [design window](https://docs.loveful.app/user-guide/storefront/design.md), the **Saved count** tab has **Show a heart**, the text colour and **Text size**. Change the words on the [Translations](https://docs.loveful.app/user-guide/translations.md) page.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.