---
title: "POS product price styling reference"
source: https://support.storeconnect.com/articles/pos-product-price-styling-reference
type: article
format: markdown
site: StoreConnect Support — product and developer documentation for StoreConnect
site_index: https://storeconnect.com/llms.txt
docs_index: https://support.storeconnect.com/llms.txt
note: Append .md to any page or article URL on this site to get its Markdown form.
---
# POS product price styling reference

A product price is a product's price: the amount to pay, the price before a discount beside
it when there is one, struck through, and a short note under them, such as Variable pricing.
Follow the [POS styling API](pos-styling-api#rules) rules when styling it.

## Where it appears

The prices on product cards, in product lists and on variants, at the top of a product's
screen and a bundle's screen, on a bundle's components, and on the running total of each
group on a bundle's screen. The prices in the cart are drawn differently, and styles written
against these parts do not reach them.

A price inside a card takes the spacing between the lines and the note's size from the
card's width. Most cards leave the price out at their two smallest sizes. A price a card
shows as one of the card's fields, as a product card does when the layout picks the fields,
is drawn as a faint placeholder bar at the second smallest size instead.

## Parts

| Part | What it is | Available from |
| --- | --- | --- |
| `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 |
| `product-price-amount` | The price to pay. | v22.0.7 |
| `product-price-original` | The price before the discount, struck through, when there is one. | v22.0.7 |
| `product-price-caption` | A short note under the price, with an icon, such as Variable pricing, when there is one. | v22.0.7 |

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

## Attributes

Narrow `product-price-root` by this, inside `:where()`, to style one size of price.

| Attribute | Values | Default | Available from |
| --- | --- | --- | --- |
| `data-size` | `small`, `base`, `large`, `xlarge` | `base` | v22.0.7 |

## Component properties

Set these on `product-price-root` to change every price.

| Property | What it sets | Default | Available from |
| --- | --- | --- | --- |
| `--sc-product-price-original-color` | The original price's text color. | none | v22.0.7 |
| `--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 |

## Examples

Each example is tested against the POS on every change.

**"Make the prices bolder."**

```css

[part~='product-price-amount'] {
  font-weight: 700;
}
```

**"Show the price before a discount in our brand color."**

```css

[part~='product-price-root'] {
  --sc-product-price-original-color: #0b5394;
}
```

**"Show the price before a discount plain on the biggest prices, and leave the rest struck
through."** The prices at the top of a product's or a bundle's screen, and the total of each
group on a bundle's screen, are the extra-large size, so narrow by it:

```css

[part~='product-price-root']:where([data-size='xlarge']) {
  --sc-product-price-original-text-decoration: none;
}
```

**"Set the notes under prices in italics."**

```css

[part~='product-price-caption'] {
  font-style: italic;
}
```

## What can't be styled yet

- The prices on one screen on their own, such as only those on product cards: no screen
  gives a price a name yet
- The icon in the caption on its own
- The placeholder bar drawn in place of a price a card shows as one of the card's fields

## Retired

None yet.

---

## Follow StoreConnect

- [Email Newsletter](https://storeconnect.com/c/lp-newsletter)
- [LinkedIn Newsletter](https://www.linkedin.com/build-relation/newsletter-follow?entityUrn=7444956928444862464)
- [YouTube](https://www.youtube.com/channel/UCngKdP2x8l1wcbAKW3tvU8g)
- [LinkedIn](https://www.linkedin.com/company/storeconnect)
- [X / Twitter](https://x.com/storeconnecthq)

## Popular Links

- [Partners](https://storeconnect.com/partners)
- [Become a Partner](https://storeconnect.com/become-a-partner)
- [News](https://storeconnect.com/articles/news)
- [Events](https://storeconnect.com/articles/events)
- [Feature Comparison](https://storeconnect.com/how-we-compare)
- [Download a free trial](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMkeKUAT)
- [Book a Demo](https://storeconnect.com/contact)

## Documentation

- [Help documentation](https://support.storeconnect.com/help-documentation)
- [AI agents](https://support.storeconnect.com/ai)
- [Videos & tutorials](https://support.storeconnect.com/videos-tutorials)
- [Developer reference](https://support.storeconnect.com/developer-reference)
- [Release notes](https://support.storeconnect.com/release-notes)
- [Troubleshooting](https://support.storeconnect.com/troubleshooting)
- [Trust Center](https://trust.getstoreconnect.com/)
- [Status Page](https://status.storeconnect.com/)

## Contact

- info@getstoreconnect.com
- US +1 415 745 3230
- AUS +61 2 8365 2308

100 S Ashley Dr, Suite 600-2461
Tampa FL 33602-600 USA

Level 22, Sydney Place
180 George Street
Sydney, NSW, 2000, AUS

## Machine-readable

- [Site index for agents](https://storeconnect.com/llms.txt): curated map of the StoreConnect site in llms.txt format
- [Documentation index for agents](https://support.storeconnect.com/llms.txt): full technical and product documentation map

Every page and article on this site has a Markdown rendering: append `.md` to its URL.

Continue in Markdown: [Help documentation](https://support.storeconnect.com/help-documentation.md) · [Developer reference](https://support.storeconnect.com/developer-reference.md) · [Videos & tutorials](https://support.storeconnect.com/videos-tutorials.md) · [Release notes](https://support.storeconnect.com/release-notes.md)

---

StoreConnect Support — https://support.storeconnect.com/articles/pos-product-price-styling-reference