add cart calculate and toggle feature