I want to generate the name of product based by sku.
For example : when i enter
10014000 for the sku, the name of product will be
Bovin phenelop 16/18 blanc 100.
This information is coming from segmenting the sku and doing some request to some tables to recuperate this name, but i can't find any phtml file for adding product, so i used the event and observer.
But, the problem is, i still need to fill the product name input because it's required field, so how to make the product name to not required and is it safe to do that? Or instead, is there a best solution to use ajax? And when creating a product, if i enter sku, the name will be generated in same time before saving the product?
Please help me find a way to put some ajax and which file is a form to adding new product?