Basic Process for Setting Up Scriptable Cart

Scriptable cart is functionality that is server-side JavaScript and SuiteScript that runs when a shopper is checking out.

Used for:

  • Connecting to a third-party tax calculator
  • Changing price levels of items in a way native functionality cannot
  • Creating buy one / get one type offers in a way the promotions engine cannot
  • Paying using stored loyalty points
  • Accepting charitable donations

scriptable cart is a single SuiteScript file that you deploy to your NetSuite instance that executes when a sales order is being created.

Basic Process for Setting Up Scriptable Cart:

  1. Enable features on your site
  2. Set up any required custom records, columns, fields, etc, you may need for your script
  3. Write the script
  4. Upload the script
  5. Create a script record
  6. Deploy the script

Enable features on your site

Go to Setup > Company > Enable Features and then check Web Presence > Advanced Site Customization and SuiteCloud > Client SuiteScript.

Leave a comment

Your email address will not be published. Required fields are marked *