During development, use an incognito session in your browser and add nlapiLogExecution functions to your code to view data flow, which helps in debugging. Remove all logging calls post-debugging since they can slow down performance if triggered, but you may keep them to catch logs in case of problems. If a script fails, these calls… Continue reading Debugging Scriptable Cart for SuiteCommerce or SCA
Author: Aiswarya C B
Scriptable Cart Fundamentals and Set Up
With Scriptable Cart, SuiteCommerce developers can use SuiteScript to invoke client scripts on the sales order form used for website orders. Note that SuiteScript is not available for web store registration, but an SSP application can be used to customize a registration page. Essentially, Scriptable Cart is a SuiteScript file deployed to your NetSuite instance… Continue reading Scriptable Cart Fundamentals and Set Up
Best practices for Suitecommerce – Customize with Workflows
In your Commerce website interactions, you can enhance customer experiences using SuiteFlow, part of SuiteCloud. SuiteFlow allows you to automate business processes without needing any scripting skills. It creates workflows that manage both standard and custom records by defining stages and conditional actions based on criteria set by you. Workflows are especially useful for simple tasks, like… Continue reading Best practices for Suitecommerce – Customize with Workflows
Resolving NetSuite Extension Fetch Error: “File Not Found”
Introduction While working with SuiteCommerce in NetSuite, you may encounter errors when fetching extensions using Gulp. One common issue is the “File Not Found” error, even though the file is present in the File Cabinet. This article discusses the possible causes and how to resolve them. Error Details During the execution of gulp extension:fetch, the… Continue reading Resolving NetSuite Extension Fetch Error: “File Not Found”
SuiteCommerce Advanced Web Store Displays ‘Internal Error’ Message
When making changes to a SuiteCommerce Advanced web store, an Internal Error message may appear. One possible reason for this issue is a failed Search Index Update or Search Index Rebuild job. When an active web store item record is updated, NetSuite places a search index UPDATE job into the index queue to ensure proper… Continue reading SuiteCommerce Advanced Web Store Displays ‘Internal Error’ Message
Display Item Description and Keywords Meta Tag on SuiteCommerce Advanced Sites
To display item descriptions and keyword META tags on SuiteCommerce Advanced sites, you need to add them to webstore items and include them in the field set configuration. Start by adding the META tags to webstore items. Navigate to Lists > Accounting > Items, select the item to edit, and under the Web Store subtab,… Continue reading Display Item Description and Keywords Meta Tag on SuiteCommerce Advanced Sites
Apply Strikethrough Prices to Web Store Products in SuiteCommerce Standard
Displaying a discounted price on the SuiteCommerce Standard web store requires adding a strikethrough to the preferred price. To implement this, first, ensure the item price for QTY 0 is greater than QTY 1 by navigating to Lists > Accounting > Items, selecting the desired item, and editing the Sales / Pricing section. Confirm that… Continue reading Apply Strikethrough Prices to Web Store Products in SuiteCommerce Standard
Disallowing Back-Ordered Items on Web Orders in SuiteCommerce Advanced Using Reference Checkout
SuiteCommerce Advanced (SCA) does not provide an option to set a default back-order preference in the Web Site Setup record, unlike Site Builder. Instead, the Out-of-Stock Behavior setting must be configured on each item record individually. To prevent back-ordered items from being purchased in your SuiteCommerce Advanced web store, navigate to the item record in… Continue reading Disallowing Back-Ordered Items on Web Orders in SuiteCommerce Advanced Using Reference Checkout
How to Add Sorting Methods in NetSuite SCA
Sorting product listings by different attributes can greatly enhance the shopping experience in your SuiteCommerce Advanced (SCA) store. By adding custom sorting methods, you allow customers to filter search results based on fields like price, popularity, or custom attributes. This guide walks you through the steps to configure sorting methods for your SCA website. Step-by-Step… Continue reading How to Add Sorting Methods in NetSuite SCA
Understanding MutationObserver in JavaScript
In modern web development, manipulating the DOM (Document Object Model) is a common task. While traditional methods like getElementById() or querySelector() can change the content of a web page, sometimes we need a way to observe changes to the DOM without constantly polling or checking for updates manually. This is where the MutationObserver API comes… Continue reading Understanding MutationObserver in JavaScript