A merchant tasked you to add an input field for notes to the Customer Account Information backend page. Which three actions do you specify in a module's Data Patch to add a customer notes attribute? (Choose three.)
A) $cache->clean(['eav', 'db_ddl']) ;
B) $customerSetup->addAttribute('customer', 'notes', $options) ;
C) $customerSetup->getConnection() ->addColumn('customer_entity', 'notes', $columnSpecs) ;
D) $notesAttribute->setData('used_in_forms', ['adminhtml_customer']) ;
E) $customerSetup->addAttributeToSet('customer', $attributeSetIdCustomer, $groupId, 'notes') ;
Correct Answer:
Verified
Q2: How can you access the select query
Q3: What is a valid use case for
Q4: You have to install a new module
Q5: A third-party module uses a layout update
Q6: You are adding a child node to
Q7: Magento 2's architecture uses code to bootstrap
Q8: How does Magento store customer address attribute
Q9: You are developing a module and need
Q10: The module MyCompany_MyModule will add a new
Q11: How do you pass an array ['one',
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents