VariantPricingInfo
Represents availability of a variant in the storefront.
type VariantPricingInfo {
onSale: Boolean
discount: TaxedMoney
discountLocalCurrency: TaxedMoney @deprecated
price: TaxedMoney
priceUndiscounted: TaxedMoney
priceLocalCurrency: TaxedMoney @deprecated
}
Fields
VariantPricingInfo.onSale
● Boolean
scalar miscellaneous
Whether it is in sale or not.
VariantPricingInfo.discount
● TaxedMoney
object miscellaneous
The discount amount if in sale (null otherwise).
VariantPricingInfo.discountLocalCurrency
● TaxedMoney
deprecated object miscellaneous
DEPRECATEDThis field will be removed in Saleor 4.0. Always returns
null
.The discount amount in the local currency.
VariantPricingInfo.price
● TaxedMoney
object miscellaneous
The price, with any discount subtracted.
VariantPricingInfo.priceUndiscounted
● TaxedMoney
object miscellaneous
The price without any discount.
VariantPricingInfo.priceLocalCurrency
● TaxedMoney
deprecated object miscellaneous
DEPRECATEDThis field will be removed in Saleor 4.0. Always returns
null
.The discounted price in the local currency.
Member Of
ProductVariant
object