Improve the product code changing when input product code