1

I've successfully created a new field on the frontend with an extension_attribute by this documentation.

My problem is that where should I hook the extension attributes on the admin page?

The shipping method is set by Magento_Sales/order/create/scripts.js with the Adminorder.setShippingMethod mehod.

But this is a prototype file, I can not hook on it with mixin, since it has no return value.

How can I add/get the extension_attributes with my value?

0

I need to use the window.order in my javascript file instead of AdminOrder. It created from form.js.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.