By using this template we used to notify users that their item is back in stock. We can achieve this by using Netsuite applications & we have a to create a email template for the extension to work.
To set up the email template:
- In NetSuite, go to File Cabinet > SuiteBundles > [BUNDLE ID] > com.netsuite.backinstocknotification100 > Email Templates.In the path above, [BUNDLE ID] equals the Stock Notifications bundle ID. For the bundle ID, see Commerce Extensions.
- Click Download next to the stock_notifications_email.template.ftl file.
- Use this file to create a new email template:
- In NetSuite, go to Documents > Templates > Email Templates > New.
- In the Name field, give your new template a name.This name displays as an option in the Email Template field of the SC Configuration Record, which you select to configure the extension’s email template.
- In the Record Type field, select Custom Record.
- In the Template tab, perform the following steps:
- In the Subject field, enter a message to display as the subject of the stock notification email.For example:
${customRecord.custrecord_ns_sc_ext_sn_s_item?split(":")?last} is back in stock!If you are experienced with HTML and FreeMarker, you can adjust this subject to meet your needs. - In the Create Template From: field, select File.
- Click the New icon to add a file.
- In the Select File field, choose the stock_notifications_email.template.ftl file downloaded from the File Cabinet.
- Click Save.
- In the Subject field, enter a message to display as the subject of the stock notification email.For example:
- Click Save to create the email template.
Configure Properties
To determine how Stock Notifications displays on your website, configure the properties on the SuiteCommerce Configuration record. You can choose section titles, placeholder texts, feedback messages, and more.
To configure properties:
- After activating the Stock Notifications extension in a NetSuite Account, go to Commerce > Websites > Configuration.For more information about activating an extension, see Manage Themes and Extensions.
- Select the website and domain where the Stock Notifications extension is activated and click Configure.
- Go to the Extensions tab.
- In the Stock Notifications subtab, fill out the listed fields for each category, using the tables below as references.
- Click Save.