{"title":"POS product price styling reference","slug":"pos-product-price-styling-reference","url":"https://support.storeconnect.com/articles/pos-product-price-styling-reference","url_markdown":"https://support.storeconnect.com/articles/pos-product-price-styling-reference.md","subtitle":null,"summary":"Every part, attribute, and component property for restyling the POS\u0026#39;s product prices with CSS, on product cards, in product lists, and on product screens, with tested examples such as showing the price before a discount without its strike, and the list of what has no part yet.","type":"Developer_Documentation","video_url":"","keywords":"pos product price css, product-price-root, product-price-amount, product-price-original, product-price-caption, --sc-product-price-original-color, --sc-product-price-original-text-decoration, data-size, sale price strikethrough, pos styling api, pos parts","last_modified":"2026-11-05T05:13:17+0000","body_markdown":"A product price is a product's price: the amount to pay, the price before a discount beside\nit when there is one, struck through, and a short note under them, such as Variable pricing.\nFollow the [POS styling API](pos-styling-api#rules) rules when styling it.\n\n## Where it appears\n\nThe prices on product cards, in product lists and on variants, at the top of a product's\nscreen and a bundle's screen, on a bundle's components, and on the running total of each\ngroup on a bundle's screen. The prices in the cart are drawn differently, and styles written\nagainst these parts do not reach them.\n\nA price inside a card takes the spacing between the lines and the note's size from the\ncard's width. Most cards leave the price out at their two smallest sizes. A price a card\nshows as one of the card's fields, as a product card does when the layout picks the fields,\nis drawn as a faint placeholder bar at the second smallest size instead.\n\n## Parts\n\n| Part | What it is | Available from |\n| --- | --- | --- |\n| `product-price-root` | The whole price: the amount, the original price beside it when there is a discount, and the caption under them. | v22.0.7 |\n| `product-price-amount` | The price to pay. | v22.0.7 |\n| `product-price-original` | The price before the discount, struck through, when there is one. | v22.0.7 |\n| `product-price-caption` | A short note under the price, with an icon, such as Variable pricing, when there is one. | v22.0.7 |\n\nThe **Available from** column shows the first release that carries the name.\n\n## Attributes\n\nNarrow `product-price-root` by this, inside `:where()`, to style one size of price.\n\n| Attribute | Values | Default | Available from |\n| --- | --- | --- | --- |\n| `data-size` | `small`, `base`, `large`, `xlarge` | `base` | v22.0.7 |\n\n## Component properties\n\nSet these on `product-price-root` to change every price.\n\n| Property | What it sets | Default | Available from |\n| --- | --- | --- | --- |\n| `--sc-product-price-original-color` | The original price's text color. | none | v22.0.7 |\n| `--sc-product-price-original-text-decoration` | How the original price is struck through, such as none to show it plain. | line-through | v22.0.7 |\n\n## Examples\n\nEach example is tested against the POS on every change.\n\n**\"Make the prices bolder.\"**\n\n```css\n\n[part~='product-price-amount'] {\n  font-weight: 700;\n}\n```\n\n**\"Show the price before a discount in our brand color.\"**\n\n```css\n\n[part~='product-price-root'] {\n  --sc-product-price-original-color: #0b5394;\n}\n```\n\n**\"Show the price before a discount plain on the biggest prices, and leave the rest struck\nthrough.\"** The prices at the top of a product's or a bundle's screen, and the total of each\ngroup on a bundle's screen, are the extra-large size, so narrow by it:\n\n```css\n\n[part~='product-price-root']:where([data-size='xlarge']) {\n  --sc-product-price-original-text-decoration: none;\n}\n```\n\n**\"Set the notes under prices in italics.\"**\n\n```css\n\n[part~='product-price-caption'] {\n  font-style: italic;\n}\n```\n\n## What can't be styled yet\n\n- The prices on one screen on their own, such as only those on product cards: no screen\n  gives a price a name yet\n- The icon in the caption on its own\n- The placeholder bar drawn in place of a price a card shows as one of the card's fields\n\n## Retired\n\nNone yet."}