Tuesday, March 5, 2019

Customize the Welcome Message of My Account Reference

By default, The Welcome Message displays the Firstname of the online shopper. This article will guide you on how to customize it for the following options:
  • Welcome message displays the Lastname.
  • Welcome message displays both Firstname and Lastname.
  • Welcome message displays the Company Name.
  • Welcome message displays either Fullname/Firstname/Lastname or Company Name

I. Requirements:
  1. Copy the home.txt file from Reference My Account folder to Custom My Account Folder.
  2. Refer to the Help Center article "Deploying SSP Application Touch Points" for the steps on how to deploy the Custom Checkout SSP Application.

 

II. Edit home.txt
  1. For Welcome message to display the Lastname.

    1. Navigate to Document > Files > File Cabinet.
    2. Navigate to Web Site Hosting Files > Live Hosting Files > SSP Applications > NetSuite Inc. - My Account > Custom My Account > Templates > Home > Edit home.txt.
    3. Change get('firstname') to get('lastname').

      Complete Declaration as follows:


  2. Welcome message displays both Firstname and Lastname.

    1. Navigate to Document > Files > File Cabinet.
    2. Navigate to Web Site Hosting Files > Live Hosting Files > SSP Applications > NetSuite Inc. - My Account > Custom My Account > Templates > Home > Edit home.txt.
    3. Change get('firstname') to get('name').

      Complete Declaration as follows:


  3. Welcome message displays the Company Name.

    1. Navigate to Document > Files > File Cabinet.
    2. Navigate to Web Site Hosting Files > Live Hosting Files > SSP Applications > NetSuite Inc. - My Account > Custom My Account > Templates > Home > Edit home.txt.
    3. Change get('firstname') to get('companyname').

      Complete Declaration as follows:


  4. Welcome message displays either Fullname/Firstname/Lastname or Company Name.

    1. Navigate to Document > Files > File Cabinet.
    2. Navigate to Web Site Hosting Files > Live Hosting Files > SSP Applications > NetSuite Inc. - My Account > Custom My Account > Templates > Home > Edit home.txt.
    3. Add the following declaration right after the existing code:

      Complete Declaration as follows:

      Note: Remove the "!" from ('Welcome $(0)')


 

No comments:

Post a Comment