Hi guys, thanks for the reply, but it is necessary for me to do that this way.
This is not working, i need to all custom fields to appear in wp dashboard in custom post type product when user enters it so he deosnt need to click add new row and…
So basically i need to create all my layouts and called them using code above in my functions.php file?