Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Please note that on Friday, March 20, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 4 hours. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Scripting is not fun...
... and was obviously written by people that don't know how to have fun or else they'd be having fun instead of scripting.
Hello and welcome to my rant.
I have written a pretty little script below.
What it does is essentially 2 things:
1. Creates a pop-up explaining to customers that clicking the add to cart button does in fact do as suggested and gives them a heads up on where to find their cart and what to do with it.
2. Offers a checkbox to disable the pop-up.
<SCRIPT LANGUAGE="JavaScript"> function display(checkboxSelected) { var contents = "" contents += checkboxSelected.name contents += checkboxSelected.checked document.bookForm.allowCartPopup.value = contents } function show_cartinfo() { if (document.bookForm.allowCartPopup.value != 'nopopuptrue') { alert("Your selection will now be added to your cart." + "n" + "When you have finished shopping click View Basket on the top left to see your cart contents and proceed to the checkout." + "n" + "" + "n" + "To stop this message from appearing click Disable Cart Popup Message below your shopping cart on the left"); } } </SCRIPT> <FORM NAME="bookForm"> <INPUT TYPE="checkbox" NAME="nopopup" onClick="display(this)"> Disable Cart Popup Message <input 0