Skip to main content
Version: 3.x

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

Whether it is in sale or not.

VariantPricingInfo.discount ● TaxedMoney object

The discount amount if in sale (null otherwise).

VariantPricingInfo.discountLocalCurrency ● TaxedMoney deprecated object

DEPRECATED

This field will be removed in Saleor 4.0. Always returns null.

The discount amount in the local currency.

VariantPricingInfo.price ● TaxedMoney object

The price, with any discount subtracted.

VariantPricingInfo.priceUndiscounted ● TaxedMoney object

The price without any discount.

VariantPricingInfo.priceLocalCurrency ● TaxedMoney deprecated object

DEPRECATED

This field will be removed in Saleor 4.0. Always returns null.

The discounted price in the local currency.

Member of

ProductVariant object


Was this page helpful?