Avoid ajax call when there are no product options