This is regarding customer password reset emails, some customers reported that the email did not have a link in it.
Some background info: We do some manipulation to the URL in liquid (shown below), since our store is headless and the URLs are a bit different. I have tested this with my own account and a couple of others and the links work fine.
{% assign url_parts = customer.reset_password_url | split: '/' %}
{% capture 'url' %}https://storename.com/account/reset?id={{ url_parts[5] }}&token={{ url_parts[6] }}{% endcapture %}
Questions:
Does 'customer.reset_password_url ’ have a consistent format and if not in what cases would it be different that standard?
Is there a more reliable way to get the id and token?
Any help is appreciated, thanks!