Added code for check out in menu.