0

I am working on a module to add two custom attributes to the shipping address during checkout. The fields are there but the name of the input is not right. It's this type:

name="my_attribute" 

instead of

name="custom_attributes[my_attribute]"

In other words, the attribute is not correctly placed inside the javascript object. Any ideas?

1 Answer 1

0

It is related to Ui component configuration customScope and dataScope attributes. Check this answer to have some advices to get your scope.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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