implemented get_all for cart