Change if to unless for readability
Checkout summary now uses locals