Magento Version: 2.1.9
I want to set auto-generated SKU while adding a new product from the backend not programmatically.
so please suggest me how can i do on magento 2 ?
You can configure the pattern used (this is an OOTB feature).
When you type the product name the SKU (and the meta fields) are filled too.
You can configure that behavior on Stores -> Configuration -> Catalog:
Thanks for reply,
And I already know above configuration regarding auto set value into SKU field based on product name on a new product page.
But instead of set default SKU value based on the name on the new product page, we need to set auto-generate value, not product name value that writes into the name field.
so please suggest me how can I do it on Magento 2 backend product new product page?
And which will be rule that will set the sku when you enter the new product?
Yes, In add product page, if you enter name than that value also set into sku field but as per my client requirement, i need to set custom autogenerated number into sku field instead of product name.
is it possible in Magento 2?
You can't do that with Magento OOTB but I can imagine 2 possible approaches:
I guess I will follow the number 2 if I have to do that customization.