To make best–selling items available as a sorting option, facet, or search criteria in your web store, you must first add it to your Web Site Setup record.
To set up a best seller field as a search, facet, or sort field for your website:
-
Go to Setup > SuiteCommerce Advanced > Set Up Web Site and click Edit for the website where you want to set up best seller sorting.
-
Navigate to the Search Index tab.
-
Go to the Search Fields, Facet Fields, or Sort Fields subtab, depending on whether you want to use Best Sellers as a search, facet, or sort option.
For more information on search settings, see Search Settings Overview.
-
In the Field Name list, select the best seller custom fields and click Add.
You can add any or all of these fields according to whether you want to determine best-selling items by sales quantity or sales amount.
-
Click Save.
Best Seller Fields
The SuiteCommerce Best Sellers extension adds the following fields to the Item record to calculate the best seller rating:
Field Name
|
Field ID
|
Last 7 Days – Sales Amount
|
custitem_ns_sc_ext_ts_7_amount
|
Last 7 Days – Sales Quantity
|
custitem_ns_sc_ext_ts_7_quantity
|
Last 30 Days – Sales Amount
|
custitem_ns_sc_ext_ts_30_amount
|
Last 30 Days – Sales Quantity
|
custitem_ns_sc_ext_ts_30_quantity
|
Last 90 Days – Sales Amount
|
custitem_ns_sc_ext_ts_90_amount
|
Last 90 Days – Sales Quantity
|
custitem_ns_sc_ext_ts_90_quantity
|
Last 365 Days – Sales Amount
|
custitem_ns_sc_ext_ts_365_amount
|
Last 365 Days – Sales Quantity
|
custitem_ns_sc_ext_ts_365_quantity
|