Update and Deploy Custom Themes in SuiteCommerce
Update the theme version and deploy your custom theme in SuiteCommerce effectively and safeguard your changes.
Updating the theme version in SuiteCommerce is essential for keeping track of your development efforts and ensuring a smooth deployment of custom themes. This article outlines the necessary steps to update your theme version and deploy it correctly.
How to Update the Theme Version
- Locate the
manifest.jsonfile in your working directory at the top level of your custom theme directory. - Modify the
versionfield in the JSON file; set it to1.0.1and save your changes. - To deploy your theme, use the following command from the top-level theme development directory:
nonegulp theme:deploy
- When prompted, provide specific information about the theme you are deploying. For a comprehensive overview of these prompts, refer to the documentation on deploying themes.
Important Deployment Notes
- When deploying, ensure you are operating within your local developer environment. Open a command line or terminal and navigate to the top-level development directory.
- The command
gulp theme:deploycompiles your theme and updates themanifest.jsonfile. If you made manual changes to this file that you want to keep, rungulp theme:deploy --preserve-manifestinstead.
User Prompts During Deployment
While deploying your theme for the first time, you will be asked for various pieces of information. Here are some prompts that you might encounter:
| Prompt | Description |
|---|---|
| Authentication ID | An ID representing your NetSuite account and role. |
If you previously set an Authentication ID, the development tools will use that ID for future fetch or deploy operations without prompting.
Conclusion
Following these instructions will help ensure that your custom theme is properly updated and deployed within NetSuite, allowing you to manage your website’s appearance effectively.
Frequently Asked Questions (4)
Do I need a specific environment to deploy custom themes in SuiteCommerce?
What precautions should I take if I manually changed the manifest.json file?
What is the purpose of the Authentication ID during the theme deployment process?
Is there a way to deploy a custom theme without modifying the existing manifest.json version?
Was this article helpful?
More in General
- Release Notes PDF Availability in NetSuite
NetSuite provides generated PDF files for each Release Note update, enhancing accessibility and user experience.
- Commitment Credits for Billing in NetSuite SuiteBilling
Commitment Credits in SuiteBilling enhance flexible usage-based billing across services. Managing usage-based billing in NetSuite SuiteBilling has been
- Prepay Across Subscriptions in NetSuite SuiteBilling
Prepay Across Subscriptions enables efficient management of prepaid services in NetSuite SuiteBilling.
- Edit the Extension Manifest: Manual Edits
Documentation article about Manual Edits Your extension's Workspace directory includes a manifest.json file, which includes all the information required to
Advertising
Reach General Professionals
Put your product in front of NetSuite experts who work with General every day.
Sponsor This Category