Shipping cost with tiered pricing

0
Remix

An order names a country and the products and quantities in it, and a pricing table gives the shipping cost of each product for each country.

  1. Compute the order's total shipping cost when every product has a fixed price per unit.
  2. Prices become tiered: units in different quantity ranges cost different amounts.
  3. Some tiers become a flat fee covering the first units instead of a per-unit price.

Get the tier boundaries right.

StripeTechnical phone screenLast asked Jan 2026
No answer yet. Write the first one; the best answer gets endorsed.