Backend Subtab

These settings configure SuiteScript properties. You can configure a variety of objects server-side. Among other things, modifying these objects can often improve performance of your website by restricting search results.

nlapiSearchRecord Results Per Page

This integer specifies the default number of search results displayed per page. By default, this is set to 20. Any Commerce feature that displays search results uses this value by default.

ID

suitescriptResultsPerPage

UI location

Advanced > Backend

JSON file

SuiteScript.json

Configuration file (pre-Vinson)

Configuration.js

Items Fields Advanced Name

This string sets the Field Set to be used when using the Item Search API to return item details. By default, this is set to order. If you are using a different Field Set name, you must define that Field Set name here.

Using a different Field Set name for each application can improve site performance. For each application, only those details required are returned for the pages specific to that implementation. For example, in the Shopping item details page, you may want to display a different set of fields than when your customer is in the My Account pages. In this case you can define two Field Sets: details to be used in ShopFlow and myDetails to be used in the My Account pages.

More Information: Prepare the Web Site Setup Record

ID

fieldKeys.itemsFieldsAdvancedName

UI location

Advanced > Backend

JSON file

SuiteScript.json

Configuration file (pre-Vinson)

Configuration.js

Shopping’s Order

This array defines the keys of the Shopping application’s order record. For example: shipaddress, summary, promocodes etc. To maximize performance, limit the set to only those fields required for your implementation.

ID

orderShoppingFieldKeys.keys

UI location

Advanced > Backend

ID (pre-Vinson)

order_shopping_field_keys

Configuration file (pre-Vinson)

Configuration.js

Shopping’s Order Items

This array defines the item fields returned by the Commerce API within the Shopping application.

ID

orderShoppingFieldKeys.items

UI location

Advanced > Backend

ID (pre-Vinson)

order_shopping_field_keys.items

Configuration file (pre-Vinson)

Configuration.js

Checkout’s Order

This array defines the keys of the Checkout application’s order record. For example: shipaddress, summary, promocodes etc.

ID

orderCheckoutFieldKeys.keys

UI location

Advanced > Backend

ID (pre-Vinson)

order_checkout_field_keys

Configuration file (pre-Vinson)

Configuration.js

Checkout’s Order Items

This array defines the item fields returned by the Commerce API within the Checkout application.

ID

orderCheckoutFieldKeys.items

UI location

Advanced > Backend

ID (pre-Vinson)

order_checkout_field_keys.items

Configuration file (pre-Vinson)

Configuration.js

Item Fields Standard

This array defines the set of fields to be returned by the Commerce API. To optimize performance, limit the set included here to only those fields required for your website. Also, use this object to ensure that custom item fields in your account are included in the Item Search API results. Add the custom field name to the list.

ID

fieldKeys.itemsFieldsStandardKeys

UI location

Advanced > Backend

Configuration file (pre-Vinson)

Configuration.js

Related Topics

General Notices