generating the scaffold for the product resource