Populating Custom Fields in SuiteCommerce Before Record Submission

In SuiteCommerce, dynamically populating custom fields is essential for tailoring business processes to specific needs. When these fields drive actions like email notifications, ensuring they are set at the right moment is critical. This article explores how to use the preSubmitRecord method in a SuiteCommerce Advanced (SCA) backend script to populate custom fields before record… Continue reading Populating Custom Fields in SuiteCommerce Before Record Submission

Advanced Customization Techniques in SuiteCommerce Advanced

SuiteCommerce Advanced (SCA) offers extensive customization capabilities, enabling businesses to tailor their eCommerce platforms to meet specific needs and enhance user experiences. By delving into advanced customization techniques, developers can unlock the full potential of SCA, creating unique and highly functional eCommerce solutions. Leveraging the Extensibility API The Extensibility API in SCA is a powerful… Continue reading Advanced Customization Techniques in SuiteCommerce Advanced

CMS Page Type Website Records Not Displaying (SCA 2019.1 – 2021.2)

Step 1: Set Permissions for checkout.environment.shortcache.ssp In NetSuite, go to Documents > Files > File Cabinet. Go to the following location: Web Site Hosting Files > Live Hosting Files > SSP Applications > NetSuite Inc. -X.Y.Z > Development Important You must replace the string, X.Y.Z, with the version of SCA you are using. Click Edit next to… Continue reading CMS Page Type Website Records Not Displaying (SCA 2019.1 – 2021.2)

Reference Product List Patch for SCA 2019.2 to 2024.1

To implement this patch, create a custom module to override the following JavaScript files, which are part of the ProductList module: ProductList.Item.Model.js ProductList.Item.Search.js ProductList.Model.js ProductList.ServiceController.js If you are unfamiliar with implementing patches for SuiteCommerce Advanced (SCA), refer to: Best Practices for Customizing SCA Patch Using Override Mode Step 1: Set Permissions for ProductList Files To… Continue reading Reference Product List Patch for SCA 2019.2 to 2024.1

Reference Product Reviews Patch for SCA 2019.2 to 2024.1

Step 1: Set Permissions for ProductReviews.Service.ss File In NetSuite, go to Documents > Files > File Cabinet. In the File Cabinet, go to Web Site Hosting Files > Live Hosting Files > SSP Applications > NetSuite Inc. -X.Y.Z > Development > services. Important Replace the string, X.Y.Z, with the version of SCA you are using.… Continue reading Reference Product Reviews Patch for SCA 2019.2 to 2024.1

Patch Using Override Mode

Step 1: Create the Override File Create an extensions directory to store your custom module. Depending on your implementation, this directory might already exist. If you’re patching SCA 2019.1 and earlier, create the extensions directory in the Modules directory. If you’re patching SCA 2019.2 and later, create the extensions directory in the directory where the module that… Continue reading Patch Using Override Mode

Patch Using Extend Mode

Step 1: Develop An Extension Create an extensions directory where you can store your custom module. Depending on your implementation, this directory might already exist. If you’re patching SCA 2019.1 and earlier, create the extensions directory in the Modules directory. If you’re patching SCA 2019.2 and later, create the extensions directory in the directory where the module… Continue reading Patch Using Extend Mode

Document.id

The ID of the document. You specify the ID of a document using the options.id parameter when calling llm.createDocument(options). // Add additional code … // The documents doc1 and doc2 are created using llm.createDocument(options) const response = llm.generateText({     prompt: “My test prompt”,     documents: [doc1, doc2] }); // If information in the provided documents is… Continue reading Document.id

N/currentRecord Module

Use the N/currentRecord module to access the record that is active in the current client context. This module is always a dynamic object and mode of work is always dynamic, not deferred dynamic/standard. For more information, see SuiteScript 2.x Standard and Dynamic Modes. Be aware that when the current record is in view mode it cannot… Continue reading N/currentRecord Module

Manage Themes and Extensions

The Extension Manager lets you manage themes and extensions for each domain linked to your Commerce website. The Extension Manager lets you: Activate or deactivate available themes and extensions for a domain Implement available updates to active themes and extensions View the currently active themes and extensions by domain View the status of any activations… Continue reading Manage Themes and Extensions