Skip to content

Attribute fields — manage POS cart attributes with a metaobject

Shop metafield lists pos_cart_attr.keys and pos_cart_attr.item_keys are the deprecated setup, and they still work. The steps are on Shop metafields.

Each POS cart attribute entry is one field on the POS form. The cart tile and the line-item action read these entries from Shopify admin. No app redeploy is needed after you add or edit an entry. A key that exists only in a shop metafield list is a plain text field. An entry whose Attribute name matches that key replaces the text field with the entry’s label and input type.

Install on Shopify App Store

$4/month · 7-day free trial. Opens the listing so you can install on your store.

In Shopify admin, go to Content → Metaobjects → POS cart attribute.

The definition is created when the app is installed. If you do not see it, open the app from Shopify Admin → Apps and accept the permission to view metaobjects, then reload admin.

Choose Add entry. Each entry has four fields:

Field What staff see Example
Display name The label on the POS input Delivery date
Attribute name The key stored on the cart or the line item, and on the order DeliveryDate
Location cart for the smart-grid tile, or cart_item for the line-item action cart
Input type Which control POS renders date

The display name is the label only. POS saves the value under the attribute name. A date labeled Delivery date with attribute name DeliveryDate is stored as DeliveryDate = 2026-11-18.

POS cart attribute entry for Delivery date, location cart, input type date
One entry: display name, attribute name, location, and input type.

Every saved value is text, including dates, numbers, and switches.

Input type POS control Example stored value
text Text field Handled by Alex
number Number field 12.5
email Email field alex@example.com
date Date field 2026-11-18
time Time field 14:30:00
boolean Switch true or false

An unknown input type renders as a text field. A switch that is off is stored as the text false.

cart entries appear together on the Cart Attribute tile. cart_item entries appear together on Update cart item attribute. A field does not show on both screens.

POS cart attribute entries for text, number, email, date, time, and boolean
Text, number, email, date, and time are cart fields. Gift wrap is a line-item switch.
Cart Attribute form with delivery date, staff note, guest count, receipt email, and pickup time
The cart tile lists every cart field. Enter the values, then tap Save.
Line-item form with a Gift wrap switch turned on
The line-item form. Gift wrap is a switch. Tap Save to store true or false on that product.

If DeliveryDate is also a row in pos_cart_attr.keys, the cart form shows one field, not two. The metaobject sets the label and the input type. The attribute name stays DeliveryDate, so a value saved earlier still fills that field.

A cart_item entry does not change a cart metafield key of the same name. Those are different places on the order.

Quit and reopen the POS app, then open the tile or the line item. Configured fields are on the form immediately. Save writes them. Add attribute is for a one-off key, and that key is always plain text.

Cart showing GiftWrap true on the line item, and DeliveryDate, StaffNote, GuestCount, ReceiptEmail, and PickupTime in other details
Saved cart values stay as text under the attribute name, not the display name.

A field cannot be required. Checkout does not open this form, so an empty field does not block the sale.