[**@wocart/storefront v3.1.0**](../../README)

***

[@wocart/storefront](../../README) / [index](../README) / getQuantityTierViews

# Function: getQuantityTierViews()

> **getQuantityTierViews**(`pricing`, `unitPrice`): [`QuantityTierView`](../interfaces/QuantityTierView)[]

The tiers of a product's quantity pricing as tiles show them: price, per-unit
price and saving against the product's unit price. Presentation only — the
total for a quantity is the server's cart quote.

## Parameters

### pricing

`Pick`\<[`QuantityPricing`](../type-aliases/QuantityPricing), `"tiers"`\>

### unitPrice

`number`

## Returns

[`QuantityTierView`](../interfaces/QuantityTierView)[]
