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.
Asked
Active
Viewed 18 times
1 Answers
0
Refrence: Assign Attribute to only specific attribute set Magento 2
$eavSetup->addAttributeToGroup(
\Magento\Catalog\Model\Product::ENTITY,
'dealz',// attributeset
'DealzInformation', // group
'dealdate'//attributes
);
Alshihab
- 161
- 9