quick implementation of checkout

breaks when buying x + n items totals less than x buying items