0

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 1

0

Refrence: Assign Attribute to only specific attribute set Magento 2

$eavSetup->addAttributeToGroup(
            \Magento\Catalog\Model\Product::ENTITY,
            'dealz',// attributeset
            'DealzInformation', // group
            'dealdate'//attributes
        );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.