NoteActions
●cart · /react·type
Cart-note mutation method added to when
CartCapabilities.notes is true. Replaces the entire cart note with a
new string; pass an empty string to clear.
Properties
PROPTYPEDESCRIPTION
updateNote
unknown
Example
const actions = useCartActions<{ notes: true } & CartCapabilities>();
await actions.updateNote('Please gift wrap this order.');Related
CartDevtools CartFormProps CartProviderProps AppCartConfig BaseCartActions BuyerIdentityActions CartActions CartAttributeActions
LinePredictor
A function that optimistically projects a single cart line given a pending mutation. Called once per addline mutation by the projection engine; return a partial
PendingMutation
A single mutation in flight through the optimistic queue — from when it is first predicted through server confirmation or failure. status and error are the fiel