Added checkout and cart emptying