cancel
Showing results for 
Search instead for 
Did you mean: 

Customer Address JS Problem

SOLVED

Customer Address JS Problem

Hi,

 

In my backend I can't add new customer address.

 

With google console, I have this error:

 

 

Uncaught ReferenceError: customerAddresses is not defined

 

How fix it? Help me please.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Customer Address JS Problem

It was a language problem. I have re-installed italian language and now all is ok.

 

Now I have this problem: https://community.magento.com/t5/Technical-Issues/Can-t-save-product-Duplicate-website-group-price-c...

View solution in original post

2 REPLIES 2

Re: Customer Address JS Problem

Hi,

 

Do you have modified the Address Templates? Probably you have incorrect address template in System > Configuration > Customer Configuration > Address Templates. Here is the default value:

#{prefix} #{firstname} #{middlename} #{lastname} #{suffix}<br/>#{company}<br/>#   {street0}<br/>#{street1}<br/>#{street2}<br/>#{street3}<br/>#{city}, #{region}, #{postcode}<br/>#{country_id}<br/>T: #{telephone}<br/>F: #{fax}<br/>VAT: #{vat_id}

 

Please check the special characters and the right syntax for variables.

 

Regards,

Re: Customer Address JS Problem

It was a language problem. I have re-installed italian language and now all is ok.

 

Now I have this problem: https://community.magento.com/t5/Technical-Issues/Can-t-save-product-Duplicate-website-group-price-c...