Uploaded image for project: 'E-commerce'
  1. E-commerce
  2. ECOMMERCE-417

DOC: Make Product chooser configurable

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • None
    • None
    • None
    • Yes
    • Content Mngmt 08, Content Mngmt 09
    • 1

    Description

      We have the UI for new product chooser with 4 columns: Connector, Category, Product and Preview like this.

      We can hide the columns for the product chooser by configuring in new-product-chooser.yaml.

      e.g. /ecommerce-templating/dialogs/components/new-category-list.yaml 

      By default, enableCategorySelection and enableProductSelection are always true. We don't need to configure them in yaml.
      CF: ECOMMERCE-416 Rename enabledCategoryView > enableCategorySelection, enabledProductView > enableProductSelection.
      + If enableProductSelection is false then Product and Preview columns in UI are disabled. 

      + If enableCategorySelection is false then Category, Product and Preview columns are disabled. ( Because Product column is depended on category column, so if enableCategorySelection is false then don't care enableProductSelection is true or false)

      + If having only one connection which is enabled or configure definitionName/connectionName in yaml then Connector column is disabled.

      + If configuring wrong definitionName/connectionName in yaml then check if have only one connection then Connector column is disabled.

      + If configuring wrong definitionName/connectionName in yaml then check if have more one connection then Connector column is displayed as normal.

      + If having only one connection which is enabled or configure definitionName/connectionName in yaml and enableCategorySelection is false then don't disable Connector column. ( to prevent the empty dialog)

       

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                jlegendre Julie Legendre
                thuy.to Thuy To
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 3.25h
                      3.25h