Testing Extensions on a Local Server in SuiteCommerce
Testing SuiteCommerce extensions locally before deployment ensures quality. Follow these steps to verify your extensions effectively.
TL;DR Opening
Testing SuiteCommerce extensions locally before deploying them to a live environment is essential to ensure everything functions correctly. This article outlines how to efficiently test extensions on a local server using Node.js and Gulp.
How to Test Your Extension Locally
To effectively test your SuiteCommerce extensions, follow these steps:
-
Start Your Local Server: Before testing, ensure that your local server is active. Navigate to your Commerce website on the local server.
- This can typically be achieved with the command:
bashgulp extension:local
This command compiles your source files and sets up a LocalDistribution directory.
- This can typically be achieved with the command:
-
Change Display Types: Visit a product list page and alter the display type. Notice that the grid and table views will not change, as illustrated below:

-
View the Detailed List: Switching to the list display type should show detailed descriptions for each product:

Important Considerations
- Typically, extensions should be tested locally before going live. If your extension includes SuiteScript or JSON configuration files, you must deploy those to your NetSuite account.
- SuiteScript services will not be accessible until deployment, and JSON changes won’t apply until they are deployed as well.
- If manifest files are updated, remember to restart the local server to see those changes reflected.
Conclusion
Testing your SuiteCommerce extensions on a local server is a crucial step in the development process. This allows you to verify functionality and performance before the final deployment to your live site. Following the steps outlined here will help ensure your extensions operate as intended before going live.
Frequently Asked Questions (4)
What command is used to start the local server for testing SuiteCommerce extensions?
Do I need to deploy SuiteScript services before testing locally?
Are JSON configuration file changes effective immediately during local testing?
What should I do if my extension's manifest files are updated?
Was this article helpful?
More in Commerce
- Available Items Only Feature in NetSuite 2026.1
Available items only filtering boosts sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
- Commerce Extensions in NetSuite 2026.1
Commerce Extensions in NetSuite 2026.1 enhance performance and user experience in eCommerce.
- Convert Multiple Transaction Line Items into Configured Items in
Enhance transaction processing in NetSuite by converting multiple line items into configured items with improved session handling.
- New SuiteCommerce Features in NetSuite 2026.1
New SuiteCommerce features in NetSuite 2026.1 enhance user experience and improve eCommerce efficiency.
