Page tree
Skip to end of metadata
Go to start of metadata


The purpose of Scaled Price Service is to calculate correct price, if there is a scaled price available. This is determined by attributes:

  • customerGroup (optional)
  • minQuantity *
  • startDate (optional)
  • endDate (optional)
  • price *
  • isInclVat * 
  • priceGross (optional)
  • priceNet (optional)

API: ScaledPriceServiceInterface


public function calculateScaledPrice($lineID, PriceRequest $priceRequest);
This method will always return matching scaled price PriceLineAmounts or 
return default from priceRequest

Examples in projects

Scaled prices for quantity only

Scaled prices for user groups

Scaled prices for user groups and quantity

  • No labels