Contents

displayPrice

The localized string representation of the product price, suitable for display.

Declaration

let displayPrice: String

Discussion

Use this string to display the price, formatted for the locale. The storefront that the user’s device is connected to determines the locale. For more information, see Storefront.

To perform arithmetic calculations with the price, use the price property instead.

See Also

Displaying a product description and price