Configuring Product Lists

This topic applies to

Applies to

SuiteCommerce Web Stores

Follow the correct configuration procedures below, depending on the version of SuiteCommerce Advanced you are implementing. For information on configurable properties, regardless of your implementation, see Wishlist Subtab.

Configuring Predefined Templates

Note

Only the default predefined list, My List, is automatically translated. When adding additional predefined lists, ensure that you edit the translation files as needed. Private lists created by users are not translated. For detailed information on translation see Localization.


To add predefined templates:

  1. Select the domain to configure at Setup > SuiteCommerce Advanced > Configuration.

  2. In the SuiteCommerce Configuration record, navigate to the Shopping tab and the Wishlist subtab.

  3. Set feature properties as required.

  4. Save the Configuration record.

To add predefined templates (pre-Vinson):

  1. In the SC.Configuration.MyAccount.js file, duplicate the list_templates function and rename the list.

  2. 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:

  1. Select the domain to configure at Setup > SuiteCommerce Advanced > Configuration.

  2. In the SuiteCommerce Configuration record, navigate to the Shopping tab and the Wishlist subtab.

  3. Set feature properties as required.

  4. Save the Configuration record.

To configure display options (pre-Vinson):

  1. 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 directly. See Customize and Extend Core SuiteCommerce Advanced Modules for information and best practices on customizing JavaScript.


  2. 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'}
      ]