Fixed getProductId method to use status.