> For the complete documentation index, see [llms.txt](https://modutheme.gitbook.io/helix/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://modutheme.gitbook.io/helix/features/quick-edit.md).

# Quick edit

Lets shoppers change a cart line item's variant or quantity without leaving the cart. Opening a line item reveals a panel with the product image, title, price, variant options, and a quantity selector.

{% embed url="<https://www.youtube.com/watch?v=jMB1Y3B2EFY>" %}
Video walkthrough: change variants in the cart with Helix.
{% endembed %}

The panel has no styling of its own — it inherits your cart and global theme settings.

## How to turn it on

Quick edit is a setting on the **Cart items** block, so turn it on in each place that block appears:

* **Cart drawer** — theme editor → **Overlay group → Cart drawer →** [**Cart items**](/helix/overlay-group/cart-drawer.md#cart-items).
* **Cart page** — theme editor → cart template → **Content →** [**Cart items**](/helix/other-sections/cart-page.md#cart-items).

In either place, turn on **Enable quick edit**, then optionally set **Show product media**, **Show badges**, and **Show quantity selector**. The quantity selector in the panel only appears while **Show quantity selector** is on.

{% hint style="info" %}
Quick edit does not appear on subscription lines — a cart line bought on a selling plan can't have its variant swapped without losing the plan, so those lines send the shopper to the product page instead. They keep their quantity selector, and the product title still links through.
{% endhint %}

## What happens when a shopper updates a line

* **Stock is checked.** The **Update** button stays disabled while the chosen variant is out of stock, and a quantity above what you have left is refused.
* **The line keeps its details.** When a shopper swaps the variant, details attached to the line, such as engraving text or an uploaded file, move to the new variant. A wrapped item stays wrapped, and its [gift wrapping](/helix/how-to-guides/how-to-set-up-gift-wrapping.md) charge follows it.
* **Pre-order details are not carried over.** If the new variant is not on pre-order, the pre-order details of the old variant are dropped.
* **If there isn't enough stock,** the panel stays open, the cart refreshes to show what it really holds, and a message explains the problem.

***

{% hint style="info" icon="headset" %}
**Need help?**

Whether you have a question, run into an issue, or just need some guidance, our support team is here to help.

<a href="https://go.crisp.chat/chat/embed/?website_id=6c25581e-794a-41b4-8552-52f3de1dd1f7" class="button secondary" data-icon="comments">Chat with us</a> <a href="https://modutheme.ticksy.com" class="button primary" data-icon="ticket">Submit a ticket</a>
{% endhint %}
