Skip to main content

VariantPricingInfo

Represents availability of a variant in the storefront.

type VariantPricingInfo {
onSale: Boolean!
discount: TaxedMoney!
discountLocalCurrency: TaxedMoney!
price: TaxedMoney!
priceUndiscounted: TaxedMoney!
priceLocalCurrency: TaxedMoney!
priceUndiscountedLocalCurrency: TaxedMoney!
}

Fields

VariantPricingInfo.onSale ● Boolean! non-null scalar

Whether it is in sale or not.

VariantPricingInfo.discount ● TaxedMoney! non-null object

The discount amount if in sale (null otherwise).

VariantPricingInfo.discountLocalCurrency ● TaxedMoney! non-null object

The discount amount in the local currency.

VariantPricingInfo.price ● TaxedMoney! non-null object

The price, with any discount subtracted.

VariantPricingInfo.priceUndiscounted ● TaxedMoney! non-null object

The price without any discount.

VariantPricingInfo.priceLocalCurrency ● TaxedMoney! non-null object

The discounted price in the local currency.

VariantPricingInfo.priceUndiscountedLocalCurrency ● TaxedMoney! non-null object

The price without any discounts in the local currency.

Member Of

ProductVariant object

Was this page helpful?