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.21displayGrossPrices ● 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.21Show deprecated
Member Of
Product object ● ProductChannelListing object