Make sure cart items are set. Fixes #872
Improved formatting of receipt. #872