Adjusted cart checkout for multiple quantities. Todo: use date ranges without crashing the code