Skip to main content
Version: 3.x

ProductPricingInfo

Represents availability of a product in the storefront.

type ProductPricingInfo {
onSale: Boolean
discount: TaxedMoney
discountLocalCurrency: TaxedMoney
priceRange: TaxedMoneyRange
priceRangeUndiscounted: TaxedMoneyRange
priceRangeLocalCurrency: TaxedMoneyRange
displayGrossPrices: Boolean!
}

Fields

ProductPricingInfo.onSale ● Boolean scalar

Whether it is in sale or not.

ProductPricingInfo.discount ● TaxedMoney object

The discount amount if in sale (null otherwise).

ProductPricingInfo.discountLocalCurrency ● TaxedMoney object

The discount amount in the local currency.

ProductPricingInfo.priceRange ● TaxedMoneyRange object

The discounted price range of the product variants.

ProductPricingInfo.priceRangeUndiscounted ● TaxedMoneyRange object

The undiscounted price range of the product variants.

ProductPricingInfo.priceRangeLocalCurrency ● TaxedMoneyRange object

The discounted price range of the product variants in the local currency.

ProductPricingInfo.displayGrossPrices ● Boolean! non-null scalar

Determines whether this product's price displayed in a storefront should include taxes.

Added in Saleor 3.9.

Note: this API is currently in Feature Preview and can be subject to changes at later point.

Member of

Product object ● ProductChannelListing object