done cart add functionality