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

DOC: Make Product chooser configurable

XMLWordPrintable

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

      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)

       

       

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

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