Wednesday, March 20, 2019

Replace Default Image Displayed for Items with no Images in Reference My Account

Requisites:

  1. Custom My Account folder is already populated with files copied from the Reference My Account folder.
  2. Setup > Site Builder > Set Up Web Site > Touch Points tab:
    Name: View Customer Center
    SSP Application: Custom My Account
Steps:
  1. Navigate to Documents > Files > File Cabinet.
  2. Navigate to Web Site Hosting Files > Live Hosting Files > SSP Applications > NetSuite Inc. - My Account > Custom My Account > img.
  3. Click on Add File to add your own image to the folder. Take note of the file name (e.g. my_own_no_image.jpg).
  4. Navigate to Web Site Hosting Files > Live Hosting Files > SSP Applications > NetSuite Inc. - My Account > Custom My Account > js > src > app > Configuration.js.
  5. Edit the file and look for the comment "// url for the not available image"
  6. Set the imageNotAvailable object with the path to your own image. For example:
    imageNotAvailable: _.getAbsoluteUrl('img/my_own_no_image.jpg')
  7. Save.

    You may need to close all browser sessions and start a new one to test if the changes have taken effect.

No comments:

Post a Comment