Edit Theme manifest.json for Customization in NetSuite Commerce
Learn how to edit the manifest.json for effective customization and extension overrides in NetSuite Commerce themes.
Each theme in NetSuite Commerce includes a manifest.json file within the Workspace directory, vital for managing resources in an active theme. This file is crucial for compiling resources and should be edited to include any HTML, Sass, or assets created during theme customization.
What Does the manifest.json Include?
The manifest.json file organizes various elements:
- Theme Metadata: Automatically populated upon deploying a theme. It contains important fields such as
name,vendor,type,target,version, anddescription. - Overrides: Manages extension overrides. Using Gulp.js commands, any HTML or Sass file overrides are automatically included during deployment.
- Templates: Lists HTML template files for applications like shopping, myaccount, and checkout. Custom templates must be manually added.
- Sass: Defines paths to Sass entry points. New Sass files should be added in the logical order of their hierarchy.
- Skins: These are automatically updated when running theme development commands. You can customize the name of these skins for clarity.
- Assets: Manages theme directory asset paths, facilitating the integration of new images and fonts.
- Record Paths: Details the theme, extension record, and activation IDs within NetSuite.
Customizing Your Theme
To customize your theme effectively, you should manually update this file. Note that Gulp.js tools assist in some updates, particularly when deploying your theme or handling theme overrides.
For more examples and guidance on customizing themes, consider checking related resources such as "Add a New File to a Theme," "Test and Deploy Your Theme," and best practices documentation.
Who This Affects
- Developers working on theme customization
- Administrators managing SuiteCommerce configurations
- eCommerce teams seeking to implement unique themes on their storefronts
Key Takeaways
manifest.jsonis central to theme resource management in NetSuite Commerce.- Theme customizations require manual entries for new HTML, Sass, and assets.
- Tools like Gulp.js automate some of the processes, but manual edits are essential for custom files.
- The manifest file allows for extensive customization and management of themes, from metadata to assets.
Frequently Asked Questions (4)
When should I manually edit the manifest.json file in a theme?
How are extension overrides included in the manifest.json file?
What is required for the `templates` object in the manifest.json file?
How does the Sass section in manifest.json handle files?
Was this article helpful?
More in Commerce
- Available Items Only Filtering in NetSuite 2026.1
Available items only filtering enhances sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
- Best Practices for Fields and Facets in NetSuite Commerce
Optimize performance in NetSuite Commerce by using fields and facets efficiently, limiting unnecessary data and enhancing user experience.
- SuiteCommerce Updates in NetSuite 2026.1 Release Notes
SuiteCommerce, MyAccount, and Advanced updates introduced in NetSuite 2026.1 enhance eCommerce capabilities and require migration for SCA.
- eCommerce Performance with NetSuite 2026.1 Commerce Extensions
Explore how Commerce Extensions in NetSuite 2026.1 enhance eCommerce performance and user experience with key features and best practices.
