@thryveai/theme-interfaces 2.7.115 → 2.7.117
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -29
- package/package.json +29 -29
- package/dist/index.d.ts +0 -38
- package/dist/index.js +0 -41
- package/dist/interfaces/admin-images-interfaces.d.ts +0 -11
- package/dist/interfaces/admin-images-interfaces.js +0 -2
- package/dist/interfaces/admin-settings-interfaces.d.ts +0 -73
- package/dist/interfaces/admin-settings-interfaces.js +0 -2
- package/dist/interfaces/default-settings.interfaces.d.ts +0 -92
- package/dist/interfaces/default-settings.interfaces.js +0 -3
- package/dist/interfaces/default-theme.interface.d.ts +0 -736
- package/dist/interfaces/default-theme.interface.js +0 -2
- package/dist/interfaces/icons.interfaces.d.ts +0 -7
- package/dist/interfaces/icons.interfaces.js +0 -2
- package/dist/interfaces/retailer-settings.interfaces.d.ts +0 -696
- package/dist/interfaces/retailer-settings.interfaces.js +0 -2
- package/dist/interfaces/shared-settings-interfaces.d.ts +0 -5
- package/dist/interfaces/shared-settings-interfaces.js +0 -2
- package/dist/interfaces/shared-settings.interfaces.d.ts +0 -31
- package/dist/interfaces/shared-settings.interfaces.js +0 -2
- package/dist/interfaces/sts-settings.interfaces.d.ts +0 -6
- package/dist/interfaces/sts-settings.interfaces.js +0 -2
- package/dist/interfaces/theme.interfaces.d.ts +0 -717
- package/dist/interfaces/theme.interfaces.js +0 -2
- package/dist/mobile/interfaces/mobile-admin-settings.interfaces.d.ts +0 -8
- package/dist/mobile/interfaces/mobile-admin-settings.interfaces.js +0 -2
- package/dist/mobile/interfaces/mobile-retailer-settings.interfaces.d.ts +0 -58
- package/dist/mobile/interfaces/mobile-retailer-settings.interfaces.js +0 -2
- package/dist/mobile/reactnative/MobileDefaultSettings.d.ts +0 -6
- package/dist/mobile/reactnative/MobileDefaultSettings.js +0 -21
- package/dist/mobile/reactnative/MobileSettingsTemplate.AdminUi.d.ts +0 -2
- package/dist/mobile/reactnative/MobileSettingsTemplate.AdminUi.js +0 -96
- package/dist/storefront/SFUIImagesTemplate.AdminUi.d.ts +0 -2
- package/dist/storefront/SFUIImagesTemplate.AdminUi.js +0 -112
- package/dist/storefront/SFUISettingsTemplate.AdminUi.d.ts +0 -16
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +0 -1110
- package/dist/storefront/SFUISharedSettingsTemplate.AdminUi.d.ts +0 -4
- package/dist/storefront/SFUISharedSettingsTemplate.AdminUi.js +0 -132
- package/dist/storefront/SFUIThemesTemplate.AdminUi.d.ts +0 -3
- package/dist/storefront/SFUIThemesTemplate.AdminUi.js +0 -113
- package/dist/storefront/contentEngineComponents.d.ts +0 -25
- package/dist/storefront/contentEngineComponents.js +0 -27
- package/dist/storefront/defaultIconsStorefront.d.ts +0 -3
- package/dist/storefront/defaultIconsStorefront.js +0 -160
- package/dist/storefront/defaultImagesStorefront.d.ts +0 -3
- package/dist/storefront/defaultImagesStorefront.js +0 -100
- package/dist/storefront/defaultSettingsStorefront.d.ts +0 -3
- package/dist/storefront/defaultSettingsStorefront.js +0 -395
- package/dist/storefront/defaultSharedSettings.d.ts +0 -3
- package/dist/storefront/defaultSharedSettings.js +0 -29
- package/dist/storefront/defaultThemeStorefront.d.ts +0 -5
- package/dist/storefront/defaultThemeStorefront.js +0 -1207
- package/dist/storefront/productBadgeAttributes.d.ts +0 -6
- package/dist/storefront/productBadgeAttributes.js +0 -31
- package/dist/sts/STSImagesTemplate.AdminUi.d.ts +0 -2
- package/dist/sts/STSImagesTemplate.AdminUi.js +0 -72
- package/dist/sts/STSSettingsTemplate.AdminUi.d.ts +0 -2
- package/dist/sts/STSSettingsTemplate.AdminUi.js +0 -30
- package/dist/sts/defaultSettingsSts.d.ts +0 -3
- package/dist/sts/defaultSettingsSts.js +0 -9
- package/dist/theme-templates/index.d.ts +0 -3
- package/dist/theme-templates/index.js +0 -8
|
@@ -1,1110 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AdminSettingsTemplateSFUI = exports.validationTypes = exports.AdminTemplateInputTypes = void 0;
|
|
4
|
-
exports.AdminTemplateInputTypes = {
|
|
5
|
-
checkbox: "checkbox",
|
|
6
|
-
collapsableObject: "collapsableObject",
|
|
7
|
-
color: "color",
|
|
8
|
-
dropdown: "dropdown",
|
|
9
|
-
inputChar: "inputChar",
|
|
10
|
-
inputNumber: "inputNumber",
|
|
11
|
-
multiDropdown: "multiDropdown",
|
|
12
|
-
nullObject: "nullObject",
|
|
13
|
-
object: "object",
|
|
14
|
-
images: "images",
|
|
15
|
-
string: "string",
|
|
16
|
-
array: "array",
|
|
17
|
-
storeSelection: "storeSelection",
|
|
18
|
-
};
|
|
19
|
-
exports.validationTypes = [
|
|
20
|
-
"luhnValidation",
|
|
21
|
-
"alphaNumeric",
|
|
22
|
-
"alphaOnly",
|
|
23
|
-
"numericOnly",
|
|
24
|
-
"anyPhone",
|
|
25
|
-
"email",
|
|
26
|
-
"password",
|
|
27
|
-
"required",
|
|
28
|
-
"usPhone",
|
|
29
|
-
"usMobileNumber",
|
|
30
|
-
"caPhone",
|
|
31
|
-
"auPhone",
|
|
32
|
-
"iePhone",
|
|
33
|
-
"caProvince",
|
|
34
|
-
"usState",
|
|
35
|
-
"auState",
|
|
36
|
-
"ieCounty",
|
|
37
|
-
"caPostCode",
|
|
38
|
-
"usPostCode",
|
|
39
|
-
"auPostCode",
|
|
40
|
-
"iePostCode",
|
|
41
|
-
"noSpecialChar",
|
|
42
|
-
"correctDate",
|
|
43
|
-
];
|
|
44
|
-
exports.AdminSettingsTemplateSFUI = {
|
|
45
|
-
adminPanelOnly: {
|
|
46
|
-
title: "Retailer Details",
|
|
47
|
-
description: "Only used to identify the banner in the admin panel",
|
|
48
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
49
|
-
value: {
|
|
50
|
-
bannerName: {
|
|
51
|
-
title: "Retailer Name",
|
|
52
|
-
description: "Set the banner name here.",
|
|
53
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
54
|
-
},
|
|
55
|
-
logoUrl: {
|
|
56
|
-
title: "Retailer Logo",
|
|
57
|
-
description: "Set a logo here to help identify the banner.",
|
|
58
|
-
type: exports.AdminTemplateInputTypes.images,
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
accountPage: {
|
|
63
|
-
title: "My account",
|
|
64
|
-
description: "",
|
|
65
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
66
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784302/Account+Page",
|
|
67
|
-
value: {
|
|
68
|
-
profileTab: {
|
|
69
|
-
title: "Profile tab",
|
|
70
|
-
description: "",
|
|
71
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
72
|
-
value: {
|
|
73
|
-
deleteAccountButton: {
|
|
74
|
-
title: "Delete account button",
|
|
75
|
-
description: "This allows the customer to delete their account from the My Account screen on the Storefront.",
|
|
76
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3486023742/Delete+account+button",
|
|
77
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
loyaltyTab: {
|
|
82
|
-
title: "Loyalty tab",
|
|
83
|
-
description: "",
|
|
84
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
85
|
-
value: {
|
|
86
|
-
enabled: {
|
|
87
|
-
title: "Enable loyalty tab",
|
|
88
|
-
description: "This will display the loyalty tab in the My Account section on the Storefront.",
|
|
89
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
90
|
-
},
|
|
91
|
-
disabledEdit: {
|
|
92
|
-
title: "Disable loyalty number editing",
|
|
93
|
-
description: "This will prevent users from being able to edit their loyalty number on the Storefront.",
|
|
94
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
95
|
-
},
|
|
96
|
-
loyaltyNumberLength: {
|
|
97
|
-
title: "Loyalty number length",
|
|
98
|
-
description: "This is the number of digits required for a loyalty number to be deemed valid.",
|
|
99
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
100
|
-
},
|
|
101
|
-
loyaltyNumberPrefix: {
|
|
102
|
-
title: "Loyalty number prefix",
|
|
103
|
-
description: "This is a series of hardcoded digits that appear at the beginning of every loyalty number. Adding these digits here means the customer doesn’t have to on the Storefront. ",
|
|
104
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
105
|
-
},
|
|
106
|
-
loyaltyValidationType: {
|
|
107
|
-
title: "Loyalty number validation",
|
|
108
|
-
description: "Select the types of validations you would like the loyalty number to require.",
|
|
109
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
110
|
-
options: exports.validationTypes,
|
|
111
|
-
},
|
|
112
|
-
barcodeSettings: {
|
|
113
|
-
title: "Barcode",
|
|
114
|
-
description: "",
|
|
115
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
116
|
-
value: {
|
|
117
|
-
enabled: {
|
|
118
|
-
title: "Enable barcode",
|
|
119
|
-
description: "This will display the customers loyalty card barcode on the Storefront.",
|
|
120
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
121
|
-
},
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
|
-
},
|
|
126
|
-
},
|
|
127
|
-
},
|
|
128
|
-
// accountPage: {
|
|
129
|
-
// title: "Account Page",
|
|
130
|
-
// description: "Account page settings",
|
|
131
|
-
// type: AdminTemplateInputTypes.collapsableObject,
|
|
132
|
-
// helpLink:
|
|
133
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784302/Account+Page",
|
|
134
|
-
// value: {
|
|
135
|
-
// loyaltyTab: {
|
|
136
|
-
// title: "Loyalty Tab",
|
|
137
|
-
// description: "Set up Loyalty Tab on account page",
|
|
138
|
-
// type: AdminTemplateInputTypes.collapsableObject,
|
|
139
|
-
// value: {
|
|
140
|
-
// enabled: {
|
|
141
|
-
// title: "Enable Loyalty Tab",
|
|
142
|
-
// description: "Enable Loyalty tab section within My Account page",
|
|
143
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
144
|
-
// },
|
|
145
|
-
// disabledEdit: {
|
|
146
|
-
// title: "Disable Loyalty edit",
|
|
147
|
-
// description: "Prevent users to change their loyalty number",
|
|
148
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
149
|
-
// },
|
|
150
|
-
// loyaltyNumberLength: {
|
|
151
|
-
// title: "Loyalty Number Length",
|
|
152
|
-
// description: "Control the loyalty number length",
|
|
153
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
154
|
-
// },
|
|
155
|
-
// loyaltyNumberPrefix: {
|
|
156
|
-
// title: "Loyalty Number Prefix",
|
|
157
|
-
// description:
|
|
158
|
-
// "Add hardcoded prefix for loyalty numbers (this will affect the length)",
|
|
159
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
160
|
-
// },
|
|
161
|
-
// loyaltyValidationType: {
|
|
162
|
-
// title: "Loyalty Number Validation",
|
|
163
|
-
// description: "Select loyalty validation types",
|
|
164
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
165
|
-
// options: validationTypes,
|
|
166
|
-
// },
|
|
167
|
-
// },
|
|
168
|
-
// },
|
|
169
|
-
// idp: {
|
|
170
|
-
// title: "IDP",
|
|
171
|
-
// description: "Use an external account page",
|
|
172
|
-
// type: AdminTemplateInputTypes.collapsableObject,
|
|
173
|
-
// value: {
|
|
174
|
-
// enabled: {
|
|
175
|
-
// title: "Enable",
|
|
176
|
-
// description: "Enable the external My Account page",
|
|
177
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
178
|
-
// },
|
|
179
|
-
// target: {
|
|
180
|
-
// title: "Link Target",
|
|
181
|
-
// description: "Should the link open in the same or new tab?",
|
|
182
|
-
// type: AdminTemplateInputTypes.dropdown,
|
|
183
|
-
// options: ["_self", "_blank"],
|
|
184
|
-
// },
|
|
185
|
-
// url: {
|
|
186
|
-
// title: "Link URL",
|
|
187
|
-
// description: "URL to link to My Account page",
|
|
188
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
189
|
-
// },
|
|
190
|
-
// },
|
|
191
|
-
// },
|
|
192
|
-
// profileTab: {
|
|
193
|
-
// title: "Profile Tab",
|
|
194
|
-
// description: "Profile Tab settings",
|
|
195
|
-
// type: AdminTemplateInputTypes.collapsableObject,
|
|
196
|
-
// value: {
|
|
197
|
-
// deleteAccountButton: {
|
|
198
|
-
// title: "Delete account button",
|
|
199
|
-
// description:
|
|
200
|
-
// "Enable / disable delete account button on My Account page",
|
|
201
|
-
// helpLink:
|
|
202
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3486023742/Delete+account+button",
|
|
203
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
204
|
-
// },
|
|
205
|
-
// },
|
|
206
|
-
// },
|
|
207
|
-
// },
|
|
208
|
-
// },
|
|
209
|
-
// addressSettings: {
|
|
210
|
-
// title: "Address Settings",
|
|
211
|
-
// description: "Controls how the user can add an address",
|
|
212
|
-
// type: AdminTemplateInputTypes.collapsableObject,
|
|
213
|
-
// value: {
|
|
214
|
-
// addressValidationTypes: {
|
|
215
|
-
// title: "Address Validation",
|
|
216
|
-
// description: "User address validation settings.",
|
|
217
|
-
// helpLink:
|
|
218
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/Address+Validation",
|
|
219
|
-
// type: AdminTemplateInputTypes.collapsableObject,
|
|
220
|
-
// value: {
|
|
221
|
-
// addressLine1: {
|
|
222
|
-
// title: "Address Line 1",
|
|
223
|
-
// description: "Sets the validation types for user addresses",
|
|
224
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
225
|
-
// options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
226
|
-
// },
|
|
227
|
-
// addressLine2: {
|
|
228
|
-
// title: "Address Line 2",
|
|
229
|
-
// description: "Sets the validation types for user addresses",
|
|
230
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
231
|
-
// options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
232
|
-
// },
|
|
233
|
-
// city: {
|
|
234
|
-
// title: "City",
|
|
235
|
-
// description: "Sets the validation types for user addresses",
|
|
236
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
237
|
-
// options: ["alphaNumeric", "alphaOnly", "required"],
|
|
238
|
-
// },
|
|
239
|
-
// countyProvinceState: {
|
|
240
|
-
// title: "County/Province/State",
|
|
241
|
-
// description: "Sets the validation types for user addresses",
|
|
242
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
243
|
-
// options: [
|
|
244
|
-
// "alphaNumeric",
|
|
245
|
-
// "alphaOnly",
|
|
246
|
-
// "auState",
|
|
247
|
-
// "ieCounty",
|
|
248
|
-
// "usState",
|
|
249
|
-
// "caProvince",
|
|
250
|
-
// "required",
|
|
251
|
-
// ],
|
|
252
|
-
// },
|
|
253
|
-
// familyName: {
|
|
254
|
-
// title: "User's Surname",
|
|
255
|
-
// description: "Sets the validation types for user addresses",
|
|
256
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
257
|
-
// options: ["alphaNumeric", "alphaOnly", "required"],
|
|
258
|
-
// },
|
|
259
|
-
// firstName: {
|
|
260
|
-
// title: "User's first name",
|
|
261
|
-
// description: "Sets the validation types for user addresses",
|
|
262
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
263
|
-
// options: ["alphaNumeric", "alphaOnly", "required"],
|
|
264
|
-
// },
|
|
265
|
-
// instructions: {
|
|
266
|
-
// title: "User Instructions Fields",
|
|
267
|
-
// description:
|
|
268
|
-
// "Validation for the input fields for user instructions",
|
|
269
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
270
|
-
// options: ["alphaNumeric", "alphaOnly", "required", "numericOnly"],
|
|
271
|
-
// },
|
|
272
|
-
// phoneNumber: {
|
|
273
|
-
// title: "Phone Number",
|
|
274
|
-
// description: "The number to be used to contact the user",
|
|
275
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
276
|
-
// options: [
|
|
277
|
-
// "usPhone",
|
|
278
|
-
// "usMobileNumber",
|
|
279
|
-
// "numericOnly",
|
|
280
|
-
// "auPhone",
|
|
281
|
-
// "caPhone",
|
|
282
|
-
// "iePhone",
|
|
283
|
-
// "anyPhone",
|
|
284
|
-
// "required",
|
|
285
|
-
// ],
|
|
286
|
-
// },
|
|
287
|
-
// postCode: {
|
|
288
|
-
// title: "Post / zip code",
|
|
289
|
-
// description: "Sets the validation types for user addresses",
|
|
290
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
291
|
-
// options: [
|
|
292
|
-
// "alphaNumeric",
|
|
293
|
-
// "auPostCode",
|
|
294
|
-
// "caPostCode",
|
|
295
|
-
// "iePostCode",
|
|
296
|
-
// "usPostCode",
|
|
297
|
-
// "numericOnly",
|
|
298
|
-
// "required",
|
|
299
|
-
// ],
|
|
300
|
-
// },
|
|
301
|
-
// smsNumber: {
|
|
302
|
-
// title: "SMS number",
|
|
303
|
-
// description: "Sets the validation types for user addresses",
|
|
304
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
305
|
-
// options: [
|
|
306
|
-
// "usPhone",
|
|
307
|
-
// "usMobileNumber",
|
|
308
|
-
// "numericOnly",
|
|
309
|
-
// "auPhone",
|
|
310
|
-
// "caPhone",
|
|
311
|
-
// "iePhone",
|
|
312
|
-
// "anyPhone",
|
|
313
|
-
// "required",
|
|
314
|
-
// ],
|
|
315
|
-
// },
|
|
316
|
-
// },
|
|
317
|
-
// },
|
|
318
|
-
// eircode: {
|
|
319
|
-
// title: "Eircode",
|
|
320
|
-
// description: "Add a link to the address section",
|
|
321
|
-
// type: AdminTemplateInputTypes.collapsableObject,
|
|
322
|
-
// value: {
|
|
323
|
-
// enabled: {
|
|
324
|
-
// title: "Enable",
|
|
325
|
-
// description: "",
|
|
326
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
327
|
-
// },
|
|
328
|
-
// url: {
|
|
329
|
-
// title: "Link URL",
|
|
330
|
-
// description: "",
|
|
331
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
332
|
-
// },
|
|
333
|
-
// },
|
|
334
|
-
// },
|
|
335
|
-
// // integration: {
|
|
336
|
-
// // title: "Address Integration Settings",
|
|
337
|
-
// // description: "Coming Soon",
|
|
338
|
-
// // type: AdminTemplateInputTypes.nullObject,
|
|
339
|
-
// // },
|
|
340
|
-
// useAddressValidation: {
|
|
341
|
-
// title: "useAddressValidation",
|
|
342
|
-
// description: "useAddressValidation",
|
|
343
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
344
|
-
// },
|
|
345
|
-
// },
|
|
346
|
-
// },
|
|
347
|
-
// cartSummary: {
|
|
348
|
-
// title: "Cart & Order Summary",
|
|
349
|
-
// description: "Settings for the Cart or Order Summary section",
|
|
350
|
-
// type: AdminTemplateInputTypes.collapsableObject,
|
|
351
|
-
// value: {
|
|
352
|
-
// showTaxTotal: {
|
|
353
|
-
// title: "showTaxTotal",
|
|
354
|
-
// description: " ",
|
|
355
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
356
|
-
// visible: true,
|
|
357
|
-
// },
|
|
358
|
-
// showTaxGroups: {
|
|
359
|
-
// title: "showTaxGroups",
|
|
360
|
-
// description: " ",
|
|
361
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
362
|
-
// visible: true,
|
|
363
|
-
// },
|
|
364
|
-
// hideTaxOnSummary: {
|
|
365
|
-
// title: "hideTaxOnSummary",
|
|
366
|
-
// description: " ",
|
|
367
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
368
|
-
// visible: true,
|
|
369
|
-
// },
|
|
370
|
-
// },
|
|
371
|
-
// },
|
|
372
|
-
// checkout: {
|
|
373
|
-
// title: "Checkout Summary",
|
|
374
|
-
// description: "Coming Soon",
|
|
375
|
-
// type: AdminTemplateInputTypes.collapsableObject,
|
|
376
|
-
// },
|
|
377
|
-
features: {
|
|
378
|
-
title: "Features",
|
|
379
|
-
description: "These are non-essential enhancements and integrations, the storefront will function without these.",
|
|
380
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
381
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304816658/Features",
|
|
382
|
-
value: {
|
|
383
|
-
// allowInStorePurchases: {
|
|
384
|
-
// title: "InStore Purchases",
|
|
385
|
-
// description:
|
|
386
|
-
// "Show the purchases made in store in the order history (requires integration).",
|
|
387
|
-
// helpLink:
|
|
388
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274375221/AllowInStorePurchases",
|
|
389
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
390
|
-
// group: { id: 2, name: "In-store purchases" },
|
|
391
|
-
// },
|
|
392
|
-
allowPastPurchases: {
|
|
393
|
-
title: "Display PastPurchases",
|
|
394
|
-
description: "Enable displaying past purchases functionality",
|
|
395
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274637365/AllowPastPurchases",
|
|
396
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
397
|
-
group: { id: 1, name: "General Features" },
|
|
398
|
-
},
|
|
399
|
-
subscriptions: {
|
|
400
|
-
title: "Display subscriptions",
|
|
401
|
-
description: "Enable subscriptions functionality",
|
|
402
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274637365/Subscriptions",
|
|
403
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
404
|
-
group: { id: 1, name: "General Features" },
|
|
405
|
-
},
|
|
406
|
-
creditBalance: {
|
|
407
|
-
title: "Display creditBalance to customer",
|
|
408
|
-
description: "Enable creditBalance functionality",
|
|
409
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274637365/creditBalance",
|
|
410
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
411
|
-
group: { id: 1, name: "General Features" },
|
|
412
|
-
},
|
|
413
|
-
// additionalCharges: {
|
|
414
|
-
// title: "Additional Charges",
|
|
415
|
-
// description:
|
|
416
|
-
// "Enables additional charges on the payments section of checkout.",
|
|
417
|
-
// helpLink:
|
|
418
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/Additional+Charges",
|
|
419
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
420
|
-
// group: { id: 1, name: "General Features" },
|
|
421
|
-
// },
|
|
422
|
-
// addressIntegrationV2: {
|
|
423
|
-
// title: "addressIntegrationV2",
|
|
424
|
-
// description: "Enables addressIntegrationV2.",
|
|
425
|
-
// helpLink:
|
|
426
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/AddressIntegrationV2",
|
|
427
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
428
|
-
// group: { id: 1, name: "General Features" },
|
|
429
|
-
// },
|
|
430
|
-
promotionDetailsPage: {
|
|
431
|
-
title: "Promotion Details Page",
|
|
432
|
-
description: "Enable Promotion calculator for different promotion detail pages",
|
|
433
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3555721239/Promotion+calculator+for+Promotion+Detail+Pages",
|
|
434
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
435
|
-
group: { id: 3, name: "Promotion details page" },
|
|
436
|
-
value: {
|
|
437
|
-
bundlePromotionCalculator: {
|
|
438
|
-
title: "Enable bundle promotion calculator",
|
|
439
|
-
description: "Enable promotion calculator for bundle promotions on details Page",
|
|
440
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
441
|
-
},
|
|
442
|
-
nonBundlePromotionCalculator: {
|
|
443
|
-
title: "Enable non bundle promotion calculator",
|
|
444
|
-
description: "Enable promotion calculator for non bundle promotions on details Page",
|
|
445
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
446
|
-
},
|
|
447
|
-
},
|
|
448
|
-
},
|
|
449
|
-
gsaSupportedBrowser: {
|
|
450
|
-
title: "gsaSupportedBrowser",
|
|
451
|
-
description: "Enables a retailer setting to block or unblock users from accessing the storefront using GSA",
|
|
452
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/gsaSupportedBrowser",
|
|
453
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
454
|
-
group: { id: 1, name: "General Features" },
|
|
455
|
-
},
|
|
456
|
-
// clientCache: {
|
|
457
|
-
// title: "Browser API Caching",
|
|
458
|
-
// description: "Enable cache for clients on the browser",
|
|
459
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
460
|
-
// helpLink:
|
|
461
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304783908/Client+Cache",
|
|
462
|
-
// },
|
|
463
|
-
// giftCards: {
|
|
464
|
-
// title: "Gift Cards",
|
|
465
|
-
// description: "Enables gift cards on the payments section of checkout.",
|
|
466
|
-
// helpLink:
|
|
467
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3313598656/Gift+Cards",
|
|
468
|
-
// type: AdminTemplateInputTypes.collapsableObject,
|
|
469
|
-
// value: {
|
|
470
|
-
// enabled: {
|
|
471
|
-
// title: "Enable Gift Cards",
|
|
472
|
-
// description: "Enables gift cards feature.",
|
|
473
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
474
|
-
// },
|
|
475
|
-
// giftCardInputValidation: {
|
|
476
|
-
// title: "Gift Card Input Validation",
|
|
477
|
-
// description: "Regular expression used for giftcard validation",
|
|
478
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
479
|
-
// },
|
|
480
|
-
// pinInputValidation: {
|
|
481
|
-
// title: "Gift Card Pin Validation",
|
|
482
|
-
// description: "Regular expression used for pin validation",
|
|
483
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
484
|
-
// },
|
|
485
|
-
// reCaptcha: {
|
|
486
|
-
// title: "Enable reCaptcha",
|
|
487
|
-
// description: "Enables reCaptcha validation feature.",
|
|
488
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
489
|
-
// helpLink:
|
|
490
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327885553/ReCaptcha+validation",
|
|
491
|
-
// },
|
|
492
|
-
// },
|
|
493
|
-
// },
|
|
494
|
-
// couponGallery: {
|
|
495
|
-
// title: "Coupon Gallery",
|
|
496
|
-
// description:
|
|
497
|
-
// "Enables Coupon Gallery for user to see all available Coupons on one page",
|
|
498
|
-
// helpLink:
|
|
499
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3429171291/Coupon+Gallery",
|
|
500
|
-
// type: AdminTemplateInputTypes.collapsableObject,
|
|
501
|
-
// value: {
|
|
502
|
-
// enabled: {
|
|
503
|
-
// title: "Enable coupon gallery",
|
|
504
|
-
// description:
|
|
505
|
-
// "Enable coupon gallery feature, please select another option below to fully activate feature",
|
|
506
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
507
|
-
// },
|
|
508
|
-
// galleryIsIframe: {
|
|
509
|
-
// title: "Enable coupon gallery internal page",
|
|
510
|
-
// description: "Enable coupon gallery Iframe feature within the app",
|
|
511
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
512
|
-
// },
|
|
513
|
-
// galleryHasNavLink: {
|
|
514
|
-
// title: "Enable coupon gallery external page",
|
|
515
|
-
// description:
|
|
516
|
-
// "Enable coupon gallery link to external page not in the app",
|
|
517
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
518
|
-
// },
|
|
519
|
-
// },
|
|
520
|
-
// },
|
|
521
|
-
// vouchers: {
|
|
522
|
-
// title: "Voucher",
|
|
523
|
-
// description: "Enables voucher on checkout page (requires integration).",
|
|
524
|
-
// helpLink:
|
|
525
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
|
|
526
|
-
// type: AdminTemplateInputTypes.collapsableObject,
|
|
527
|
-
// value: {
|
|
528
|
-
// enabled: {
|
|
529
|
-
// title: "Enable Vouchers",
|
|
530
|
-
// description: "Enables vouchers feature.",
|
|
531
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
532
|
-
// helpLink:
|
|
533
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
|
|
534
|
-
// },
|
|
535
|
-
// reCaptcha: {
|
|
536
|
-
// title: "Enable reCaptcha",
|
|
537
|
-
// description: "Enables reCaptcha validation feature.",
|
|
538
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
539
|
-
// helpLink:
|
|
540
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327885553/ReCaptcha+validation",
|
|
541
|
-
// },
|
|
542
|
-
// },
|
|
543
|
-
// },
|
|
544
|
-
// entryModalVersion: {
|
|
545
|
-
// title: "Set entry modal step",
|
|
546
|
-
// description: "Set entry modal step setting.",
|
|
547
|
-
// type: AdminTemplateInputTypes.string,
|
|
548
|
-
// helpLink:
|
|
549
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Entry+Modal+Version",
|
|
550
|
-
// },
|
|
551
|
-
hideAlcoholRule: {
|
|
552
|
-
title: "Alcohol messaging",
|
|
553
|
-
description: "Set boolean to control if shopping rule modals appears for alcohol.",
|
|
554
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
555
|
-
value: {
|
|
556
|
-
pdp: {
|
|
557
|
-
title: "Disable product details page messaging",
|
|
558
|
-
description: "This will hide the alcohol shopping rule messaging in the Storefront product details page for items containing alcohol.",
|
|
559
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
560
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
561
|
-
},
|
|
562
|
-
modal: {
|
|
563
|
-
title: "Disable warning modal",
|
|
564
|
-
description: "This will hide the alcohol shopping rule warning modal when an item containing alcohol is added to the cart.",
|
|
565
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
566
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
567
|
-
},
|
|
568
|
-
productCard: {
|
|
569
|
-
title: "Disable product card messaging",
|
|
570
|
-
description: "This will hide the alcohol shopping rule messaging in the Storefront product card for items containing alcohol.",
|
|
571
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
572
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
573
|
-
},
|
|
574
|
-
},
|
|
575
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
576
|
-
},
|
|
577
|
-
// enableGoogleTranslate: {
|
|
578
|
-
// title: "Enable Google Translate",
|
|
579
|
-
// description: "Enable google translation display and functionality",
|
|
580
|
-
// helpLink:
|
|
581
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276275734/Enable+Google+Translate",
|
|
582
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
583
|
-
// },
|
|
584
|
-
// enableNewsletterSignup: {
|
|
585
|
-
// title: "Enable Newsletter",
|
|
586
|
-
// description: "Enable newsletter signup functionality",
|
|
587
|
-
// helpLink:
|
|
588
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144678/Enable+Newsletter",
|
|
589
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
590
|
-
// },
|
|
591
|
-
enableNotifications: {
|
|
592
|
-
title: "Enable Notifications",
|
|
593
|
-
description: "Enable notifications functionality",
|
|
594
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177422/Enable+Notifications",
|
|
595
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
596
|
-
},
|
|
597
|
-
externalStoreSelectorUrl: {
|
|
598
|
-
title: "External Store Selector Url",
|
|
599
|
-
description: "Shows a link back to previous shopping platform, seen on store selection modal.This is generally used for an existing site that has not migrated all their stores to WynShop.",
|
|
600
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
601
|
-
value: {
|
|
602
|
-
enabled: {
|
|
603
|
-
title: "Enabled",
|
|
604
|
-
description: "This will enabled the url",
|
|
605
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
606
|
-
},
|
|
607
|
-
url: {
|
|
608
|
-
title: "Link to other platform",
|
|
609
|
-
description: "This will link to the previous platform",
|
|
610
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
611
|
-
},
|
|
612
|
-
},
|
|
613
|
-
},
|
|
614
|
-
// flipp: {
|
|
615
|
-
// title: "Flipp Circulars",
|
|
616
|
-
// description: "Configure Flipp circulars integration",
|
|
617
|
-
// type: AdminTemplateInputTypes.nullObject,
|
|
618
|
-
// value: {
|
|
619
|
-
// version: {
|
|
620
|
-
// title: "Version",
|
|
621
|
-
// description: "Will you use version 1 or version 2?",
|
|
622
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
623
|
-
// },
|
|
624
|
-
// retailer: {
|
|
625
|
-
// title: "Retailer Name",
|
|
626
|
-
// description: "The retailer setting from flipp",
|
|
627
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
628
|
-
// },
|
|
629
|
-
// merchantId: {
|
|
630
|
-
// title: "Merchant Id",
|
|
631
|
-
// description: "The merchant Id setting from flipp",
|
|
632
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
633
|
-
// },
|
|
634
|
-
// accessToken: {
|
|
635
|
-
// title: "Access Token",
|
|
636
|
-
// description: "The access token setting from flipp",
|
|
637
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
638
|
-
// },
|
|
639
|
-
// zoom: {
|
|
640
|
-
// title: "Zoom Level",
|
|
641
|
-
// description: "The viewport width percentage for flipp rendering",
|
|
642
|
-
// type: AdminTemplateInputTypes.dropdown,
|
|
643
|
-
// options: [100, 95, 90, 85, 80, 75, 70, 65, 60],
|
|
644
|
-
// },
|
|
645
|
-
// locale: {
|
|
646
|
-
// title: "Locale",
|
|
647
|
-
// description: "The locale of flipp flyers",
|
|
648
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
649
|
-
// },
|
|
650
|
-
// hideHeader: {
|
|
651
|
-
// title: "hideHeader",
|
|
652
|
-
// description:
|
|
653
|
-
// "Setting to toggle visibility of the flipp navigation header",
|
|
654
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
655
|
-
// },
|
|
656
|
-
// },
|
|
657
|
-
// },
|
|
658
|
-
smartbanner: {
|
|
659
|
-
title: "Smart Banner",
|
|
660
|
-
description: "Render smart banner on mobile views",
|
|
661
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304849441/Smart+Banner",
|
|
662
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
663
|
-
value: {
|
|
664
|
-
enabled: {
|
|
665
|
-
title: "Enable",
|
|
666
|
-
description: "Enable smart banner",
|
|
667
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
668
|
-
},
|
|
669
|
-
title: {
|
|
670
|
-
title: "Title",
|
|
671
|
-
description: "Smart banner title",
|
|
672
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
673
|
-
},
|
|
674
|
-
author: {
|
|
675
|
-
title: "Author",
|
|
676
|
-
description: "Smart banner author",
|
|
677
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
678
|
-
},
|
|
679
|
-
price: {
|
|
680
|
-
title: "Price",
|
|
681
|
-
description: "Smart banner price",
|
|
682
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
683
|
-
},
|
|
684
|
-
priceSuffixApple: {
|
|
685
|
-
title: "Apple Price Suffix",
|
|
686
|
-
description: "Smart banner price suffix for Apple devices",
|
|
687
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
688
|
-
},
|
|
689
|
-
priceSuffixGoogle: {
|
|
690
|
-
title: "Google Price Suffix",
|
|
691
|
-
description: "Smart banner price suffix for Google devices",
|
|
692
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
693
|
-
},
|
|
694
|
-
iconApple: {
|
|
695
|
-
title: "Apple Icon",
|
|
696
|
-
description: "Smart banner icon for Apple devices",
|
|
697
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
698
|
-
},
|
|
699
|
-
iconGoogle: {
|
|
700
|
-
title: "Google Icon",
|
|
701
|
-
description: "Smart banner icon for Google devices",
|
|
702
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
703
|
-
},
|
|
704
|
-
button: {
|
|
705
|
-
title: "Button",
|
|
706
|
-
description: "Smart banner button text",
|
|
707
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
708
|
-
},
|
|
709
|
-
buttonUrlApple: {
|
|
710
|
-
title: "Apple Button Url",
|
|
711
|
-
description: "Smart banner url for Apple button",
|
|
712
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
713
|
-
},
|
|
714
|
-
buttonUrlGoogle: {
|
|
715
|
-
title: "Google Button Url",
|
|
716
|
-
description: "Smart banner url for Google button",
|
|
717
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
718
|
-
},
|
|
719
|
-
closeLabel: {
|
|
720
|
-
title: "Close Label",
|
|
721
|
-
description: "Smart banner label text",
|
|
722
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
723
|
-
},
|
|
724
|
-
},
|
|
725
|
-
},
|
|
726
|
-
},
|
|
727
|
-
},
|
|
728
|
-
pdpSettings: {
|
|
729
|
-
title: "Products",
|
|
730
|
-
description: "",
|
|
731
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
732
|
-
value: {
|
|
733
|
-
externalContent: {
|
|
734
|
-
title: "External content",
|
|
735
|
-
description: "",
|
|
736
|
-
message: {
|
|
737
|
-
caption: [
|
|
738
|
-
"Display enhanced product content on the product details page.",
|
|
739
|
-
"You can change the order providers that the content will appear in.",
|
|
740
|
-
],
|
|
741
|
-
},
|
|
742
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
743
|
-
value: {
|
|
744
|
-
enabled: {
|
|
745
|
-
title: "Enable external content providers",
|
|
746
|
-
description: "This will display any available content from the providers listed below on the product details page.",
|
|
747
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
748
|
-
},
|
|
749
|
-
contentProviders: {
|
|
750
|
-
title: "",
|
|
751
|
-
description: "Allows the user to give the priority of showing content",
|
|
752
|
-
type: exports.AdminTemplateInputTypes.array,
|
|
753
|
-
value: {
|
|
754
|
-
provider: {
|
|
755
|
-
title: "Content Provider of External Content",
|
|
756
|
-
description: "Allows the user to give type of provider",
|
|
757
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
758
|
-
uniqueOptions: ["syndigo", "brandbank"],
|
|
759
|
-
},
|
|
760
|
-
},
|
|
761
|
-
},
|
|
762
|
-
},
|
|
763
|
-
},
|
|
764
|
-
},
|
|
765
|
-
},
|
|
766
|
-
// productCard: {
|
|
767
|
-
// title: "Product Card Settings",
|
|
768
|
-
// description: "Coming Soon",
|
|
769
|
-
// type: AdminTemplateInputTypes.nullObject,
|
|
770
|
-
// },
|
|
771
|
-
siteSettings: {
|
|
772
|
-
title: "General Site Settings",
|
|
773
|
-
description: "These are essential settings, the storefront will NOT function without these.",
|
|
774
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
775
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3328180235/General+Site+Settings",
|
|
776
|
-
value: {
|
|
777
|
-
clientSideOrderModify: {
|
|
778
|
-
title: "clientSide Order Modify",
|
|
779
|
-
description: "Allows the user to modify an order on the client side and handle the shopping rules instead of getting an error.",
|
|
780
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/clientSideOrderModify",
|
|
781
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
782
|
-
},
|
|
783
|
-
advertProductView: {
|
|
784
|
-
title: "turn advertProductView api call on/off",
|
|
785
|
-
description: "Sends the api call for advert ProductView when a user opens pdp or pdp modal",
|
|
786
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/advertProductView",
|
|
787
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
788
|
-
},
|
|
789
|
-
anonymousCart: {
|
|
790
|
-
title: "Anonymous Cart",
|
|
791
|
-
description: "⚠️ Allows the customer to add to cart without being logged in.⚠️ (Setting has side effects)",
|
|
792
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/Anonymous+Cart",
|
|
793
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
794
|
-
},
|
|
795
|
-
// ctaButtons: {
|
|
796
|
-
// title: "Call To Action Button Settings",
|
|
797
|
-
// description: "Coming Soon",
|
|
798
|
-
// type: AdminTemplateInputTypes.nullObject,
|
|
799
|
-
// },
|
|
800
|
-
daysToRemainSignedIn: {
|
|
801
|
-
title: "Sign In Days",
|
|
802
|
-
description: "Time in days to remain signed in in the app",
|
|
803
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
804
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
805
|
-
options: {
|
|
806
|
-
min: 1,
|
|
807
|
-
max: 999,
|
|
808
|
-
},
|
|
809
|
-
},
|
|
810
|
-
defaultCountry: {
|
|
811
|
-
title: "Default country",
|
|
812
|
-
description: "Select the default country",
|
|
813
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
814
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
815
|
-
options: ["USA", "CAN", "IRE", "AUS"],
|
|
816
|
-
},
|
|
817
|
-
defaultShoppingMode: {
|
|
818
|
-
title: "Default Shopping Mode",
|
|
819
|
-
description: "Shopping mode the site defaults to when a user lands and has not registered.",
|
|
820
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3272999110/Default+Shopping+Mode",
|
|
821
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
822
|
-
options: ["pickup", "planning", "delivery"],
|
|
823
|
-
},
|
|
824
|
-
defaultTabView: {
|
|
825
|
-
title: "Default Tab View",
|
|
826
|
-
description: "The default tab displayed on modals like store selection",
|
|
827
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3708780694/Default+Tab+View",
|
|
828
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
829
|
-
options: ["listView", "mapView"],
|
|
830
|
-
},
|
|
831
|
-
showChangeCustomerEmail: {
|
|
832
|
-
title: "Show EDit Customer Email Button",
|
|
833
|
-
description: "Allows users to change their email address",
|
|
834
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3708780694/Default+Tab+View",
|
|
835
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
836
|
-
},
|
|
837
|
-
disableTprPrice: {
|
|
838
|
-
title: "Disable TPR Price",
|
|
839
|
-
description: "Disable the display of tpr pricing",
|
|
840
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177413/Disable+TPR+Price",
|
|
841
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
842
|
-
},
|
|
843
|
-
// defaultStoreLocation: {
|
|
844
|
-
// title: "Default Store Location",
|
|
845
|
-
// description:
|
|
846
|
-
// "Used to center the store selector map to the retailers region. Without setting this, the map defaults to central Africa.",
|
|
847
|
-
// type: AdminTemplateInputTypes.collapsableObject,
|
|
848
|
-
// helpLink:
|
|
849
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784259/Default+Store+Location",
|
|
850
|
-
// value: {
|
|
851
|
-
// latitude: {
|
|
852
|
-
// title: "Latitude",
|
|
853
|
-
// description: "",
|
|
854
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
855
|
-
// },
|
|
856
|
-
// longitude: {
|
|
857
|
-
// title: "Longitude",
|
|
858
|
-
// description: "",
|
|
859
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
860
|
-
// },
|
|
861
|
-
// },
|
|
862
|
-
// },
|
|
863
|
-
gtmId: {
|
|
864
|
-
title: "GTM ID",
|
|
865
|
-
description: "Google Tag Manager ID",
|
|
866
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
867
|
-
},
|
|
868
|
-
hideWelcomeModalOnCorporate: {
|
|
869
|
-
title: "Hide Welcome Modal on Corporate",
|
|
870
|
-
description: "Enable to hide the initial welcome modal selection screen when on corporate store",
|
|
871
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3472326883/Hide+Welcome+Modal+on+Corporate",
|
|
872
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
873
|
-
},
|
|
874
|
-
// isPlanningOnly: {
|
|
875
|
-
// title: "Planning Only",
|
|
876
|
-
// description:
|
|
877
|
-
// "Enable if planning mode is the only available shopping method",
|
|
878
|
-
// helpLink:
|
|
879
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
880
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
881
|
-
// },
|
|
882
|
-
// RemoveAllOutOfStock: {
|
|
883
|
-
// title: "RemoveAllOutOfStock Button",
|
|
884
|
-
// description:
|
|
885
|
-
// "Disable RemoveAllOutOfStock to hide RemoveAllOutOfStock button",
|
|
886
|
-
// helpLink:
|
|
887
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
888
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
889
|
-
// },
|
|
890
|
-
// mapZoom: {
|
|
891
|
-
// title: "Map Zoom",
|
|
892
|
-
// description: "Use to change the google maps zoom level",
|
|
893
|
-
// helpLink:
|
|
894
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
895
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
896
|
-
// },
|
|
897
|
-
// maintainCustomerJourney: {
|
|
898
|
-
// title: "Maintain customer journey",
|
|
899
|
-
// description:
|
|
900
|
-
// "Use to navigate back to the page you were after login/store selection etc...",
|
|
901
|
-
// helpLink:
|
|
902
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3373695163/Maintain+customer+journey",
|
|
903
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
904
|
-
// },
|
|
905
|
-
// maintainCustomerPreferences: {
|
|
906
|
-
// title: "Maintain customer preferences",
|
|
907
|
-
// description:
|
|
908
|
-
// "View and modify customer preferences: marketing preferences, substitution preferences, etc.",
|
|
909
|
-
// helpLink:
|
|
910
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3405381666/Maintain+customer+preferences",
|
|
911
|
-
// type: AdminTemplateInputTypes.collapsableObject,
|
|
912
|
-
// value: {
|
|
913
|
-
// enabled: {
|
|
914
|
-
// title: "Enable",
|
|
915
|
-
// description: "Enable Maintain customer preferences",
|
|
916
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
917
|
-
// },
|
|
918
|
-
// optInMarketingPreferences: {
|
|
919
|
-
// title: "Implicit opt in for marketing preferences",
|
|
920
|
-
// description: "Do NOT enable for GDPR compliant clients!",
|
|
921
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
922
|
-
// },
|
|
923
|
-
// selectOptInMarketingPreferencesStore: {
|
|
924
|
-
// title:
|
|
925
|
-
// "Force selection of exact store you want to receive marketing preferences from",
|
|
926
|
-
// description:
|
|
927
|
-
// "Select store customer wants to receive updates/offers from",
|
|
928
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
929
|
-
// },
|
|
930
|
-
// sections: {
|
|
931
|
-
// title: "Sections",
|
|
932
|
-
// description:
|
|
933
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
934
|
-
// },
|
|
935
|
-
// },
|
|
936
|
-
// },
|
|
937
|
-
retailerCountry: {
|
|
938
|
-
title: "Retailer country",
|
|
939
|
-
description: "Select the retailer country",
|
|
940
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
941
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
942
|
-
options: ["us", "ca", "ie", "au"],
|
|
943
|
-
},
|
|
944
|
-
// retailerName: {
|
|
945
|
-
// title: "Retailer Name",
|
|
946
|
-
// description:
|
|
947
|
-
// "Retailers short code e.g the code used for the retailers environment.",
|
|
948
|
-
// helpLink:
|
|
949
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
950
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
951
|
-
// },
|
|
952
|
-
timeslotModalSettings: {
|
|
953
|
-
title: "Timeslot Modal Settings",
|
|
954
|
-
description: "Force timeslot selection",
|
|
955
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
956
|
-
value: {
|
|
957
|
-
showOnAddToCart: {
|
|
958
|
-
title: "Timeslot on Add To Cart",
|
|
959
|
-
description: "Show timeslot popup when user clicks on AddToCart",
|
|
960
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
961
|
-
},
|
|
962
|
-
timeslotRequiredToAddToCart: {
|
|
963
|
-
title: "Force Timeslot on Add To Cart",
|
|
964
|
-
description: "Force a timeslot selection in order to add item in cart",
|
|
965
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
966
|
-
},
|
|
967
|
-
timeslotRequiredToViewCartReview: {
|
|
968
|
-
title: "Force Timeslot on Cart Page",
|
|
969
|
-
description: "Force a timeslot selection in order to view cart page",
|
|
970
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
971
|
-
},
|
|
972
|
-
timeslotRequiredToViewCheckout: {
|
|
973
|
-
title: "Force Timeslot on Checkout",
|
|
974
|
-
description: "Force a timeslot selection in order to view checkout",
|
|
975
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
976
|
-
},
|
|
977
|
-
enableSelectToContinueText: {
|
|
978
|
-
title: "Show a message on timeslot selection",
|
|
979
|
-
description: "When enabled, a message will be showed to the users to indicate 'something'",
|
|
980
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
981
|
-
},
|
|
982
|
-
},
|
|
983
|
-
},
|
|
984
|
-
headerLinks: {
|
|
985
|
-
title: "HeaderLinks",
|
|
986
|
-
description: "Allows the user to minimize header links icon text for favorites/past purchases/coupon gallery.",
|
|
987
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/headerLinks",
|
|
988
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
989
|
-
group: { id: 1, name: "General Features" },
|
|
990
|
-
value: {
|
|
991
|
-
enabled: {
|
|
992
|
-
title: "Enable HeaderLinks settings",
|
|
993
|
-
description: "Enable HeaderLinks settings for minimizing header links text",
|
|
994
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
995
|
-
},
|
|
996
|
-
dimension: {
|
|
997
|
-
title: "Value for viewport pixel size",
|
|
998
|
-
description: "Dimension viewport pixel value at which you want the minimization of header link text to occur",
|
|
999
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
1000
|
-
},
|
|
1001
|
-
},
|
|
1002
|
-
},
|
|
1003
|
-
// useContentEngineV2Components: {
|
|
1004
|
-
// title: "Use Content Engine V2 Components",
|
|
1005
|
-
// description: "(work in progress)",
|
|
1006
|
-
// helpLink:
|
|
1007
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3478618892/Content+Engine+V2+Components",
|
|
1008
|
-
// type: AdminTemplateInputTypes.object,
|
|
1009
|
-
// value: {
|
|
1010
|
-
// HeroBanner: {
|
|
1011
|
-
// description: "Use HeroBanner V2",
|
|
1012
|
-
// helpLink:
|
|
1013
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3478946114/Hero+Banner",
|
|
1014
|
-
// title: "Enable HeroBanner V2 component",
|
|
1015
|
-
// type: "checkbox",
|
|
1016
|
-
// },
|
|
1017
|
-
// } as any,
|
|
1018
|
-
// },
|
|
1019
|
-
scrollToTopButton: {
|
|
1020
|
-
title: "Back to top button",
|
|
1021
|
-
description: "Back to top button settings.",
|
|
1022
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
1023
|
-
value: {
|
|
1024
|
-
enabled: {
|
|
1025
|
-
title: "Enable back to top button",
|
|
1026
|
-
description: "You can select whether a back to top button will appear on the Storefront once the customer begins to scroll down the screen.",
|
|
1027
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
1028
|
-
},
|
|
1029
|
-
percentOffset: {
|
|
1030
|
-
title: "",
|
|
1031
|
-
description: "",
|
|
1032
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
1033
|
-
value: {
|
|
1034
|
-
bottom: {
|
|
1035
|
-
title: "Offset bottom",
|
|
1036
|
-
description: "This is the percentage of the height of the screen that the button will appear from the bottom.",
|
|
1037
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
1038
|
-
},
|
|
1039
|
-
right: {
|
|
1040
|
-
title: "Offset right",
|
|
1041
|
-
description: "This is the percentage of the width of the screen that the button will appear from the right.",
|
|
1042
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
1043
|
-
},
|
|
1044
|
-
},
|
|
1045
|
-
},
|
|
1046
|
-
},
|
|
1047
|
-
},
|
|
1048
|
-
showShopAllLink: {
|
|
1049
|
-
title: "Shop all link in mega menu",
|
|
1050
|
-
description: "You can select whether each subcategory in the desktop mega menu should have a “Shop All XXX” link at the top of the list.",
|
|
1051
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
1052
|
-
value: {
|
|
1053
|
-
enabled: {
|
|
1054
|
-
title: "Enable Shop all link in mega menu",
|
|
1055
|
-
description: 'This will display a "Shop All" link at the top of the list of subcategories in the desktop megamenu as is shown on mobile and tablet.',
|
|
1056
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
1057
|
-
},
|
|
1058
|
-
},
|
|
1059
|
-
},
|
|
1060
|
-
},
|
|
1061
|
-
},
|
|
1062
|
-
welcomeModal: {
|
|
1063
|
-
title: "Welcome Modal",
|
|
1064
|
-
description: "",
|
|
1065
|
-
type: exports.AdminTemplateInputTypes.array,
|
|
1066
|
-
message: {
|
|
1067
|
-
caption: [
|
|
1068
|
-
"You can add options to the welcome modal that will appear along side the existing shopping mode options that are set per store.",
|
|
1069
|
-
"Once you have created the options you can edit the sequence of them. The shopping modes will always appear first.",
|
|
1070
|
-
],
|
|
1071
|
-
showLabel: false,
|
|
1072
|
-
type: "info",
|
|
1073
|
-
},
|
|
1074
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3723493957/Custom+Welcome+Modal+Icon",
|
|
1075
|
-
value: {
|
|
1076
|
-
label: {
|
|
1077
|
-
title: "Option Label",
|
|
1078
|
-
description: "",
|
|
1079
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
1080
|
-
},
|
|
1081
|
-
href: {
|
|
1082
|
-
title: "Link",
|
|
1083
|
-
description: "This is the URL to which the button will direct users.",
|
|
1084
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
1085
|
-
},
|
|
1086
|
-
target: {
|
|
1087
|
-
title: "Open in",
|
|
1088
|
-
description: "",
|
|
1089
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
1090
|
-
options: [
|
|
1091
|
-
{
|
|
1092
|
-
value: "_blank",
|
|
1093
|
-
label: "New tab",
|
|
1094
|
-
},
|
|
1095
|
-
{
|
|
1096
|
-
value: "_self",
|
|
1097
|
-
label: "Same tab",
|
|
1098
|
-
},
|
|
1099
|
-
],
|
|
1100
|
-
},
|
|
1101
|
-
icon: {
|
|
1102
|
-
title: "Icon",
|
|
1103
|
-
description: "",
|
|
1104
|
-
type: exports.AdminTemplateInputTypes.images,
|
|
1105
|
-
options: { requiredFormat: ["svg"] },
|
|
1106
|
-
optional: false,
|
|
1107
|
-
},
|
|
1108
|
-
},
|
|
1109
|
-
},
|
|
1110
|
-
};
|