JIRA TASK : https://jobinandjismi.atlassian.net/browse/THR-108
Requirement
Add an option to have customers apply for credit terms (they only have to pay say one each month etc). This should be seen as a tab in the account, which if clicked will take them to fill out some information to request for credit terms.
Solution
To provide an option for the customers to apply for credit terms from the webstore, we will create an extension to develop the following functionality.When the customer signs in to the webstore, a tab named “Apply for terms” will be displayed on my account section. This new tab navigates to a page in which the provided account application form will be displayed. At the bottom of the page, a button “APPLY FOR TERMS”will be displayed . When the user clicks the “Apply for terms” button, an email will be sent to a specific email id. The email will contain the details of the form. We will be creating a new email template for this email as the form includes multiple fields.As the provided form for NZ and AU contains the same fields, we will be using the same email template for the 2 domains. We assume all the form fields to be mandatory.As the provided form for the US is different from NZ and AU, we will be using a different form and email template for US domain. We assume all the form fields to be mandatory.The email address to which email is to be sent can be set from the configuration record so that if required, it can be changed later from the configuration record without modifying the code.A success message “ Your application is sent successfully. A representative will contact you to process your application” will then be displayed to the customer in the webstore.
Proposal Document: