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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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
custom script suddenly not working
I'm hoping to get some help - we had some custom script written about 5 years ago for a wholesale component to our shopping cart. worked flawlessly until the update last week and now we have no checkout button. our wholesale minimum is $100 - used to be there was a message stating that and once the order reached $100 that message was replaced with the checkout button but that's no longer happening. here's the code (at least I think this is the portion that's no longer workoing)
if( category == 'wholesale' && totalPrice < 100 ) {
var p = checkout.parentNode;
p.removeChild( checkout );
p.innerHTML = 'our wholesale minimum is $100';
0