add related products ids method to avoid errors