Creating and Bundling Commerce Themes and Extensions

Learn the essential steps to bundle Commerce themes and extensions, ensuring successful deployment and versioning.

·3 min read·View Oracle Docs

Before you bundle a Commerce theme or extension, be aware of the following:

  • These procedures assume that you have created or updated a theme or extension, thoroughly tested it on a local server or on a test domain, and that you have deployed the files to a NetSuite account. For more information about building themes and extensions, refer to the corresponding help topics where you can find detailed instructions on how to develop themes and extensions.

    • Develop Themes: This guide explains how to create themes.
    • Develop Extensions: This covers how to create extensions.
  • You must deploy themes and extensions to the NetSuite Account where you are creating the SuiteApp.

  • The SuiteCommerce Extensions Management SuiteApp provides a default installation script. Use this baseline file to create unique installation scripts for each SuiteApp you build.

  • It’s essential to designate a version when creating a theme or extension. Versioning allows SuiteApps to be updated over time. The developer tools will prompt you for this information when you deploy your files. Follow this version format: dd.dd.dd where d is a single digit.

Related Topics

  • Manage and Bundle Themes and Extensions: Understand how to effectively bundle your projects.
  • Management Resources for Themes and Extensions: Find additional resources for managing your themes and extensions.
  • Deploy to a Sandbox or Custom SSP Application: Learn deployment strategies for testing environments.

Key Considerations

Themes are special types of extensions that influence a domain's structure and aesthetics. They may include HTML templates, Sass files, and other resources, which can be bundled into a SuiteApp or deployed directly to a NetSuite account by site developers.

It's important to note that the only theme available for SuiteCommerce MyAccount sites is the SuiteCommerce Base Theme published by Oracle NetSuite. You can utilize the Base Theme as a foundation for your personalized theme, ensuring compatibility with SuiteCommerce MyAccount features.

To download the theme developer tools and start creating your themes, consider reviewing:

  • Set Up Theme Developer Tools: Instructions on setting up the tools needed for theme development.
  • Theme Development Files and Folders: Overview of required files and folder structures for development.
  • Anatomy of the Base Theme: A look into the composition of a Base Theme.
  • Develop Your Theme: Guidelines for creating your theme.
  • Test and Deploy Your Theme: Steps to test and deploy your themes correctly.
  • Best Practices for Creating Themes: Tips to ensure best development practices.
  • Commerce Sass Style Definitions: Styling details to enhance visual design.
  • Theme Tutorials: Video and guide-based tutorials for deeper insights.
  • Do More With Themes: Additional features and capabilities to enhance themes.

To successfully develop an extension, you should be comfortable working with JavaScript, HTML, and Sass/CSS, as well as have advanced knowledge in JavaScript programming, especially if you plan to engage with APIs, Backbone.js, and jQuery.

Benefits of Using Extensions

Extensions can significantly enhance a Commerce website by integrating various JavaScript, SuiteScript, configuration JSON, and more into a single SuiteApp or directly deployed codebase.

Frequently Asked Questions (4)

Do I need to deploy my theme or extension to a specific NetSuite account?
Yes, you must deploy themes and extensions to the NetSuite account where you are creating the SuiteApp.
What is the required format for versioning when creating a theme or extension?
The format for versioning when creating a theme or extension is `dd.dd.dd`, where each `d` represents a single digit.
Are there any themes that can be used specifically with SuiteCommerce MyAccount sites?
Yes, the only theme available for SuiteCommerce MyAccount sites is the SuiteCommerce Base Theme published by Oracle NetSuite.
What tools and knowledge are necessary for developing a SuiteCommerce extension?
You need to be comfortable with JavaScript, HTML, and Sass/CSS, and have advanced JavaScript programming knowledge, especially with APIs, Backbone.js, and jQuery.
Source: Before You Begin Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in Commerce

View all Commerce articles →