Skip to main content

ProductPricingInfo Object

Represents availability of a product in the storefront.

type ProductPricingInfo {
onSale: Boolean
discount: TaxedMoney
discountPrior: TaxedMoney
discountLocalCurrency: TaxedMoney @deprecated
displayGrossPrices: Boolean!
priceRange: TaxedMoneyRange
priceRangeUndiscounted: TaxedMoneyRange
priceRangePrior: TaxedMoneyRange
priceRangeLocalCurrency: TaxedMoneyRange @deprecated
}

Fields​

onSale ● Boolean​

Whether it is in sale or not.

discount ● TaxedMoney​

The discount amount if in sale (null otherwise).

discountPrior ● TaxedMoney​

The discount amount compared to prior price. Null if product is not on sale or prior price was not provided in VariantChannelListing

Added in Saleor 3.21

displayGrossPrices ● Boolean!​

Determines whether displayed prices should include taxes.

priceRange ● TaxedMoneyRange​

The discounted price range of the product variants.

priceRangeUndiscounted ● TaxedMoneyRange​

The undiscounted price range of the product variants.

priceRangePrior ● TaxedMoneyRange​

The prior price range of the product variants.

Added in Saleor 3.21
Show deprecatedHide deprecated

discountLocalCurrency ● TaxedMoney​

DEPRECATED

Always returns null.

The discount amount in the local currency.

priceRangeLocalCurrency ● TaxedMoneyRange​

DEPRECATED

Always returns null.

The discounted price range of the product variants in the local currency.

Member Of​

Product object ● ProductChannelListing object