VariantPricingInfo Object
Represents availability of a variant in the storefront.
type VariantPricingInfo {
onSale: Boolean
discount: TaxedMoney
discountPrior: TaxedMoney
discountLocalCurrency: TaxedMoney @deprecated
price: TaxedMoney
priceUndiscounted: TaxedMoney
pricePrior: TaxedMoney
priceLocalCurrency: TaxedMoney @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.21price ● TaxedMoney
The price, with any discount subtracted.
priceUndiscounted ● TaxedMoney
The price without any discount.
pricePrior ● TaxedMoney
The price prior to discount.
Added in Saleor 3.21Show deprecated
Member Of
ProductVariant object