added ability to checkout with a button and return total without refreshing page