Magento 2 Certification Questions List | Add custom field to the shipping address form on checkout

A customer asked you to add the VAT number field to the shipping address form on checkout. What steps should you perform to achieve this? (choose 3)

Answer:
  • Add your field to JS layout via plugin MagentoCheckoutBlockCheckoutLayoutProcessor::process
  • Add a JS mixin for Magento_Checkout/js/action/set-shipping-information to modify data submission
  • Create extension attribute and add logic for process you field
Prepear for Magento 2 certefication with our interactive quiz