Implementation add material in details page.