Skip to main content

DefaultOrderItemPriceCalculationStrategy

DefaultOrderItemPriceCalculationStrategy

The default OrderItemPriceCalculationStrategy, which simply passes through the price of the ProductVariant without performing any calculations

Signature
class DefaultOrderItemPriceCalculationStrategy implements OrderItemPriceCalculationStrategy {
calculateUnitPrice(ctx: RequestContext, productVariant: ProductVariant) => PriceCalculationResult | Promise<PriceCalculationResult>;
}

calculateUnitPrice