Forgot password email template

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

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

Customizing the default template

You can 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": {
    "signature": "<p>SNIPCART <br /><br />\nsnipcart.com <br /><br />\n<br /><br />\nBureau de Québec (administration) <br /><br />\n4885 1ere Avenue <br /><br />\nQuébec (Québec) G1H 2T5 <br /><br />\ngeeks@snipcart.com <br /><br />\n1 418 800 8440 <br /><br />\n<br /><br />\nTPS #XXXXXXXXXX <br /><br />\nTVQ #XXXXXXXXXX <br /></p>\n",
    "businessAddress": {
      "company": "snipcart.com",
      "address1": "226 rue St-Joseph Est",
      "address2": null,
      "city": "Québec",
      "country": "CA",
      "postalCode": "G1K3A9",
      "province": "QC",
      "phone": null
    },
    "includeProductImagesInInvoice": false,
    "logoUrl": "https://snipcart.com/images/snipcart_logo.svg"
  },
}

Was this article helpful?