Skip to content

Commit 54be0f0

Browse files
authored
CIF-2127 - Enable showLink options for all product and categoryfields (#903)
1 parent 3acbf4a commit 54be0f0

File tree

13 files changed

+19
-0
lines changed
  • extensions/product-recs/content/src/main/content/jcr_root/apps/core/cif/extensions/product-recs/components/productrecommendations/v1/productrecommendations/_cq_dialog
  • ui.apps/src/main/content/jcr_root/apps/core/cif/components

13 files changed

+19
-0
lines changed

extensions/product-recs/content/src/main/content/jcr_root/apps/core/cif/extensions/product-recs/components/productrecommendations/v1/productrecommendations/_cq_dialog/.content.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
multiple="{Boolean}true"
7777
fieldLabel="Included categories"
7878
selectionId="slug"
79+
showLink="{Boolean}true"
7980
name="./includedCategories" />
8081
<useFilter
8182
jcr:primaryType="nt:unstructured"
@@ -151,6 +152,7 @@
151152
fieldLabel="Excluded categories"
152153
multiple="{Boolean}true"
153154
selectionId="slug"
155+
showLink="{Boolean}true"
154156
name="./excludedCategories" />
155157
<useFilter
156158
jcr:primaryType="nt:unstructured"

ui.apps/src/main/content/jcr_root/apps/core/cif/components/commerce/categorycarousel/v1/categorycarousel/_cq_dialog/.content.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
sling:resourceType="commerce/gui/components/common/cifcategoryfield"
3030
fieldLabel="Category"
3131
multiple="{Boolean}false"
32+
showLink="{Boolean}true"
3233
name="./categoryId" />
3334
<asset jcr:primaryType="nt:unstructured"
3435
sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"

ui.apps/src/main/content/jcr_root/apps/core/cif/components/commerce/featuredcategorylist/v1/featuredcategorylist/_cq_dialog/.content.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
sling:resourceType="commerce/gui/components/common/cifcategoryfield"
4545
fieldLabel="Category"
4646
multiple="{Boolean}false"
47+
showLink="{Boolean}true"
4748
name="./categoryId" />
4849
<asset jcr:primaryType="nt:unstructured"
4950
sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"

ui.apps/src/main/content/jcr_root/apps/core/cif/components/commerce/product/v1/product/_cq_dialog/.content.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
sling:resourceType="commerce/gui/components/common/cifproductfield"
1818
fieldDescription="The product that should be displayed by the product detail component."
1919
fieldLabel="Manual Product Selection"
20+
showLink="{Boolean}true"
2021
name="./selection"
2122
selectionId="sku"/>
2223
<well

ui.apps/src/main/content/jcr_root/apps/core/cif/components/commerce/productcarousel/v1/productcarousel/_cq_dialog/.content.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
sling:resourceType="commerce/gui/components/common/cifproductfield"
6969
fieldLabel="Product"
7070
name="./product"
71+
showLink="{Boolean}true"
7172
selectionId="combinedSku" />
7273
</products>
7374
</items>
@@ -89,6 +90,7 @@
8990
multiple="{Boolean}false"
9091
fieldDescription="The category of the products to be displayed."
9192
fieldLabel="Category"
93+
showLink="{Boolean}true"
9294
name="./category"/>
9395
<productCount jcr:primaryType="nt:unstructured"
9496
sling:resourceType="granite/ui/components/coral/foundation/form/numberfield"

ui.apps/src/main/content/jcr_root/apps/core/cif/components/commerce/productlist/v2/productlist/_cq_dialog/.content.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
sling:resourceType="commerce/gui/components/common/cifcategoryfield"
2121
fieldDescription="The category that should be displayed by the product list component."
2222
fieldLabel="Manual Category Selection"
23+
showLink="{Boolean}true"
2324
name="./category"/>
2425
<well
2526
jcr:primaryType="nt:unstructured"

ui.apps/src/main/content/jcr_root/apps/core/cif/components/commerce/productteaser/v1/productteaser/_cq_dialog/.content.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
fieldDescription="The product or product variant displayed by the teaser"
3636
fieldLabel="Select Product"
3737
name="./selection"
38+
showLink="{Boolean}true"
3839
selectionId="combinedSku"/>
3940
<call-to-action
4041
jcr:primaryType="nt:unstructured"

ui.apps/src/main/content/jcr_root/apps/core/cif/components/commerce/relatedproducts/v1/relatedproducts/_cq_dialog/.content.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
fieldDescription="Base product used to display related products. If empty, the component will fetch the product based on the selector of the URL."
2222
fieldLabel="Base product - Leave empty to use the current product of the generic product page."
2323
name="./product"
24+
showLink="{Boolean}true"
2425
selectionId="sku" />
2526
<relationType jcr:primaryType="nt:unstructured"
2627
sling:resourceType="granite/ui/components/coral/foundation/form/select"

ui.apps/src/main/content/jcr_root/apps/core/cif/components/content/button/v1/button/_cq_dialog/.content.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
sling:resourceType="commerce/gui/components/common/cifproductfield"
105105
fieldLabel="Product"
106106
name="./productSlug"
107+
showLink="{Boolean}true"
107108
selectionId="slug"/>
108109
</items>
109110
</well>
@@ -125,6 +126,7 @@
125126
jcr:primaryType="nt:unstructured"
126127
sling:resourceType="commerce/gui/components/common/cifcategoryfield"
127128
fieldLabel="Category"
129+
showLink="{Boolean}true"
128130
name="./categoryId" />
129131
</items>
130132
</well>

ui.apps/src/main/content/jcr_root/apps/core/cif/components/content/button/v2/button/_cq_dialog/.content.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
sling:resourceType="commerce/gui/components/common/cifproductfield"
9393
fieldLabel="Product"
9494
name="./productSku"
95+
showLink="{Boolean}true"
9596
selectionId="sku"/>
9697
</items>
9798
</well>
@@ -114,6 +115,7 @@
114115
jcr:primaryType="nt:unstructured"
115116
sling:resourceType="commerce/gui/components/common/cifcategoryfield"
116117
fieldLabel="Category"
118+
showLink="{Boolean}true"
117119
name="./categoryId" />
118120
</items>
119121
</well>

0 commit comments

Comments
 (0)