added empty cart checker