I am looking to generate Custom SKU's for Simple products in configurable products in Magento 2.2.2.
I know we can edit after we create configurations in admin. But I want to slightly change the way SKU is automatically generated.
Right now, it generates 'MAIN_PRODUCT_SKU-attribute_value_name'. But I want to change it as 'attribute_value_name-MAIN_PRODUCT_SKU'.
I dont know the process behind SKU generation and what files are involved.
Any help would be appreciated.
Thanks