Password reset email notification link is pointing to primary domain

Our store has multiple locations and there are multiple domains pointing to their respective locations.

Like we have stores for US, UK and Canada. We have respective domains for each of them.

US domain is the primary domain.

Here’s the problem, when a user form UK clicks on Forgot Password and got their Reset Password email, the link in the email is pointing towards US domain which is the primary one.

How to get the relative link in the email like UK link for UK user?

IMO shopify always uses your primary domain for password reset links ,even for international customers. There is currently no way to generate market-specific reset links in the native emails.

Workaround Suggestion- add a helpful note in the email body like this


If you’re visiting us from the UK or Canada, this reset link may direct you to our U.S. site. After resetting your password, you can return to your local store:

  - [UK Store](https://yourstore.co.uk)

  - [Canada Store](https://yourstore.ca)

Go to Settings → Notifications → Customer notifications → Customer account reset → Find {{ email_action_url }} → Add the above note

Thanks for the quick reply @lixonic ,

Is there any way to get the user domain in the password reset email. I’m using {{shop.url}} to link the logo to user specific domain, but it’s always pointing to primary one.