Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit 3acbf20

Browse files
committed
order,return,adress section filters, fixes
1 parent 4ff327a commit 3acbf20

File tree

4 files changed

+77
-2
lines changed

4 files changed

+77
-2
lines changed

component-filters.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,54 @@
231231
"commerce-returns-list"
232232
]
233233
},
234+
{
235+
"id": "orders-section",
236+
"components": [
237+
"text",
238+
"image",
239+
"button",
240+
"title",
241+
"hero",
242+
"cards",
243+
"columns",
244+
"fragment",
245+
"commerce-account-sidebar",
246+
"commerce-account-header",
247+
"commerce-orders-list"
248+
]
249+
},
250+
{
251+
"id": "address-section",
252+
"components": [
253+
"text",
254+
"image",
255+
"button",
256+
"title",
257+
"hero",
258+
"cards",
259+
"columns",
260+
"fragment",
261+
"commerce-account-sidebar",
262+
"commerce-account-header",
263+
"commerce-addresses"
264+
]
265+
},
266+
{
267+
"id": "returns-section",
268+
"components": [
269+
"text",
270+
"image",
271+
"button",
272+
"title",
273+
"hero",
274+
"cards",
275+
"columns",
276+
"fragment",
277+
"commerce-account-sidebar",
278+
"commerce-account-header",
279+
"commerce-returns-list"
280+
]
281+
},
234282
{
235283
"id": "cards",
236284
"components": [

models/_component-filters.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
]
77
},
88
{
9-
"id": "account-main",
9+
"id": "columns-main",
1010
"components": [
1111
"section",
1212
"columns-section"

models/_section.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,33 @@
208208
"commerce-customer-information",
209209
"commerce-returns-list"
210210
]
211+
},
212+
{
213+
"id": "orders-section",
214+
"components": [
215+
{"...": "./_common-blocks.json"},
216+
"commerce-account-sidebar",
217+
"commerce-account-header",
218+
"commerce-orders-list"
219+
]
220+
},
221+
{
222+
"id": "address-section",
223+
"components": [
224+
{"...": "./_common-blocks.json"},
225+
"commerce-account-sidebar",
226+
"commerce-account-header",
227+
"commerce-addresses"
228+
]
229+
},
230+
{
231+
"id": "returns-section",
232+
"components": [
233+
{"...": "./_common-blocks.json"},
234+
"commerce-account-sidebar",
235+
"commerce-account-header",
236+
"commerce-returns-list"
237+
]
211238
}
212239
]
213240
}

scripts/editor-support.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function updateUEInstrumentation() {
2929
const sections = main.querySelectorAll('[data-aue-model="section"]');
3030
const templates = ['order-details', 'enrichment', 'pdp', 'cart', 'mini-cart', 'plp',
3131
'checkout', 'search-order', 'search', 'login', 'forgot-password', 'create-account',
32-
'account'];
32+
'account', 'orders', 'address', 'returns'];
3333
const columnTemplates = ['account', 'orders', 'address', 'returns'];
3434

3535
// updated section filters according to the template

0 commit comments

Comments
 (0)