Przejdź do głównej zawartości

VariantPrice

Price of a single variant for the current visitor — a signed-in customer gets their own price (customer group price included), the price the cart and checkout charge.

type VariantPrice {
compareAtPrice: Money
price: Money!
variantId: ID!
}

Fields​

VariantPrice.compareAtPrice ● Money object​

Strike-through compare-at price; null when the variant is not on sale.

VariantPrice.price ● Money! non-null object​

Price the visitor pays (shop base currency) — a customer group price for a member of a group with its own prices.

VariantPrice.variantId ● ID! non-null scalar​

Variant the price belongs to.

Returned By​

variantPrices query