Bug fix: cart.total not being written to