Users can use SuiteScript to display custom messages when the shopping cart contains an item you identify as the trigger item.
Once certain item is added, the script will run and it will populate the custom body field with the value from the script. In the Web site theme customization, user can add a tag that will pull the value from that custom field (For sample popup function in website theme, see "Creating a Popup Message" in online help). Then, display a pop up message.
Below is a Sample code for Popup Message:
DISCLAIMER: The sample code described herein is provided on an "as is" basis, without warranty of any kind, to the fullest extent permitted by law. NetSuite Inc. does not warrant or guarantee the individual success developers may have in implementing the sample code on their development platforms or in using their own Web server configurations.NetSuite Inc. does not warrant, guarantee or make any representations regarding the use, results of use, accuracy, timeliness or completeness of any data or information relating to the sample code. NetSuite Inc. disclaims all warranties, express or implied, and in particular, disclaims all warranties of merchant-ability, fitness for a particular purpose, and warranties related to the code, or any service or software related thereto.
NetSuite Inc. shall not be liable for any direct, indirect or consequential damages or costs of any type arising out of any action taken by you or others related to the sample code.