{"title":"Cart menu styling reference","slug":"pos-cart-menu-styling-reference","url":"https://support.storeconnect.com/articles/pos-cart-menu-styling-reference","url_markdown":"https://support.storeconnect.com/articles/pos-cart-menu-styling-reference.md","subtitle":null,"summary":"Every part, attribute, and property for restyling the POS\u0026#39;s cart menu with CSS, the screen that opens over the cart with entries such as Add customer, Coupon code, and Place hold, grouped under section headings, with tested examples such as coloring the section headings, tinting one section, or coloring the fulfillment entries, and the list of what can\u0026#39;t be styled yet.","type":"Developer_Documentation","video_url":"","keywords":"pos cart menu css, manage cart menu css, cart_menu action group css, cart menu sections css, cart-menu-root, cart-menu-back, cart-menu-list, cart-menu-section, cart-menu-heading, cart-menu-heading-label, cart-menu-divider, cart-menu-entry, data-action, data-nested, data-section, --sc-cart-menu-gap, --sc-cart-menu-heading-color, --sc-cart-menu-divider-color, pos styling api, pos parts","last_modified":"2026-12-01T05:43:12+0000","body_markdown":"The cart menu is the screen that opens over the cart when operators tap the cart's menu button, with entries such as **Add customer**, **Coupon code**, and **Place hold**. The entries, the section headings that group them, and any actions your store adds come from the `cart_menu` action group (see [POS action groups](pos-action-groups)). You can change the space between the entries, the color of the section headings and the lines between sections, the fill of one section, the color of one kind of entry, etc. Follow the [POS styling API](pos-styling-api#rules) rules when you style the cart menu.\n\n## Where the cart menu appears\n\nThe cart menu appears over the cart when operators tap the cart's menu button. The cart menu contains these things:\n\n- The **Back** button at the top, which returns to the cart\n- The cart's title and pictures, and the **Empty** or **Cancel** button\n- The entries from the `cart_menu` action group: each standard entry, such as **Add customer** or **Place hold**, and each action your store adds\n- A section for each Group item in the `cart_menu` action group, with the section heading and the entries under it\n\nEach entry in the cart menu is a menu button, so it also carries the menu button part names and properties (see the [menu button styling reference](pos-menu-button-styling-reference)). The **Back** button is a button (see the [button styling reference](pos-button-styling-reference)).\n\n## Parts\n\n| Part | What it is | Available from |\n| --- | --- | --- |\n| `cart-menu-root` | The whole cart menu screen, from the **Back** button at the top to the last entry. | v22.0.19 |\n| `cart-menu-back` | The **Back** button at the top of the screen, which returns to the cart. It is a button, so style it with the button properties. | v22.0.19 |\n| `cart-menu-list` | The list of entries under the cart's title and pictures, with the sections and dividers. | v22.0.19 |\n| `cart-menu-section` | Each section: the heading and the entries under it. There is a section for each Group item in the menu, including a Group item inside a section. | v22.0.19 |\n| `cart-menu-heading` | The heading at the top of a section, with the line after the section's name. | v22.0.19 |\n| `cart-menu-heading-label` | The section's name in the heading: the Group item's **Display Name**. | v22.0.19 |\n| `cart-menu-divider` | The line between a section and the entries after it that are not in a section. A menu with no sections has no dividers. | v22.0.19 |\n| `cart-menu-entry` | Each entry from the `cart_menu` action group, standard or added by your store, in a section or not, including the fulfillment entries such as **Place hold**. It is a menu button, so style it with the menu button properties. | v22.0.19 |\n\nThe **Available from** column shows the first release that carries the name.\n\n## Attributes\n\nTo style one kind of entry or one section, narrow `cart-menu-entry` by `data-action`, and `cart-menu-section` by `data-nested` or `data-section`, inside `:where()`.\n\n| Attribute | Values | Default | Available from |\n| --- | --- | --- | --- |\n| `cart-menu-entry[data-action]` | `customer`, `notes`, `adjust-price`, `coupon`, `park`, `memo`, `assisted-by`, `save-and-exit`, `fulfillment`, `other` | `other` | v22.0.19 |\n| `cart-menu-section[data-nested]` | `true`, `false` | `false` | v22.0.19 |\n| `cart-menu-section[data-section]` | Set by your store | None | v22.0.19 |\n\n- `data-action` — which standard entry the entry is: the entry's action without `cart:menu:`, with `-` in place of `_`. For example, `cart:menu:adjust_price` is `adjust-price`. Every fulfillment entry is `fulfillment`, whatever the fulfillment type. An action your store adds is `other`.\n- `data-nested` — `true` on a section that comes from a Group item inside another section. The nested section appears at the same level as the others.\n- `data-section` — the **Identifier** of the section's child action group, exactly as your store set it in Salesforce, such as `cart_menu_pricing`. The value doesn't change when you rename or translate the heading. A section whose child group has no **Identifier** has no `data-section`, so fill in the **Identifier** to style that section alone. Give the child group an **Identifier** that names it for the menu, such as `cart_menu_pricing`. Some identifiers, such as `cart_menu` and `register_actions`, place a group on a POS screen, so a child group with one of those identifiers also appears on that screen. Quote the value: `[data-section='cart_menu_pricing']`.\n\n## Component properties\n\nSet these on `cart-menu-root`.\n\n| Property | What it sets | Default | Available from |\n| --- | --- | --- | --- |\n| `--sc-cart-menu-gap` | The space between the entries, in the list and in each section. | `4px` | v22.0.19 |\n| `--sc-cart-menu-heading-color` | The color of a section's heading. | `var(--sc-color-on-surface-variant)` | v22.0.19 |\n| `--sc-cart-menu-divider-color` | The color of the dividers and of the line in each section's heading. | `var(--sc-color-border-subtle)` | v22.0.19 |\n\n## Examples\n\nEach example is tested against the POS on every change.\n\n**\"Show the section headings and their lines in our brand color.\"**\n\n```css\n\n[part~='cart-menu-root'] {\n  --sc-cart-menu-heading-color: #0b5394;\n  --sc-cart-menu-divider-color: #0b5394;\n}\n```\n\n**\"Give the entries more room.\"**\n\n```css\n\n[part~='cart-menu-root'] {\n  --sc-cart-menu-gap: 8px;\n}\n```\n\n**\"Make the section names bold and not in capitals.\"**\n\n```css\n\n[part~='cart-menu-heading-label'] {\n  font-weight: 700;\n  text-transform: none;\n}\n```\n\n**\"Put the pricing section on a tinted panel.\"** The section's child group has the **Identifier** `cart_menu_pricing`:\n\n```css\n\n[part~='cart-menu-section']:where([data-section='cart_menu_pricing']) {\n  background-color: #eef4fb;\n  border-radius: 12px;\n}\n```\n\n**\"Show the fulfillment entries in our brand color.\"**\n\n```css\n\n[part~='cart-menu-entry']:where([data-action='fulfillment']) {\n  --sc-menu-button-color: #0b5394;\n}\n```\n\n**\"Indent a section that sits inside another.\"**\n\n```css\n\n[part~='cart-menu-section']:where([data-nested='true']) {\n  padding-left: 16px;\n}\n```\n\n**\"Show Park cart in red.\"**\n\n```css\n\n[part~='cart-menu-entry']:where([data-action='park']) {\n  --sc-menu-button-color: #b3261e;\n}\n```\n\n**\"Make the Back button our brand color.\"**\n\n```css\n\n[part~='cart-menu-back'] {\n  --sc-button-color: #0b5394;\n}\n```\n\n## What can't be styled yet\n\n- One action your store adds apart from another, because action items have no **Identifier**\n- One fulfillment entry apart from another, such as **Place hold** apart from **Arrange delivery**\n- The cart's title, the cart's pictures, and the **Empty** or **Cancel** button above the list\n- The line in a section's heading, apart from the line's color\n\n## Retired\n\nNone yet."}