checking quantitiy available when checking out