# Cart Line Items

Every item in the cart is a line item that can be edited directly. WCPOS provides flexible inline editing for quantities, prices, and other details.

## Line Item Types[​](#line-item-types "Direct link to Line Item Types")

WooCommerce uses three types of line items:

| Type               | Description                  | Examples                            |
| ------------------ | ---------------------------- | ----------------------------------- |
| **line\_item**     | Products from your catalogue | T-shirt, Coffee mug                 |
| **fee\_line**      | Additional fees              | Gift wrapping, Service charge       |
| **shipping\_line** | Shipping costs               | Standard shipping, Express delivery |

note

Shipping costs are entered manually. The POS does not calculate shipping rates automatically.

## Editing Line Items[​](#editing-line-items "Direct link to Editing Line Items")

### Quantity[​](#quantity "Direct link to Quantity")

Click the quantity field to edit it directly. Type a new number or use the spinner controls.

<!-- -->

### Product Name[​](#product-name "Direct link to Product Name")

For miscellaneous products and fees, you can edit the name directly by clicking on it.

### Price[​](#price "Direct link to Price")

Click the price field to change the unit price. This is useful for:

* Applying manual discounts
* Price matching
* Correcting pricing errors

The total updates automatically based on quantity × price.

### Three-Dot Menu[​](#three-dot-menu "Direct link to Three-Dot Menu")

Click the **⋮** (three dots) on any line item to access additional options:

<!-- -->

#### Edit Form[​](#edit-form "Direct link to Edit Form")

Opens a detailed edit form for the line item, allowing you to modify all fields.

#### Raw JSON View[​](#raw-json-view "Direct link to Raw JSON View")

Displays the raw JSON data for the line item. This is extremely helpful for:

* **Debugging** - See exactly what data is being sent to WooCommerce
* **Troubleshooting** - Identify issues with custom fields or meta data
* **Development** - Understand the data structure for integrations

### Remove Item[​](#remove-item "Direct link to Remove Item")

Click the red **×** button to remove an item from the cart.

## Variation Attributes[​](#variation-attributes "Direct link to Variation Attributes")

For variable products, the selected variation attributes display below the product name:

```
Hoodie

Colour: Green

Size: Large
```

These attributes are part of the line item data and are included in the order.

## Meta Data[​](#meta-data "Direct link to Meta Data")

If you've configured [Meta Data Keys](/pos/product-panel/.md#meta-data-keys) in the Product Panel settings, that data is automatically copied to the line item when the product is added to the cart.

You can view this meta data in the Raw JSON view.

## Splitting Line Items[​](#splitting-line-items "Direct link to Splitting Line Items")

If enabled in [Display Settings](/pos/cart/.md#display-settings), you can split a line item into multiple lines. This is useful when a customer wants to apply different discounts to portions of the same product.

## Tips[​](#tips "Direct link to Tips")

### Quick Price Adjustments[​](#quick-price-adjustments "Direct link to Quick Price Adjustments")

To quickly give a discount:

1. Click the price field
2. Enter the new price
3. Press Enter

### Keyboard Navigation[​](#keyboard-navigation "Direct link to Keyboard Navigation")

* **Tab** - Move between editable fields
* **Enter** - Confirm edit
* **Escape** - Cancel edit

### Batch Edits[​](#batch-edits "Direct link to Batch Edits")

For complex orders, consider using the three-dot menu to access the full edit form, which shows all fields at once.
