I have created a custom attribute set "Fabric". So now there are 2 attribute set's exists Default, and Fabric. When i went to create a configurable, there is option to select attribute set either Default or Fabric.
I want to write a condition which allow only simple product with Fabric means while creating configurable product only 1 option needs be there which is Default and while creating simple product there needs to 2 attribute set in dropdown Fabric and Default.
How can we achieve it?