[ECOMMERCE-417] DOC: Make Product chooser configurable Created: 09/Jun/21 Updated: 26/Jul/21 Resolved: 26/Jul/21 |
|
| Status: | Closed |
| Project: | E-commerce |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Thuy To | Assignee: | Julie Legendre |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | VN-Implementation | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 3.25h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Documentation update required: |
Yes
|
||||||||
| Date of First Response: | |||||||||
| Epic Link: | DOC: ECOM version 1.3 updates | ||||||||
| Sprint: | Content Mngmt 08, Content Mngmt 09 | ||||||||
| Story Points: | 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. + 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)
|
| Comments |
| Comment by Julie Legendre [ 24/Jun/21 ] |
|
Thank you thuy.to
|