ProductPricingInfo Object
Represents availability of a product in the storefront.
type ProductPricingInfo {
onSale: Boolean
discount: TaxedMoney
discountPrior: TaxedMoney
discountLocalCurrency: TaxedMoney @deprecated(reason: "Always returns `null`.")
displayGrossPrices: Boolean!
priceRange: TaxedMoneyRange
priceRangeUndiscounted: TaxedMoneyRange
priceRangePrior: TaxedMoneyRange
priceRangeLocalCurrency: TaxedMoneyRange @deprecated(reason: "Always returns `null`.")
}
Fields
onSale
onSale · Boolean
Whether it is in sale or not.
discount
discount · TaxedMoney
The discount amount if in sale (null otherwise).
discountPrior
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.21discountLocalCurrency
discountLocalCurrency · TaxedMoney
The discount amount in the local currency.
displayGrossPrices
displayGrossPrices · Boolean!
Determines whether displayed prices should include taxes.
priceRange
priceRange · TaxedMoneyRange
The discounted price range of the product variants.
priceRangeUndiscounted
priceRangeUndiscounted · TaxedMoneyRange
The undiscounted price range of the product variants.
priceRangePrior
priceRangePrior · TaxedMoneyRange
The prior price range of the product variants.
Added in Saleor 3.21priceRangeLocalCurrency
priceRangeLocalCurrency · TaxedMoneyRange
The discounted price range of the product variants in the local currency.
Used by
Schema: Saleor 3.23.43. Download SDL.