Skip to content
Log in

Cart memo styling reference

On this page

The cart memo is the bar at the top of the cart for an open order, where operators see and edit the order’s memo, such as a table number. Your store sets the memo’s name in the pos.memo.label store variable, such as Memo, Table, or Room (see configure open orders). You can change the fill and color of the cart memo bar, the memo, the Edit button, and the time the order was opened. Follow the POS styling API rules when you style the cart memo.

Where the cart memo appears

The cart memo appears in the cart, above the items, when the cart holds an open order. A cart that is not an open order has no cart memo.

Parts

Part What it is Available from
cart-memo-root The whole strip at the top of an open order’s cart, with the fill and padding. v22.0.19
cart-memo-label The memo, after the name the store gives it, such as Memo: Table 4, or that the order has none, such as No memo. It’s cut short with an ellipsis when it runs long. v22.0.19
cart-memo-edit The pill of the Edit button, beside the memo, which opens the screen to change the memo. v22.0.19
cart-memo-timestamp When the order was opened, at the end of the strip, such as Opened 9:30 AM. v22.0.19

The Available from column shows the first release that carries the name.

Component properties

None yet. Style the parts directly.

Examples

Each example is tested against the POS on every change.

“Give the memo strip our brand color.”

```css

[part~=’cart-memo-root’] { background-color: #0b5394; color: #ffffff; }

[part~=’cart-memo-timestamp’] { color: #d6e4f5; } ```

The opened time has a separate muted color and doesn’t take the strip’s white, so set a light color on cart-memo-timestamp as well.

“Make the memo darker.”

```css

[part~=’cart-memo-label’] { color: #041225; } ```

“Give the Edit button our brand color.”

```css

part~=’cart-memo-edit’ { background-color: #0b5394; color: #ffffff; } ```

“Keep the Edit button solid while it’s hovered.”

```css

opacity: 1; } ```

“Make the opened time stand out.”

```css

[part~=’cart-memo-timestamp’] { color: #7a1f1f; } ```

What can’t be styled yet

  • A strip with no memo apart from one with a memo
  • The whole tappable area of the Edit button, apart from the pill
  • Keyboard focus on the Edit button: focus lands on the button around the pill, so :focus-visible on cart-memo-edit matches nothing
  • The Edit button while it’s hovered, apart from the other states: an opacity you set on cart-memo-edit also replaces the fade on the button while it’s hovered

Retired

None yet.

Was this article helpful?

Was this article helpful?