M2.4.2, v1.4.5 - How to fix issue breaks address in the admin section?

Created by Aiden Hua, Modified on Sun, 01 Oct 2023 at 04:52 PM by Aiden Hua

ISSUE:

When we have this module installed it breaks addresss in the admin section.


bsscommerce/customer-attributes 1.4.5

Magento ver. 2.4.2-p2


Uncaught ReferenceError: Unable to process binding "attr: function(){return {id:defaultAddressId} }"


Message: defaultAddressId is not defined



SOLUTION:

This is the M2.4.2 incompatible issue.


To resolve the issue, please download the file app/code/Bss/CustomerAttributes/view/adminhtml/web/template/default-address.html attached below to override the current file on your site as below



If you need any further assistance, please feel free to contact us.

Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html


Thank you so much!


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article