سؤال

I created a extension attribute for my customer addresses using this tutorial.

How can I copy them to the order addresses when I finish the checkout and display them in the order?

هل كانت مفيدة؟

المحلول

You have to add an event to your module. In a event is transport the values from object to object. Example Quote Address to Order Address

Take a look at this example module to add a custom field to the billing address in the checkout.

https://github.com/experius/Magento-2-Module-Experius-ExtraCheckoutAddressFields

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى magento.stackexchange
scroll top