0

i developed a module to add two new fields in costumer address. The fields are showing but not saving in frontend checkout procedure. The fields are showing also in the admin area and there they saves correctly. Now, i don't know how to debug this. How can i check where the problem is in the frontend? Thank you.

EDIT

Ok, now i understand that my two custom attributes (codice_sdi and indirizzo_pec) are not saved in the shippingAddress javascript object. I've seen this using console.log. Any ideas?

1

Below is the best document for your requirement.

https://devdocs.magento.com/guides/v2.3/howdoi/checkout/checkout_new_field.html

Thanks

  • thank you, i think i need to understand JS mixin – goplastic Dec 31 '18 at 12:58
  • ok i am trying but how can i debug if mixin is coded right? – goplastic Dec 31 '18 at 13:23
  • i've edited the main post, news – goplastic Dec 31 '18 at 14:31

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.