@wocart/storefront / index / getQuantityTierViews
Function: getQuantityTierViews()
getQuantityTierViews(
pricing,unitPrice):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, "tiers">
unitPrice
number