2021.1.0 Release SC/SCA/SCMA

The 2021.1.0 major release includes the following features and enhancements:

These enhancements typically apply to SuiteCommerce, SuiteCommerce MyAccount, and SuiteCommerce Advanced; however, some features could apply to a subset of each. The following enhancements explain the implementations to which they apply.

Reorder Items on Your SuiteCommerce MyAccount Site

Applies to: SuiteCommerce MyAccount

With the 2021.1 release, website users can reorder a previously ordered item using SuiteCommerce MyAccount. Website users access their Reorder Items page using the site’s My Account application. The Reorder Items page lets logged in users view basic information about items they have previously ordered including product name, last purchased date, and price.

Enable the Reorder Items feature to give website users the option to reorder past purchases.

For more information, see Reorder Items.

Manage Subscriptions Using Commerce Websites

Applies to: SuiteCommerce, SuiteCommerce MyAccount, and SuiteCommerce Advanced

With the 2021.1 release, website users can view and manage their existing subscription services using the site’s My Account application. Subscriptions for Commerce websites lets website users perform some subscription-management tasks typically handled by company employees through the NetSuite interface. Users can also view and manage non-inventory items.

SuiteBilling Subscriptions for Commerce websites integrates with NetSuite’s SuiteBilling feature. Enable SuiteBilling to use SuiteBilling Subscriptions. You can create subscription plans, price books, price plans, and billing accounts through SuiteBilling. After SuiteBilling setup is complete, you can configure several key options to control what a site user can change via the Subscriptions for Commerce websites user interface.

For more information, see SuiteBilling Subscriptions for Commerce Websites.

SuiteCommerce Developer Tools Require Token-Based Authentication

Applies to: SuiteCommerce, SuiteCommerce Advanced, and SiteBuilder

All versions of the SuiteCommerce Developer Tools, including the Extension, Theme, and SuiteCommerce Advanced command-line tools, now require token-based authentication when connecting to NetSuite. Starting with NetSuite release 2021.1.0, the developer tools no longer accept user credentials for authentication with NetSuite. This change is required for compliance with the Mandatory Two-Factor Authentication (2FA) policy for Administrators and other highly privileged roles. For more information, see Token Based Authentication.

For SuiteCommerce Advanced and SiteBuilder implementations, apply a patch to prepare your installation for token-based authentication as described in Enable Token-Based Authentication.

Extensibility API Updates

The 2021.1.0 release of SuiteCommerce includes new components as well as updates to existing components:

Search – The Search component is a new component in release 2021.1. It enables you to get the base URL of the Item Search API. You can pass in a number of parameters, which are attached as querystring parameters to the returned URL.

Environment – The Environment component includes two new methods to register trackers in the application (addTracker()) and to trigger custom events (triggerEvent()). Trackers enable you to do something in response to application events such as cart updates, page views, or the completion of a transaction. You define a tracker as an object with application events as properties and a function as a value of the property. Custom events can be triggered with the new method triggerEvent(). Define custom events in a tracker object and register them with addTracker(). Then trigger the custom event elsewhere in the extension to invoke the function.

UserProfile – Retrieve credit card details with the new method getCreditCards() in the UserProfile component. This method returns an array of all credit cards of the visitor currently logged in to your SuiteCommerce web store. Credit card information includes data such as the card holder name, card number, and expiration date.

Cart – The following new methods are available in the Cart component in this release:

  • getLatestAddition() - Retrieves information about the item that was last added to the cart.

  • setPurchaseOrderNumber() and getPurchaseOrderNumber() - These methods enable you to set a purchase order number on the order and retrieve the purchase order number if it is already set.

  • setShipMethod() - Sets the shipping method on the order.

  • setTransactionBodyField() - Lets you set the value of a custom transaction body field.

See the Extensibility API reference for detailed information about the updates to these components.

Configuration Changes

Applies to: SuiteCommerce, SuiteCommerce MyAccount, and SuiteCommerce Advanced

The following configuration properties have been added with the 2021.1.0 release. Refer to the appropriate section for more information.

Property Label (SuiteCommerce Configuration Record)

Property ID

More Information

Property Location (SuiteCommerce Configuration Record Tab > Subtab)

Allow user to reorder items

myAccountPreferences.reorderEnabled

Allow User to Reorder Items

My Account > Preferences

Subscription line status change

subscriptions.lineStatusChange

Subscription Line Status Change

My Account > Subscriptions

Allow the user to cancel/suspend required lines

subscriptions.allowToCancelSuspendRequiredLines

Allow the User to Cancel/Suspend Required Lines

My Account > Subscriptions

Subscription general status change

subscriptions.generalStatusChange

Subscription General Status Change

My Account > Subscriptions

Disallow the user to upgrade quantity

subscriptions.disallowUpgradeQuantity

Disallow the User to Upgrade Quantity

My Account > Subscriptions

Disallow the user to downgrade quantity

subscriptions.disallowDowngradeQuantity

Disallow the User to Downgrade Quantity

My Account > Subscriptions

List of translations

extraTranslations.en_AU

extraTranslations.en_CA

extraTranslations.en_GB

extraTranslations.fi_FI

extraTranslations.id_ID

extraTranslations.nb_NO

extraTranslations.vi_VN

Translations Subtab

Multi-Domain > Translations

Node.js Requirement Change

Applies to: SuiteCommerce, SuiteCommerce MyAccount, and SuiteCommerce Advanced

With the 2021.1.0 release, the developer tools have been modified to support Node.js version 12.21.0. To use the Theme, Extension, or core SCA 2021.1 developer tools, you must update Node.js to this version.

For more information, see Install Node.js.

Third-Party Library Updates

Applies to: SuiteCommerce, SuiteCommerce MyAccount, and SuiteCommerce Advanced

With the 2021.1.0 release, the following third-party libraries have been removed:

  • almond

  • require.js

No other library updates have been made for this release.

Issue Fixes

Applies to: SuiteCommerce, SuiteCommerce MyAccount, and SuiteCommerce Advanced

The 2021.1.0 release includes all minor release fixes, improvements, and security updates of the previous release. See 2020.2.x Minor Releases for details.

Related Topics

General Notices