parse product id