JIRA TASK : https://jobinandjismi.atlassian.net/browse/THR-104
Requirement
Implementation of the email templates from SCA webstore for Thermogard. Need to display a different email template for the 3 domains of the single website.
●Order confirmation
●Customer registration
●Order approval
●Password Recovery
Our Solution
Need to display a different email template for the 3 domains. In that case, in case of order confirmation emails, we will set up a workflow inNetsuite. This workflow will be triggered when a user submits an order from the webstore.Inthis workflow, we will check the domain from which the order is placed or the subsidiary ofthe customer and send an email using a template and also attach the order details as an attachment in the email. The attachment will be the same document available fromNetsuite. The email content will be different for the 3 domains.By default, when a user registers from the webstore, a lead record is created in Netsuite. Anemail is sent to the user upon registration from the webstore. As the users are setting theirlogin email and password during the webstore registration, no specific link to set password isbeing sent in this registration email. Also, the subsidiary of the lead record will be thedefault subsidiary of the webstore, which is “Global parent”. So we will not be able toidentify from which domain this lead is registered. In this case we cannot display differentemail templates for the 3 domains. So we will have to use the same email template in caseof customer registration from the webstore.In contrast to this, if you need to display different email templates for the 3 domains, thenduring the customer registration from the webstore, we will have to set the subsidiary fieldin the lead record based on the domain from which the user registers. This should be achieved as an extension. Then, we will set up a workflow in Netsuite. This work flow will betriggered when a lead record is created from the webstore. .In this workflow, we will checkthe domain from which the order is placed based on the subsidiary of the customer andsend the email using a template.In case of order Approval, we will set up a workflow in Netsuite. This workflow will betriggered when an order from the webstore is Approved. .In this workflow, we will check thedomain from which the order is placed based on the subsidiary of the customer and send anemail using a template and also attach the order details as an attachment in the email. Theattachment will be the same document available from Netsuite. The email content will bedifferent for the 3 domains.In case of password recovery, we need to check and try if we can set up a workflow inNetsuite for password recovery. There are limitations for getting the password recovery link.If it is possible, we will setup a workflow and it will be triggered when password recovery isinitiated from the webstore. In this workflow, we will check the domain from which thepassword recovery is initiated and send the link for password recovery in the email.
Proposal Document: