added product variant add function on the index page.