For updating an item option in the cart when a customer adds any item to the cart, we can update it by using the function setItemOptions. Syntax: setItemOptions(itemlineid,optionMap) Updates the item options for a particular cart row. Parameters itemlineid [required] optionMap [required] {Array of Item Option ID value pairs} Example Extending Liveorder Model file to update the… Continue reading Updating Item options In Cart
Tag: scriptable cart and checkout
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… Continue reading Basic Process for Setting Up Scriptable Cart
NetSuite SCA customization for shipping cost calculation
Shipping cost calculation using scriptable cart functionality.