Type your cart total, the percentage and the cap.
saving = the smaller of (cart total × percentage) and the cap