Deploying Custom Themes in NetSuite Commerce
Deploying custom themes in NetSuite Commerce allows for website personalization and enhancements. Activate your theme for specific domains.
TL;DR
Deploying custom themes in NetSuite Commerce allows you to personalize your website's appearance. After testing a theme locally, it's essential to deploy it, making it available for activation on your desired domain.
What Happens When You Deploy a Theme?
When you deploy a theme using the Gulp command, several steps take place:
- Your theme files and any extension overrides are uploaded to the NetSuite File Cabinet.
- The deployment process verifies your customizations and compiles your theme source files.
- The manifest file is updated with necessary overrides, ensuring a consistent integration.
Steps to Deploy Your Theme
-
Open the Command Line: In your local development environment, navigate to the top-level directory of your project.
-
Deploy Command: Execute the following command:
bashgulp theme:deployNote: For accounts with account-specific domains (2021.2.1 and later), include your account number with the command for proper authentication.
Important: The deployment process updates the
manifest.jsonfile. If you've made manual changes to this file that you want to preserve, run:bashgulp theme:deploy --preserve-manifest -
Input Required Information: During the first deployment, you will need to provide:
- Authentication ID: Represents your NetSuite account and role.
- Account and Role: Select the NetSuite account and role needed for authentication.
- Website: Choose the associated website for your theme.
- Vendor: Name of the vendor involved in the theme build.
- Theme Name: A name for your custom theme (no special characters or spaces).
- Fantasy Name: A display name for the theme in the NetSuite interface (can include spaces and special characters).
- Version: Assign a version to your theme using the format
dd.dd.dd. - Description: A brief description that will be displayed in NetSuite.
- Supported Products: Identify the products your theme will apply to (e.g., SuiteCommerce Online).
- Target Version: Specify compatibility versions for your theme.
The Deployment Process
When you run the command:
- The developer tools validate your customizations and copy files to a
DeployDistributiondirectory, creating it if it does not exist. - The theme files are uploaded in chunks to the NetSuite File Cabinet, preserving the organizational structure.
Activation of Your Theme
After deploying your theme, the next critical step is activating it for your website domain. Refer to the instructions on Activating Themes and Extensions for guidance on applying your newly deployed theme.
Key Takeaways
- Deploying themes allows for website customization in NetSuite.
- Use the
gulp theme:deploycommand for deployment and remember to include your account number when necessary. - Ensure you enter the correct details during the deployment prompts to avoid errors.
Frequently Asked Questions (4)
Do I need to enable any feature flags to deploy themes using Gulp commands in NetSuite?
What are the necessary details required during the theme deployment process with Gulp?
How does the deployment using Gulp commands affect the manifest.json file?
What roles are recommended for sufficient permissions to deploy themes in NetSuite?
Was this article helpful?
More in Commerce
- Loop Returns Integration in NetSuite Connector 2026.1
Loop Returns integration enhances NetSuite Connector by automating returns, refunds, and exchanges in version 2026.1.
- 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.
