Skip to main content
Version: 3.x

VariantPricingInfo

Represents availability of a variant in the storefront.

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

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 object

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 object

The discounted price in the local currency.

Member of

ProductVariant object