Added the product code to the local save function.