I have an attributeset named dealz and attribute set group with name DealzInformation.Also I have some customproductattributes like dealdate,dealqty,dealprize...etc. Then how to show this group with customattribute for only this attributeset.
1 Answer
Refrence: Assign Attribute to only specific attribute set Magento 2
$eavSetup->addAttributeToGroup(
\Magento\Catalog\Model\Product::ENTITY,
'dealz',// attributeset
'DealzInformation', // group
'dealdate'//attributes
);