Configuring Product Lists
Depending on which SuiteCommerce Advanced version you're using, perform the following configuration procedures. For information about configuring properties for all versions, see Wishlist Subtab.
Only the default predefined list, My List, is automatically translated. If you add more predefined lists, be sure to update the translation files as needed. Custom lists created by users aren't translated. For detailed information about translation see Localization.
Configuring Predefined Templates
To add predefined templates:
-
Go to Commerce > Websites > Configuration.
-
Select your website and domain, then click Configure.
-
In the configuration record, go to the Shopping tab and the Wishlist subtab.
-
Set properties you need.
-
Click Save
To add predefined templates (pre-Vinson):
-
In the SC.Configuration.MyAccount.js file, duplicate the list_templates function and rename the list.
-
Add predefined templates.
, product_lists: { additionEnabled: true , loginRequired: true , list_templates: [ { 'templateid': '1' , 'name': 'My List' , 'description': 'sample predefined template' , 'scope': { 'id':'2' , 'name':'private' } , { 'templateid': '1' , 'name': 'New List' , 'description': 'new sample predefined template' , 'scope': { 'id':'2' , 'name':'private' } } ]
Configuring Item Display Options
To configure display options:
-
Go to Commerce > Websites > Configuration.
-
Select your website and domain and click Configure.
-
In the configuration record, go to the Shopping tab and the Wishlist subtab.
-
Set properties you need.
-
Click Save
To configure display options (pre-Vinson):
-
Create a custom module that includes SC.MyAccount.Configuration object as a dependency. See Configure Properties for details.
Note:Do not edit the original SC.MyAccount.Configuration.js source file. See Develop Your SCA Customization for information and best practices on customizing JavaScript.
-
Redefine the product_lists_templates array in the custom module. For details on these properties, see Display Modalities for Product List Items.
The following example shows a possible configuration.
, product_lists_templates: [
{id: 'list', name: 'List', columns: 1, icon: 'list-header-view-icon-list', isDefault: true}
, {id: 'condensed', name: 'Condensed', columns: 1, icon: 'list-header-view-icon-condensed'}
]