Customer can't delete address in account?

Hi,

When a customer logs in selects 'view addresses’ tries to 'delete’ an address a pop up appears:

Are you sure you wish to delete this address?

When the customer continues by clicking on OK, a 404 Page Not Found page appears…

(www.shopname.shop/account/undefined)

The HTML / Template of “customers.addresses.liquid” below:


          
          
 

I was hoping if this has maybe happened before to someone, and if someone perhaps knows how to solve this problem.

I am quite new to coding, and I am having trouble figuring out why the customer is not able to delete an address…

Please note: When I log in my Shopify account, and look up the customer, I am able to delete the address as admin.

Many thanks,

Jordy

1 Like