Magento 2 Certification Questions List | You have already implemented custom module, but now you need to add new order attribute, to save the custom data

You have already implemented custom module, but now you need to add new order attribute, to save the custom data

Answer:
  • use UpgradeData.php and MagentoSalesSetupSalesSetup->addAttribute(typeId, code, attrConfig)
Prepear for Magento 2 certefication with our interactive quiz