In order to set the attribute to all the attributes sets, how will the developer change the code to add the attribute?
An Adobe Commerce developer wants to add a custom product attribute to the website which will sync to their ERP.
The developer has created a data patch and added the following code to add the attribute:
The attribute is created successfully and it is listed in the attribute grid. But on the website, there are multiple attribute sets and the developer wants the newly created attribute to be visible in all the attribute sets.
In order to set the attribute to all the attributes sets, how will the developer change the code to add the attribute?
A . Add a property ‘group’ => ‘General’ in the add Attribute method.
B . Add a property attribute. group’ => ‘general’ in the add Attribute method.
C . Add a properly ‘attribute. set’ -> ‘all’ in the add Attribute method.
Answer: A
Latest AD0-E709 Dumps Valid Version with 135 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund