Extensions

This topic applies to

Applies to

SuiteCommerce Web Stores | Aconcagua

An extension encompasses different types of site- and account-level integration functionality, such as a record type, a scheduled script/process, or modifications to the checkout process. You build your extensions to interact with the Extensibility API to accomplish some task. Instead of altering frontend or backend code, you create your extension using SuiteCommerce Components to interact with the API. The API then makes calls to deeper structures of the code base. See Extensibility API for more details.

This topic introduces you to extension development through the following topics:

  • Develop Your Extension – This topic provides a general procedure to follow when building an extension. This includes links to building baseline files and using the Extensibility API to develop your extensions.

  • Extension Manifest – This describes the Extension Manifest, which manages all compilation information for your extension.

Important

To develop an extension, you must have experience working with JavaScript, HTML, and Sass/CSS. The level of experience required depends on the types of changes you want to make. Advanced JavaScript programming skills, including knowledge of APIs, Backbone.js and jQuery are required.


Benefits of Using Extensions

Extensions introduce added functionality to a SuiteCommerce website through any number of JavaScript, SuiteScript, configuration JSON, and other files bundled into a single SuiteApp or deployed to a NetSuite account for later activation using the Manage Extensions wizard (included with the SuiteCommerce Extensions Management SuiteApp).

The following list describes some of the benefits of using extensions:

  • Extensions introduce a mechanism within the NetSuite user interface for non-technical users to extend and update a site by installing and activating any number of pre-developed extensions from a marketplace.

  • Extensions allow any developer working with SuiteCommerce or SuiteCommerce Advanced (SCA) to create and manage their own extensions and activate them for any domains associated with their site. Partners can also publish and distribute extensions as bundled SuiteApps.

  • Extensions let you access much of the functionality that the NetSuite platform currently provides (SuiteScript, custom records/fields/forms, etc.).

  • Extensions eliminate version lock within SCA. This means that users have access to easier upgrades that do not compromise the functionality of features previously activated or enabled for a site. The Extensibility API introduces a contract that ensures NetSuite developers maintain backwards compatibility with SuiteCommerce code or with previous releases of SCA.