Skip to content

Commit 399fc4c

Browse files
committed
Update product-list-page.json
1 parent 5aff97f commit 399fc4c

File tree

3 files changed

+10
-42
lines changed

3 files changed

+10
-42
lines changed

component-definition.json

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -275,27 +275,7 @@
275275
"model": "product-list-page",
276276
"plugins": {
277277
"da": {
278-
"rows": 4,
279-
"columns": 2,
280-
"type": "key-value-block",
281-
"fields": [
282-
{
283-
"name": "category",
284-
"selector": "div:nth-child(1)>div:nth-child(2)>p:nth-child(1)"
285-
},
286-
{
287-
"name": "searchterm",
288-
"selector": "div:nth-child(2)>div:nth-child(2)>p:nth-child(1)"
289-
},
290-
{
291-
"name": "zoom",
292-
"selector": "div:nth-child(3)>div:nth-child(2)>p:nth-child(1)"
293-
},
294-
{
295-
"name": "badges",
296-
"selector": "div:nth-child(4)>div:nth-child(2)>p:nth-child(1)"
297-
}
298-
]
278+
"type": "key-value-block"
299279
}
300280
}
301281
},

component-models.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -258,28 +258,26 @@
258258
"valueType": "string",
259259
"name": "category",
260260
"label": "Category",
261-
"value": "category"
261+
"value": ""
262262
},
263263
{
264264
"component": "text",
265265
"valueType": "string",
266266
"name": "searchterm",
267267
"label": "Search Term",
268-
"value": "searchterm"
268+
"value": ""
269269
},
270270
{
271271
"component": "boolean",
272272
"label": "Zoom Product Image on Hover",
273273
"name": "zoom",
274-
"valueType": "boolean",
275-
"value": "zoom"
274+
"valueType": "boolean"
276275
},
277276
{
278277
"component": "boolean",
279278
"label": "Use Product Badges",
280279
"name": "badges",
281-
"valueType": "boolean",
282-
"value": "badges"
280+
"valueType": "boolean"
283281
}
284282
]
285283
},

ue/models/blocks/product-list-page.json

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,7 @@
66
"model": "product-list-page",
77
"plugins": {
88
"da": {
9-
"rows": 4,
10-
"columns": 2,
11-
"type": "key-value-block",
12-
"fields": [
13-
{ "name": "category", "selector": "div:nth-child(1)>div:nth-child(2)>p:nth-child(1)" },
14-
{ "name": "searchterm", "selector": "div:nth-child(2)>div:nth-child(2)>p:nth-child(1)" },
15-
{ "name": "zoom", "selector": "div:nth-child(3)>div:nth-child(2)>p:nth-child(1)" },
16-
{ "name": "badges", "selector": "div:nth-child(4)>div:nth-child(2)>p:nth-child(1)" }
17-
]
9+
"type": "key-value-block"
1810
}
1911
}
2012
}
@@ -28,28 +20,26 @@
2820
"valueType": "string",
2921
"name": "category",
3022
"label": "Category",
31-
"value": "category"
23+
"value": ""
3224
},
3325
{
3426
"component": "text",
3527
"valueType": "string",
3628
"name": "searchterm",
3729
"label": "Search Term",
38-
"value": "searchterm"
30+
"value": ""
3931
},
4032
{
4133
"component": "boolean",
4234
"label": "Zoom Product Image on Hover",
4335
"name": "zoom",
44-
"valueType": "boolean",
45-
"value": "zoom"
36+
"valueType": "boolean"
4637
},
4738
{
4839
"component": "boolean",
4940
"label": "Use Product Badges",
5041
"name": "badges",
51-
"valueType": "boolean",
52-
"value": "badges"
42+
"valueType": "boolean"
5343
}
5444
]
5545
}

0 commit comments

Comments
 (0)