This document will describe the basics of using SuiteScript2 in your extensions for SCA. Ensure you select the “SuiteScript2” option when running “gulp extension: create”. While you can always add the file later if needed the easiest route is to let the gulp command create it for you. An SS2 service is called when the… Continue reading SuiteScript2 Services for SCA
Author: Rosemol Francis
Tips for SuiteScript Configuration and Code
Identify Performance Issues One indicator of a performance issue is when a script takes a long time to run but does not fail, resulting in web page latency. If you notice web page latency, a script is probably doing one or more of the following tasks: Performing a large number of record operations without going… Continue reading Tips for SuiteScript Configuration and Code
Create Commerce Categories
Continuation of Install Commerce Categories Migration Tools 3. Create Commerce Categories The Commerce Category Import tool lets you import the CSV file generated by the Site Category Export tool. The import tool uses data from the exported CSV file to create Commerce Categories. The Commerce Category Import tool performs the following actions: Creates a new… Continue reading Create Commerce Categories
Export Site Builder Categories
Continuation of Install Commerce Categories Migration Tools 2. Export Site Builder Categories The Site Category Export tool converts existing Site Builder Categories into a CSV file. Integration with SOAP web services is required to use this tool and you should ensure it is correctly configured prior to use. How to Export Site Builder Categories The… Continue reading Export Site Builder Categories
Import Commerce Categories from Site Builder to SuiteCommerce
Perform the following tasks to convert existing Site Builder Categories to Commerce Categories: Install Commerce Categories Migration Tools Export Site Builder Categories Create Commerce Categories Set Field Mapping 1. Install Commerce Categories Migration Tools To convert existing Site Builder Categories to Commerce Categories, perform the following actions: 1.Request Migration Tool Bundles If you cannot locate… Continue reading Import Commerce Categories from Site Builder to SuiteCommerce
Restoring content when updating SuiteCommerce landing page path
As of SuiteCommerce 2022.2, when updating the path of an unpublished landing page in the content management tool(SMT), all content disappears from the page. If you find yourself in this situation, restore the path to the previous iteration and save. Your content will be restored. If you wish to proceed with the updated path, first… Continue reading Restoring content when updating SuiteCommerce landing page path
Tips on Testing Personalized Catalog Views
When you click Save, Save & Preview or Save & View on the Customer Segments Manager page, the search index for the website is reindexed. When the reindexing is complete, the personalized catalog views become active and customers visiting your website are shown the personalized catalog view applicable to them. Making an item segment visible to a customer segment from… Continue reading Tips on Testing Personalized Catalog Views
SuiteCommerce Troubleshooting Tips Tricks
SuiteScript Logs SEO Page Generator Log Excluding JS from SEO Page Generator Content SEO page generator is a resource-constrained environment that has its limits, it is very important to reduce thelength of time it takes the SEO page generator to generate the HTML of the page. Network throttler Analyze Requests SC Global Variable View Extensions… Continue reading SuiteCommerce Troubleshooting Tips Tricks
SuiteCommerce Development Best Practices
Avoid involving core modules.Do not use Backbone modules. Avoid involving core modules. Do not use Backbone modules. Do not use JavaScript in Templates. Do not extend Extensions. Use Extensibility API 2 Use SC Basic modules Use Configuration and SMT Evaluate SCA target version carefully Avoid involving core modules include a core module in a require()… Continue reading SuiteCommerce Development Best Practices
Custom Site Maintenance Page for NetSuite Scheduled maintenance
Applies to – SuiteCommerce | SuiteCommerce Advanced | SuiteCommerce MyAccount Note: The use of maintenance domains and custom site maintenance pages is not supported in sandbox accounts. To set up a custom site maintenance page: Create a domain name to use when your site is offline for maintenance. For example, maintenance.example.com. Configure the DNS settings with… Continue reading Custom Site Maintenance Page for NetSuite Scheduled maintenance