Fix bug for product addition.