Skip to content
Astera Technology

Specify whether a wholesale price tier counts cartons or pieces

Carry the tier unit and all-unit pricing rule into the order calculation.

Declare the quantity basis of the tier

Synthetic offer: one carton has six pieces. All pieces cost HKD 10 each below ten pieces, or HKD 8 each at ten or more pieces. The tier counts pieces and applies to the whole line, not just pieces above ten. Two cartons mean twelve pieces. Prices and the tier are invented inputs, with no tax or delivery charge included.

Synthetic wholesale-tier requirements
ConstraintRequired recordExample decision rule
Unit conversionCarton revision / six pieces2 cartons → 12 pieces
Tier basisPiece threshold 10Do not compare carton count 2 with 10
Price applicationAll units on line12 × 8 = HKD 96
Download editable CSV ↓

Test the tier boundary and converted quantity

Filled synthetic acceptance cases
CaseInputExpected decision
9 piecesBelow 109 × 10 = HKD 90
2 cartons12 pieces12 × 8 = HKD 96
Download editable CSV ↓
  1. Read ordered unit
  2. Convert with evidenced pack map
  3. Select tier in pieces
  4. Apply price to whole line

An unconfirmed pack size leaves the tier unresolved; do not assume the latest carton conversion applies to every offer.

Exactly ten pieces are ordered. What is the example line amount?

Show the worked answer

HKD 80: ten meets the inclusive tier and all ten use HKD 8.

Add an explicit all-unit versus marginal-pricing field to the requirement; a threshold alone does not define the amount.

Related resources