add product validation function before performing deployment