> ## 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.

# Save button

> The Wishlist button block on product pages, and the heart on product cards.

Shoppers save products two ways: with the save button on a product page, and with a heart on product cards. Both need the [Loveful app embed](https://docs.loveful.app/user-guide/storefront/index.md#in-the-theme-editor) switched on.

## On product pages

The **Wishlist button** block goes on your product template.

**1. Open the theme editor**

In Loveful, go to **Settings** > **Storefront** and click **Open theme editor** beside **Wishlist button**. The theme editor opens your product template with the block added beside the price and variant picker.

**2. Place it**

Drag the block where you want it in the product section.

**3. Save**

Click **Save** in the theme editor.

The button reads **Save to wishlist**, and **Saved** once the shopper has saved it. Clicking it again removes the item.

It saves the variant the shopper has picked. When they pick another size or colour, the button switches to that variant and shows whether it's saved.

### Changing the look

The block has no settings in the theme editor. Its look is set in Loveful's [design window](https://docs.loveful.app/user-guide/storefront/design.md#button), on the **Button** tab:

* **Show**: **Text**, **Icon**, or **Icon and text**
* **Icon**: **Heart**, **Bookmark** or **Star**, when the button shows an icon
* **Full width**
* Background, text, border colours and corner radius, plus separate colours **Once saved**

To change the words, use the [Translations](https://docs.loveful.app/user-guide/translations.md) page.

## Hearts on product cards

A heart on each product card lets shoppers save straight from collections, search results and anywhere else your theme shows cards. It comes from the **loveful-wishlist** snippet, which you add to your theme's code once.

**1. Create the snippet**

In Loveful, 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. The ⋯ menu beside **Copy snippet** has **Open code editor** and **View snippet**.

**2. Add the heart to your product card**

Click **Copy snippet** on the **Heart on product cards** row. Paste it in your theme's product card file (often `card-product.liquid`), inside the element that wraps the product image, and save.

Once Loveful finds the snippet in your live theme, **Create the snippet** shows **Added**. If you've an older copy, it shows **Update needed**: copy the snippet again and replace yours.

> [!TIP]
>
> Not comfortable editing theme code? Click **Ask us to add them** and we'll add the heart and the header link for you, free. We need collaborator access to your store, which you approve and can remove any time.

A card's heart saves the product's first available variant. It shows as saved when any variant of that product is on the shopper's wishlist. Clicking a saved heart removes every saved variant of that product.

### Heart settings

The heart's look is in the theme editor, under **App embeds** > **Loveful** > **Product card heart**:

| Setting | What it does |
| - | - |
| **Position** | **Over the image, top right**, **Over the image, top left**, or **In line, where the snippet is** |
| **Size** | 16 to 40 px |
| **Colour** | The heart's colour |
| **Colour when saved** | The heart's colour once saved |
| **White circle behind the heart** | A white circle so the heart shows over any image |

For more on the snippet, see [Hearts on your product cards](https://docs.loveful.app/developers/guides/card-hearts.md).

## When a wishlist is full

A signed-in shopper's wishlist holds up to 128 items. Saving one more opens **Your wishlist is full**, which offers to remove the oldest item to make room. **Remove and save** does that; **Cancel** leaves the wishlist as it is.

## Guests

Shoppers who aren't signed in can save too, unless you turn guest wishlists off. See [Guest wishlists](https://docs.loveful.app/user-guide/storefront/guest-wishlists.md).


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