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
ProductPricingInfo.onSale ● Boolean scalar miscellaneous
Whether it is in sale or not.
ProductPricingInfo.discount ● TaxedMoney object miscellaneous
The discount amount if in sale (null otherwise).
ProductPricingInfo.discountPrior ● TaxedMoney object miscellaneous
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.21ProductPricingInfo.discountLocalCurrency ● TaxedMoney deprecated object miscellaneous
DEPRECATED
Always returns null.
The discount amount in the local currency.
ProductPricingInfo.displayGrossPrices ● Boolean! non-null scalar miscellaneous
Determines whether displayed prices should include taxes.
ProductPricingInfo.priceRange ● TaxedMoneyRange object miscellaneous
The discounted price range of the product variants.
ProductPricingInfo.priceRangeUndiscounted ● TaxedMoneyRange object miscellaneous
The undiscounted price range of the product variants.
ProductPricingInfo.priceRangePrior ● TaxedMoneyRange object miscellaneous
The prior price range of the product variants.
Added in Saleor 3.21ProductPricingInfo.priceRangeLocalCurrency ● TaxedMoneyRange deprecated object miscellaneous
DEPRECATED
Always returns null.
The discounted price range of the product variants in the local currency.
Member Of
Product object ● ProductChannelListing object