> ## Documentation Index
> Fetch the complete documentation index at: https://codebeans-wishlyst.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Cart: move to wishlist

> Let shoppers move items from the cart to a wishlist instead of removing them.

**Where:** **Manage Wishlist → Cart**

![Move to Wishlist on a cart line](https://mintcdn.com/codebeans-wishlyst/FOg6WqIIKdNxdSzd/images/mockups/cart-move.png?fit=max\&auto=format\&n=FOg6WqIIKdNxdSzd\&q=85\&s=0c70d81af909d48f299082927395e9c6)

Move to Wishlist on a cart line

Shoppers often remove items from the cart because they are not ready to buy, not because they don't want them. With this feature they can move an item to a wishlist instead, so you keep the item and the shopper's interest.

## Turn it on

Under **Select Features**, tick **Allow shoppers to save items before removing them from the cart**. Each line on the cart page then gets a **Move to Wishlist** control with a list picker.

## Settings

| Setting | Description |
| - | - |
| **Button text** | Label of the Move to Wishlist button |
| **Button Placement Selector** (optional) | CSS selector inside each cart line where the button goes, e.g. `.cart-item__details`. Leave it empty for automatic placement. |

Selectors that work on common themes: `.cart-item__info`, `.cart-item__quantity`, `.cart-item__totals`, `td:nth-child(2)`.

## Place it by hand

Add this inside your cart template's line item loop, near the Remove link:

```liquid theme={null}
<div class="cb-wishlist-cart-btn"
     data-product-id="{{ item.product_id }}"
     data-variant-id="{{ item.variant_id }}"></div>
```

See [Manual placement](https://codebeans-wishlyst.mintlify.site/developers/manual-placement.md#cart-page-move-to-wishlist) for themes with unusual cart markup.


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