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

Created by Aiden Hua, Modified on Mon, 20 Apr at 12:07 AM by Support Agent

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!


Get to know us!!


BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.


Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.


Discover our extensions: https://bsscommerce.com/magento-2-extensions.html 


You can refer our top tier extensions:


If you need any further support, please feel free to contact us at sales@bsscommerce or via our support portal.



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 at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article