Forgot password email template

We use this template when a customer asks for a password retrieval. The customer enters its email address and if it matches an account we send this email template to the user.

The email contains a unique link that the customer needs to follow to reset its password.

Customizing the default template

You can basically add anything to the template, however you must keep the link to the resetPasswordLink variable.

If you omit this link, the customers won't be able to get to the reset password step on your site.

---
Subject: Retrieve your password on {{ settings.businessAddress.company }}.
---

<!DOCTYPE html>
<html>
<head>
</head>

<body style="font-family: Arial; font-size: 12px;">
<div>
    <p>
        You have requested a password reset, please follow the link below to reset your password.
    </p>
    <p>
        Please ignore this email if you did not request a password change.
    </p>

    <p>
        <a href="{{ resetPasswordLink }}">
            Follow this link to reset your password.
        </a>
    </p>
</div>
</body>
</html>

Forgot password template data

{
    "resetPasswordLink": "https://yoursite.com/#!/reset-password/9e0b5528-d397-4dcb-ab23-9805d4e000ba",
    "settings": {
        "logoUrl": "https://snipcart.com/images/snipcart_logo.svg",
        "businessAddress": {
            "fullName": null,
            "firstName": null,
            "name": null,
            "company": "snipcart.com",
            "address1": "226 rue St-Joseph Est",
            "address2": null,
            "city": "Qu├ębec",
            "country": "CA",
            "postalCode": "G1K3A9",
            "province": "QC",
            "phone": null
        }
    }
}