@thryveai/theme-interfaces 2.4.23 → 2.5.0
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/dist/index.d.ts +28 -27
- package/dist/index.js +33 -31
- package/dist/interfaces/admin-images-interfaces.d.ts +11 -11
- package/dist/interfaces/admin-images-interfaces.js +2 -2
- package/dist/interfaces/admin-settings-interfaces.d.ts +57 -57
- package/dist/interfaces/admin-settings-interfaces.js +2 -2
- package/dist/interfaces/default-settings.interfaces.d.ts +89 -89
- package/dist/interfaces/default-settings.interfaces.js +3 -3
- package/dist/interfaces/default-theme.interface.d.ts +695 -695
- package/dist/interfaces/default-theme.interface.js +2 -2
- package/dist/interfaces/icons.interfaces.d.ts +7 -7
- package/dist/interfaces/icons.interfaces.js +128 -126
- package/dist/interfaces/retailer-settings.interfaces.d.ts +543 -543
- package/dist/interfaces/retailer-settings.interfaces.js +2 -2
- package/dist/interfaces/sts-settings.interfaces.d.ts +6 -6
- package/dist/interfaces/sts-settings.interfaces.js +2 -2
- package/dist/interfaces/theme.interfaces.d.ts +695 -695
- package/dist/interfaces/theme.interfaces.js +2 -2
- package/dist/storefront/SFUIImagesTemplate.AdminUi.d.ts +2 -2
- package/dist/storefront/SFUIImagesTemplate.AdminUi.js +112 -112
- package/dist/storefront/SFUISettingsTemplate.AdminUi.d.ts +14 -14
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +1025 -1025
- package/dist/storefront/SFUIThemesTemplate.AdminUi.d.ts +3 -3
- package/dist/storefront/SFUIThemesTemplate.AdminUi.js +113 -113
- package/dist/storefront/contentEngineComponents.d.ts +23 -23
- package/dist/storefront/contentEngineComponents.js +25 -25
- package/dist/storefront/defaultIconsStorefront.d.ts +3 -0
- package/dist/storefront/defaultIconsStorefront.js +128 -0
- package/dist/storefront/defaultImagesStorefront.d.ts +3 -3
- package/dist/storefront/defaultImagesStorefront.js +96 -96
- package/dist/storefront/defaultSettingsStorefront.d.ts +3 -3
- package/dist/storefront/defaultSettingsStorefront.js +297 -297
- package/dist/storefront/defaultThemeStorefront.d.ts +5 -5
- package/dist/storefront/defaultThemeStorefront.js +1156 -1156
- package/dist/sts/STSImagesTemplate.AdminUi.d.ts +2 -2
- package/dist/sts/STSImagesTemplate.AdminUi.js +50 -50
- package/dist/sts/STSSettingsTemplate.AdminUi.d.ts +2 -2
- package/dist/sts/STSSettingsTemplate.AdminUi.js +30 -30
- package/dist/sts/defaultSettingsSts.d.ts +3 -3
- package/dist/sts/defaultSettingsSts.js +9 -9
- package/dist/theme-templates/index.d.ts +3 -3
- package/dist/theme-templates/index.js +8 -8
- package/package.json +29 -21
- package/dist/defaultSettings.d.ts +0 -3
- package/dist/defaultSettings.js +0 -242
- package/dist/storefrontUiSettingsTemplateForAdminPanel.d.ts +0 -3
- package/dist/storefrontUiSettingsTemplateForAdminPanel.js +0 -686
|
@@ -1,1025 +1,1025 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AdminSettingsTemplateSFUI = 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
|
-
};
|
|
17
|
-
var addressValidationDescription = "Sets the validation types for user addresses";
|
|
18
|
-
var validationTypes = [
|
|
19
|
-
"luhnValidation",
|
|
20
|
-
"alphaNumeric",
|
|
21
|
-
"alphaOnly",
|
|
22
|
-
"numericOnly",
|
|
23
|
-
"anyPhone",
|
|
24
|
-
"email",
|
|
25
|
-
"password",
|
|
26
|
-
"required",
|
|
27
|
-
"usPhone",
|
|
28
|
-
"usMobileNumber",
|
|
29
|
-
"caPhone",
|
|
30
|
-
"auPhone",
|
|
31
|
-
"iePhone",
|
|
32
|
-
"caProvince",
|
|
33
|
-
"usState",
|
|
34
|
-
"auState",
|
|
35
|
-
"ieCounty",
|
|
36
|
-
"caPostCode",
|
|
37
|
-
"usPostCode",
|
|
38
|
-
"auPostCode",
|
|
39
|
-
"iePostCode",
|
|
40
|
-
"noSpecialChar",
|
|
41
|
-
"correctDate",
|
|
42
|
-
];
|
|
43
|
-
var FeatureSettingsChildren = {
|
|
44
|
-
allowInStorePurchases: {
|
|
45
|
-
title: "InStore Purchases",
|
|
46
|
-
description: "Show the purchases made in store in the order history (requires integration).",
|
|
47
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274375221/AllowInStorePurchases",
|
|
48
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
49
|
-
},
|
|
50
|
-
allowPastPurchases: {
|
|
51
|
-
title: "Display PastPurchases",
|
|
52
|
-
description: "Enable displaying past purchases functionality",
|
|
53
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274637365/AllowPastPurchases",
|
|
54
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
55
|
-
},
|
|
56
|
-
additionalCharges: {
|
|
57
|
-
title: "Additional Charges",
|
|
58
|
-
description: "Enables additional charges on the payments section of checkout.",
|
|
59
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/Additional+Charges",
|
|
60
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
61
|
-
},
|
|
62
|
-
addressIntegrationV2: {
|
|
63
|
-
title: "addressIntegrationV2",
|
|
64
|
-
description: "Enables addressIntegrationV2.",
|
|
65
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/AddressIntegrationV2",
|
|
66
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
67
|
-
},
|
|
68
|
-
promotionDetailsPage: {
|
|
69
|
-
title: "Promotion Details Page",
|
|
70
|
-
description: "Enable Promotion calculator for different promotion detail pages",
|
|
71
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3555721239/Promotion+calculator+for+Promotion+Detail+Pages",
|
|
72
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
73
|
-
value: {
|
|
74
|
-
bundlePromotionCalculator: {
|
|
75
|
-
title: "Enable bundle promotion calculator",
|
|
76
|
-
description: "Enable promotion calculator for bundle promotions on details Page",
|
|
77
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
78
|
-
},
|
|
79
|
-
nonBundlePromotionCalculator: {
|
|
80
|
-
title: "Enable non bundle promotion calculator",
|
|
81
|
-
description: "Enable promotion calculator for non bundle promotions on details Page",
|
|
82
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
clientCache: {
|
|
87
|
-
title: "Browser API Caching",
|
|
88
|
-
description: "Enable cache for clients on the browser",
|
|
89
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
90
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304783908/Client+Cache",
|
|
91
|
-
},
|
|
92
|
-
giftCards: {
|
|
93
|
-
title: "Gift Cards",
|
|
94
|
-
description: "Enables gift cards on the payments section of checkout.",
|
|
95
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3313598656/Gift+Cards",
|
|
96
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
97
|
-
value: {
|
|
98
|
-
enabled: {
|
|
99
|
-
title: "Enable Gift Cards",
|
|
100
|
-
description: "Enables gift cards feature.",
|
|
101
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
102
|
-
},
|
|
103
|
-
gitfCardInputValidation: {
|
|
104
|
-
title: "Gift Card Input Validation",
|
|
105
|
-
description: "Regular expression used for giftcard validation",
|
|
106
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
107
|
-
},
|
|
108
|
-
pinInputValidation: {
|
|
109
|
-
title: "Gift Card Pin Validation",
|
|
110
|
-
description: "Regular expression used for pin validation",
|
|
111
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
112
|
-
},
|
|
113
|
-
reCaptcha: {
|
|
114
|
-
title: "Enable reCaptcha",
|
|
115
|
-
description: "Enables reCaptcha validation feature.",
|
|
116
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
117
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327885553/ReCaptcha+validation",
|
|
118
|
-
},
|
|
119
|
-
},
|
|
120
|
-
},
|
|
121
|
-
couponGallery: {
|
|
122
|
-
title: "Coupon Gallery",
|
|
123
|
-
description: "Enables Coupon Gallery for user to see all available Coupons on one page",
|
|
124
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3429171291/Coupon+Gallery",
|
|
125
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
126
|
-
value: {
|
|
127
|
-
enabled: {
|
|
128
|
-
title: "Enable coupon gallery",
|
|
129
|
-
description: "Enable coupon gallery feature, please select another option below to fully activate feature",
|
|
130
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
131
|
-
},
|
|
132
|
-
galleryIsIframe: {
|
|
133
|
-
title: "Enable coupon gallery internal page",
|
|
134
|
-
description: "Enable coupon gallery Iframe feature within the app",
|
|
135
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
136
|
-
},
|
|
137
|
-
galleryHasNavLink: {
|
|
138
|
-
title: "Enable coupon gallery external page",
|
|
139
|
-
description: "Enable coupon gallery link to external page not in the app",
|
|
140
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
141
|
-
},
|
|
142
|
-
},
|
|
143
|
-
},
|
|
144
|
-
vouchers: {
|
|
145
|
-
title: "Voucher",
|
|
146
|
-
description: "Enables voucher on checkout page (requires integration).",
|
|
147
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
|
|
148
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
149
|
-
value: {
|
|
150
|
-
enabled: {
|
|
151
|
-
title: "Enable Vouchers",
|
|
152
|
-
description: "Enables vouchers feature.",
|
|
153
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
154
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
|
|
155
|
-
},
|
|
156
|
-
reCaptcha: {
|
|
157
|
-
title: "Enable reCaptcha",
|
|
158
|
-
description: "Enables reCaptcha validation feature.",
|
|
159
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
160
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327885553/ReCaptcha+validation",
|
|
161
|
-
},
|
|
162
|
-
},
|
|
163
|
-
},
|
|
164
|
-
entryModalVersion: {
|
|
165
|
-
title: "Set entry modal step",
|
|
166
|
-
description: "Set entry modal step setting.",
|
|
167
|
-
type: exports.AdminTemplateInputTypes.string,
|
|
168
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Entry+Modal+Version",
|
|
169
|
-
},
|
|
170
|
-
hideAlcoholRule: {
|
|
171
|
-
title: "Set if shopping rule modals appears for alcohol",
|
|
172
|
-
description: "Set boolean to control if shopping rule modals appears for alcohol.",
|
|
173
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
174
|
-
value: {
|
|
175
|
-
pdp: {
|
|
176
|
-
title: "Disable warning box",
|
|
177
|
-
description: "Disable alcohol warning box on pdp.",
|
|
178
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
179
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
180
|
-
},
|
|
181
|
-
modal: {
|
|
182
|
-
title: "Disable warning modal",
|
|
183
|
-
description: "Disable alcohol warning modal popup.",
|
|
184
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
185
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
186
|
-
},
|
|
187
|
-
productCard: {
|
|
188
|
-
title: "Disable shopping rule label",
|
|
189
|
-
description: "Disable alchohol rule label in Product Cards.",
|
|
190
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
191
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
192
|
-
},
|
|
193
|
-
},
|
|
194
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
195
|
-
},
|
|
196
|
-
enableGoogleTranslate: {
|
|
197
|
-
title: "Enable Google Translate",
|
|
198
|
-
description: "Enable google translation display and functionality",
|
|
199
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276275734/Enable+Google+Translate",
|
|
200
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
201
|
-
},
|
|
202
|
-
enableNewsletterSignup: {
|
|
203
|
-
title: "Enable Newsletter",
|
|
204
|
-
description: "Enable newsletter signup functionality",
|
|
205
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144678/Enable+Newsletter",
|
|
206
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
207
|
-
},
|
|
208
|
-
enableNotifications: {
|
|
209
|
-
title: "Enable Notifications",
|
|
210
|
-
description: "Enable notifications functionality",
|
|
211
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177422/Enable+Notifications",
|
|
212
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
213
|
-
},
|
|
214
|
-
externalStoreSelectorUrl: {
|
|
215
|
-
title: "External Store Selector Url",
|
|
216
|
-
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.",
|
|
217
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
218
|
-
value: {
|
|
219
|
-
version: {
|
|
220
|
-
title: "Enabled",
|
|
221
|
-
description: "This will enabled the url",
|
|
222
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
223
|
-
},
|
|
224
|
-
retailer: {
|
|
225
|
-
title: "Link to other platform",
|
|
226
|
-
description: "This will link to the previous platform",
|
|
227
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
228
|
-
},
|
|
229
|
-
},
|
|
230
|
-
},
|
|
231
|
-
flipp: {
|
|
232
|
-
title: "Flipp Circulars",
|
|
233
|
-
description: "Configure Flipp circulars integration",
|
|
234
|
-
type: exports.AdminTemplateInputTypes.nullObject,
|
|
235
|
-
value: {
|
|
236
|
-
version: {
|
|
237
|
-
title: "Version",
|
|
238
|
-
description: "Will you use version 1 or version 2?",
|
|
239
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
240
|
-
},
|
|
241
|
-
retailer: {
|
|
242
|
-
title: "Retailer Name",
|
|
243
|
-
description: "The retailer setting from flipp",
|
|
244
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
245
|
-
},
|
|
246
|
-
merchantId: {
|
|
247
|
-
title: "Merchant Id",
|
|
248
|
-
description: "The merchant Id setting from flipp",
|
|
249
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
250
|
-
},
|
|
251
|
-
accessToken: {
|
|
252
|
-
title: "Access Token",
|
|
253
|
-
description: "The access token setting from flipp",
|
|
254
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
255
|
-
},
|
|
256
|
-
zoom: {
|
|
257
|
-
title: "Zoom Level",
|
|
258
|
-
description: "The viewport width percentage for flipp rendering",
|
|
259
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
260
|
-
options: [100, 95, 90, 85, 80, 75, 70, 65, 60],
|
|
261
|
-
},
|
|
262
|
-
locale: {
|
|
263
|
-
title: "Locale",
|
|
264
|
-
description: "The locale of flipp flyers",
|
|
265
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
266
|
-
},
|
|
267
|
-
hideHeader: {
|
|
268
|
-
title: "hideHeader",
|
|
269
|
-
description: "Setting to toggle visibility of the flipp navigation header",
|
|
270
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
271
|
-
},
|
|
272
|
-
},
|
|
273
|
-
},
|
|
274
|
-
smartbanner: {
|
|
275
|
-
title: "Smart Banner",
|
|
276
|
-
description: "Render smart banner on mobile views",
|
|
277
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304849441/Smart+Banner",
|
|
278
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
279
|
-
value: {
|
|
280
|
-
enabled: {
|
|
281
|
-
title: "Enable",
|
|
282
|
-
description: "Enable smart banner",
|
|
283
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
284
|
-
},
|
|
285
|
-
title: {
|
|
286
|
-
title: "Title",
|
|
287
|
-
description: "Smart banner title",
|
|
288
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
289
|
-
},
|
|
290
|
-
author: {
|
|
291
|
-
title: "Author",
|
|
292
|
-
description: "Smart banner author",
|
|
293
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
294
|
-
},
|
|
295
|
-
price: {
|
|
296
|
-
title: "Price",
|
|
297
|
-
description: "Smart banner price",
|
|
298
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
299
|
-
},
|
|
300
|
-
priceSuffixApple: {
|
|
301
|
-
title: "Apple Price Suffix",
|
|
302
|
-
description: "Smart banner price suffix for Apple devices",
|
|
303
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
304
|
-
},
|
|
305
|
-
priceSuffixGoogle: {
|
|
306
|
-
title: "Google Price Suffix",
|
|
307
|
-
description: "Smart banner price suffix for Google devices",
|
|
308
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
309
|
-
},
|
|
310
|
-
iconApple: {
|
|
311
|
-
title: "Apple Icon",
|
|
312
|
-
description: "Smart banner icon for Apple devices",
|
|
313
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
314
|
-
},
|
|
315
|
-
iconGoogle: {
|
|
316
|
-
title: "Google Icon",
|
|
317
|
-
description: "Smart banner icon for Google devices",
|
|
318
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
319
|
-
},
|
|
320
|
-
button: {
|
|
321
|
-
title: "Button",
|
|
322
|
-
description: "Smart banner button text",
|
|
323
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
324
|
-
},
|
|
325
|
-
buttonUrlApple: {
|
|
326
|
-
title: "Apple Button Url",
|
|
327
|
-
description: "Smart banner url for Apple button",
|
|
328
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
329
|
-
},
|
|
330
|
-
buttonUrlGoogle: {
|
|
331
|
-
title: "Google Button Url",
|
|
332
|
-
description: "Smart banner url for Google button",
|
|
333
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
334
|
-
},
|
|
335
|
-
closeLabel: {
|
|
336
|
-
title: "Close Label",
|
|
337
|
-
description: "Smart banner label text",
|
|
338
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
339
|
-
},
|
|
340
|
-
},
|
|
341
|
-
},
|
|
342
|
-
};
|
|
343
|
-
var ContentEngineV2Components = {
|
|
344
|
-
HeroBanner: {
|
|
345
|
-
description: "Use HeroBanner V2",
|
|
346
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3478946114/Hero+Banner",
|
|
347
|
-
title: "Enable HeroBanner V2 component",
|
|
348
|
-
type: "checkbox",
|
|
349
|
-
},
|
|
350
|
-
};
|
|
351
|
-
var SiteSettingsChildren = {
|
|
352
|
-
anonymousCart: {
|
|
353
|
-
title: "Anonymous Cart",
|
|
354
|
-
description: "⚠️ Allows the customer to add to cart without being logged in.⚠️ (Setting has side effects)",
|
|
355
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/Anonymous+Cart",
|
|
356
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
357
|
-
},
|
|
358
|
-
ctaButtons: {
|
|
359
|
-
title: "Call To Action Button Settings",
|
|
360
|
-
description: "Coming Soon",
|
|
361
|
-
type: exports.AdminTemplateInputTypes.nullObject,
|
|
362
|
-
},
|
|
363
|
-
daysToRemainSignedIn: {
|
|
364
|
-
title: "Sign In Days",
|
|
365
|
-
description: "Time in days to remain signed in in the app",
|
|
366
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
367
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
368
|
-
},
|
|
369
|
-
defaultCountry: {
|
|
370
|
-
title: "Default country",
|
|
371
|
-
description: "Select the default country",
|
|
372
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
373
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
374
|
-
options: ["USA", "CAN", "IRE", "AUS"],
|
|
375
|
-
},
|
|
376
|
-
defaultShoppingMode: {
|
|
377
|
-
title: "Default Shopping Mode",
|
|
378
|
-
description: "Shopping mode the site defaults to when a user lands and has not registered.",
|
|
379
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3272999110/Default+Shopping+Mode",
|
|
380
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
381
|
-
options: ["pickup", "planning", "delivery"],
|
|
382
|
-
},
|
|
383
|
-
disableTprPrice: {
|
|
384
|
-
title: "Disable TPR Price",
|
|
385
|
-
description: "Disable the display of tpr pricing",
|
|
386
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177413/Disable+TPR+Price",
|
|
387
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
388
|
-
},
|
|
389
|
-
defaultStoreLocation: {
|
|
390
|
-
title: "Default Store Location",
|
|
391
|
-
description: "Used to center the store selector map to the retailers region. Without setting this, the map defaults to central Africa.",
|
|
392
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
393
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784259/Default+Store+Location",
|
|
394
|
-
value: {
|
|
395
|
-
latitude: {
|
|
396
|
-
title: "Latitude",
|
|
397
|
-
description: "",
|
|
398
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
399
|
-
},
|
|
400
|
-
longitude: {
|
|
401
|
-
title: "Longitude",
|
|
402
|
-
description: "",
|
|
403
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
404
|
-
},
|
|
405
|
-
},
|
|
406
|
-
},
|
|
407
|
-
gtmId: {
|
|
408
|
-
title: "GTM ID",
|
|
409
|
-
description: "Google Tag Manager ID",
|
|
410
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
411
|
-
},
|
|
412
|
-
hideWelcomeModalOnCorporate: {
|
|
413
|
-
title: "Hide Welcome Modal on Corporate",
|
|
414
|
-
description: "Enable to hide the initial welcome modal selection screen when on corporate store",
|
|
415
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3472326883/Hide+Welcome+Modal+on+Corporate",
|
|
416
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
417
|
-
},
|
|
418
|
-
isPlanningOnly: {
|
|
419
|
-
title: "Planning Only",
|
|
420
|
-
description: "Enable if planning mode is the only available shopping method",
|
|
421
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
422
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
423
|
-
},
|
|
424
|
-
RemoveAllOutOfStock: {
|
|
425
|
-
title: "RemoveAllOutOfStock Button",
|
|
426
|
-
description: "Disable RemoveAllOutOfStock to hide RemoveAllOutOfStock button",
|
|
427
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
428
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
429
|
-
},
|
|
430
|
-
mapZoom: {
|
|
431
|
-
title: "Map Zoom",
|
|
432
|
-
description: "Use to change the google maps zoom level",
|
|
433
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
434
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
435
|
-
},
|
|
436
|
-
maintainCustomerJourney: {
|
|
437
|
-
title: "Maintain customer journey",
|
|
438
|
-
description: "Use to navigate back to the page you were after login/store selection etc...",
|
|
439
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3373695163/Maintain+customer+journey",
|
|
440
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
441
|
-
},
|
|
442
|
-
maintainCustomerPreferences: {
|
|
443
|
-
title: "Maintain customer preferences",
|
|
444
|
-
description: "View and modify customer preferences: marketing preferences, substitution preferences, etc.",
|
|
445
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3405381666/Maintain+customer+preferences",
|
|
446
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
447
|
-
value: {
|
|
448
|
-
enabled: {
|
|
449
|
-
title: "Enable",
|
|
450
|
-
description: "Enable Maintain customer preferences",
|
|
451
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
452
|
-
},
|
|
453
|
-
optInMarketingPreferences: {
|
|
454
|
-
title: "Implicit opt in for marketing preferences",
|
|
455
|
-
description: "Do NOT enable for GDPR compliant clients!",
|
|
456
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
457
|
-
},
|
|
458
|
-
},
|
|
459
|
-
},
|
|
460
|
-
retailerCountry: {
|
|
461
|
-
title: "Retailer country",
|
|
462
|
-
description: "Select the retailer country",
|
|
463
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
464
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
465
|
-
options: ["us", "ca", "ie", "au"],
|
|
466
|
-
},
|
|
467
|
-
retailerName: {
|
|
468
|
-
title: "Retailer Name",
|
|
469
|
-
description: "Retailers short code e.g the code used for the retailers environment.",
|
|
470
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
471
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
472
|
-
},
|
|
473
|
-
timeslotModalSettings: {
|
|
474
|
-
title: "Timeslot Modal Settings",
|
|
475
|
-
description: "Force timeslot selection",
|
|
476
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
477
|
-
value: {
|
|
478
|
-
showOnAddToCart: {
|
|
479
|
-
title: "Timeslot on Add To Cart",
|
|
480
|
-
description: "Show timeslot popup when user clicks on AddToCart",
|
|
481
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
482
|
-
},
|
|
483
|
-
timeslotRequiredToAddToCart: {
|
|
484
|
-
title: "Force Timeslot on Add To Cart",
|
|
485
|
-
description: "Force a timeslot selection in order to add item in cart",
|
|
486
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
487
|
-
},
|
|
488
|
-
timeslotRequiredToViewCartReview: {
|
|
489
|
-
title: "Force Timeslot on Cart Page",
|
|
490
|
-
description: "Force a timeslot selection in order to view cart page",
|
|
491
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
492
|
-
},
|
|
493
|
-
timeslotRequiredToViewCheckout: {
|
|
494
|
-
title: "Force Timeslot on Checkout",
|
|
495
|
-
description: "Force a timeslot selection in order to view checkout",
|
|
496
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
497
|
-
},
|
|
498
|
-
},
|
|
499
|
-
},
|
|
500
|
-
useContentEngineV2Components: {
|
|
501
|
-
title: "Use Content Engine V2 Components",
|
|
502
|
-
description: "(work in progress)",
|
|
503
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3478618892/Content+Engine+V2+Components",
|
|
504
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
505
|
-
value: ContentEngineV2Components,
|
|
506
|
-
},
|
|
507
|
-
};
|
|
508
|
-
var AccountPageSettingsChildren = {
|
|
509
|
-
loyaltyTab: {
|
|
510
|
-
title: "Loyalty Tab",
|
|
511
|
-
description: "Set up Loyalty Tab on account page",
|
|
512
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
513
|
-
value: {
|
|
514
|
-
enabled: {
|
|
515
|
-
title: "Enable Loyalty Tab",
|
|
516
|
-
description: "Enable Loyalty tab section within My Account page",
|
|
517
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
518
|
-
},
|
|
519
|
-
disabledEdit: {
|
|
520
|
-
title: "Disable Loyalty edit",
|
|
521
|
-
description: "Prevent users to change their loyalty number",
|
|
522
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
523
|
-
},
|
|
524
|
-
loyaltyNumberLength: {
|
|
525
|
-
title: "Loyalty Number Length",
|
|
526
|
-
description: "Control the loyalty number length",
|
|
527
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
528
|
-
},
|
|
529
|
-
loyaltyNumberPrefix: {
|
|
530
|
-
title: "Loyalty Number Prefix",
|
|
531
|
-
description: "Add hardcoded prefix for loyalty numbers (this will affect the length)",
|
|
532
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
533
|
-
},
|
|
534
|
-
loyaltyValidationType: {
|
|
535
|
-
title: "Loyalty Number Validation",
|
|
536
|
-
description: "Select loyalty validation types",
|
|
537
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
538
|
-
options: validationTypes,
|
|
539
|
-
},
|
|
540
|
-
},
|
|
541
|
-
},
|
|
542
|
-
idp: {
|
|
543
|
-
title: "IDP",
|
|
544
|
-
description: "Use an external account page",
|
|
545
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
546
|
-
value: {
|
|
547
|
-
enabled: {
|
|
548
|
-
title: "Enable",
|
|
549
|
-
description: "Enable the external My Account page",
|
|
550
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
551
|
-
},
|
|
552
|
-
target: {
|
|
553
|
-
title: "Link Target",
|
|
554
|
-
description: "Should the link open in the same or new tab?",
|
|
555
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
556
|
-
options: ["_self", "_blank"],
|
|
557
|
-
},
|
|
558
|
-
url: {
|
|
559
|
-
title: "Link URL",
|
|
560
|
-
description: "URL to link to My Account page",
|
|
561
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
562
|
-
},
|
|
563
|
-
},
|
|
564
|
-
},
|
|
565
|
-
profileTab: {
|
|
566
|
-
title: "Profile Tab",
|
|
567
|
-
description: "Profile Tab settings",
|
|
568
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
569
|
-
value: {
|
|
570
|
-
deleteAccountButton: {
|
|
571
|
-
title: "Delete account button",
|
|
572
|
-
description: "Enable / disable delete account button on My Account page",
|
|
573
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3486023742/Delete+account+button",
|
|
574
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
575
|
-
},
|
|
576
|
-
},
|
|
577
|
-
},
|
|
578
|
-
};
|
|
579
|
-
var AddressSettingsChildren = {
|
|
580
|
-
addressValidationTypes: {
|
|
581
|
-
title: "Address Validation",
|
|
582
|
-
description: "User address validation settings.",
|
|
583
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/Address+Validation",
|
|
584
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
585
|
-
value: {
|
|
586
|
-
addressLine1: {
|
|
587
|
-
title: "Address Line 1",
|
|
588
|
-
description: addressValidationDescription,
|
|
589
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
590
|
-
options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
591
|
-
},
|
|
592
|
-
addressLine2: {
|
|
593
|
-
title: "Address Line 2",
|
|
594
|
-
description: addressValidationDescription,
|
|
595
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
596
|
-
options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
597
|
-
},
|
|
598
|
-
city: {
|
|
599
|
-
title: "City",
|
|
600
|
-
description: addressValidationDescription,
|
|
601
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
602
|
-
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
603
|
-
},
|
|
604
|
-
countyProvinceState: {
|
|
605
|
-
title: "County/Province/State",
|
|
606
|
-
description: addressValidationDescription,
|
|
607
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
608
|
-
options: [
|
|
609
|
-
"alphaNumeric",
|
|
610
|
-
"alphaOnly",
|
|
611
|
-
"auState",
|
|
612
|
-
"ieCounty",
|
|
613
|
-
"usState",
|
|
614
|
-
"caProvince",
|
|
615
|
-
"required",
|
|
616
|
-
],
|
|
617
|
-
},
|
|
618
|
-
familyName: {
|
|
619
|
-
title: "User's Surname",
|
|
620
|
-
description: addressValidationDescription,
|
|
621
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
622
|
-
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
623
|
-
},
|
|
624
|
-
firstName: {
|
|
625
|
-
title: "User's first name",
|
|
626
|
-
description: addressValidationDescription,
|
|
627
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
628
|
-
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
629
|
-
},
|
|
630
|
-
instructions: {
|
|
631
|
-
title: "User Instructions Fields",
|
|
632
|
-
description: "Validation for the input fields for user instructions",
|
|
633
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
634
|
-
options: ["alphaNumeric", "alphaOnly", "required", "numericOnly"],
|
|
635
|
-
},
|
|
636
|
-
phoneNumber: {
|
|
637
|
-
title: "Phone Number",
|
|
638
|
-
description: "The number to be used to contact the user",
|
|
639
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
640
|
-
options: [
|
|
641
|
-
"usPhone",
|
|
642
|
-
"usMobileNumber",
|
|
643
|
-
"numericOnly",
|
|
644
|
-
"auPhone",
|
|
645
|
-
"caPhone",
|
|
646
|
-
"iePhone",
|
|
647
|
-
"anyPhone",
|
|
648
|
-
"required",
|
|
649
|
-
],
|
|
650
|
-
},
|
|
651
|
-
postCode: {
|
|
652
|
-
title: "Post / zip code",
|
|
653
|
-
description: addressValidationDescription,
|
|
654
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
655
|
-
options: [
|
|
656
|
-
"alphaNumeric",
|
|
657
|
-
"auPostCode",
|
|
658
|
-
"caPostCode",
|
|
659
|
-
"iePostCode",
|
|
660
|
-
"usPostCode",
|
|
661
|
-
"numericOnly",
|
|
662
|
-
"required",
|
|
663
|
-
],
|
|
664
|
-
},
|
|
665
|
-
smsNumber: {
|
|
666
|
-
title: "SMS number",
|
|
667
|
-
description: addressValidationDescription,
|
|
668
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
669
|
-
options: [
|
|
670
|
-
"usPhone",
|
|
671
|
-
"usMobileNumber",
|
|
672
|
-
"numericOnly",
|
|
673
|
-
"auPhone",
|
|
674
|
-
"caPhone",
|
|
675
|
-
"iePhone",
|
|
676
|
-
"anyPhone",
|
|
677
|
-
"required",
|
|
678
|
-
],
|
|
679
|
-
},
|
|
680
|
-
},
|
|
681
|
-
},
|
|
682
|
-
eircode: {
|
|
683
|
-
title: "Eircode",
|
|
684
|
-
description: "Add a link to the address section",
|
|
685
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
686
|
-
value: {
|
|
687
|
-
enabled: {
|
|
688
|
-
title: "Enable",
|
|
689
|
-
description: "",
|
|
690
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
691
|
-
},
|
|
692
|
-
url: {
|
|
693
|
-
title: "Link URL",
|
|
694
|
-
description: "",
|
|
695
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
696
|
-
},
|
|
697
|
-
},
|
|
698
|
-
},
|
|
699
|
-
integration: {
|
|
700
|
-
title: "Address Integration Settings",
|
|
701
|
-
description: "Coming Soon",
|
|
702
|
-
type: exports.AdminTemplateInputTypes.nullObject,
|
|
703
|
-
},
|
|
704
|
-
useAddressValidation: {
|
|
705
|
-
title: "useAddressValidation",
|
|
706
|
-
description: "useAddressValidation",
|
|
707
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
708
|
-
},
|
|
709
|
-
};
|
|
710
|
-
var CartSummarySettingsChildren = {
|
|
711
|
-
showTaxTotal: {
|
|
712
|
-
title: "showTaxTotal",
|
|
713
|
-
description: " ",
|
|
714
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
715
|
-
},
|
|
716
|
-
showTaxGroups: {
|
|
717
|
-
title: "showTaxGroups",
|
|
718
|
-
description: " ",
|
|
719
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
720
|
-
},
|
|
721
|
-
hideTaxOnSummary: {
|
|
722
|
-
title: "hideTaxOnSummary",
|
|
723
|
-
description: " ",
|
|
724
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
725
|
-
},
|
|
726
|
-
};
|
|
727
|
-
exports.AdminSettingsTemplateSFUI = {
|
|
728
|
-
adminPanelOnly: {
|
|
729
|
-
title: "Retailer Details",
|
|
730
|
-
description: "Only used to identify the banner in the admin panel",
|
|
731
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
732
|
-
value: {
|
|
733
|
-
bannerName: {
|
|
734
|
-
title: "Retailer Name",
|
|
735
|
-
description: "Set the banner name here.",
|
|
736
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
737
|
-
},
|
|
738
|
-
logoUrl: {
|
|
739
|
-
title: "Retailer Logo",
|
|
740
|
-
description: "Set a logo here to help identify the banner.",
|
|
741
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
742
|
-
},
|
|
743
|
-
},
|
|
744
|
-
},
|
|
745
|
-
accountPage: {
|
|
746
|
-
title: "Account Page",
|
|
747
|
-
description: "Account page settings",
|
|
748
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
749
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784302/Account+Page",
|
|
750
|
-
value: AccountPageSettingsChildren,
|
|
751
|
-
},
|
|
752
|
-
addressSettings: {
|
|
753
|
-
title: "Address Settings",
|
|
754
|
-
description: "Controls how the user can add an address",
|
|
755
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
756
|
-
value: AddressSettingsChildren,
|
|
757
|
-
},
|
|
758
|
-
cartSummary: {
|
|
759
|
-
title: "Cart & Order Summary",
|
|
760
|
-
description: "Settings for the Cart or Order Summary section",
|
|
761
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
762
|
-
value: CartSummarySettingsChildren,
|
|
763
|
-
},
|
|
764
|
-
checkout: {
|
|
765
|
-
title: "Checkout Summary",
|
|
766
|
-
description: "Coming Soon",
|
|
767
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
768
|
-
},
|
|
769
|
-
features: {
|
|
770
|
-
title: "Features",
|
|
771
|
-
description: "These are non-essential enhancements and integrations, the storefront will function without these.",
|
|
772
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
773
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304816658/Features",
|
|
774
|
-
value: FeatureSettingsChildren,
|
|
775
|
-
},
|
|
776
|
-
pdpSettings: {
|
|
777
|
-
title: "Product Details Page Settings",
|
|
778
|
-
description: "Coming Soon",
|
|
779
|
-
type: exports.AdminTemplateInputTypes.nullObject,
|
|
780
|
-
},
|
|
781
|
-
productCard: {
|
|
782
|
-
title: "Product Card Settings",
|
|
783
|
-
description: "Coming Soon",
|
|
784
|
-
type: exports.AdminTemplateInputTypes.nullObject,
|
|
785
|
-
},
|
|
786
|
-
siteSettings: {
|
|
787
|
-
title: "General Site Settings",
|
|
788
|
-
description: "These are essential settings, the storefront will NOT function without these.",
|
|
789
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
790
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3328180235/General+Site+Settings",
|
|
791
|
-
value: SiteSettingsChildren,
|
|
792
|
-
},
|
|
793
|
-
// favoritesV1: {
|
|
794
|
-
// title: "Favorites Version1",
|
|
795
|
-
// description: "Enable version 1 of favorites functionality",
|
|
796
|
-
// helpLink:
|
|
797
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144744/Favorites+Version1",
|
|
798
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
799
|
-
// },
|
|
800
|
-
// addressIntegration: {
|
|
801
|
-
// title: "Address Integration",
|
|
802
|
-
// description: "Use external address integration",
|
|
803
|
-
// helpLink:
|
|
804
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3346464807/Address+Integration",
|
|
805
|
-
// type: AdminTemplateInputTypes.object,
|
|
806
|
-
// value: {
|
|
807
|
-
// enabled: {
|
|
808
|
-
// title: "Enabled",
|
|
809
|
-
// description: "Enables external address integration",
|
|
810
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
811
|
-
// },
|
|
812
|
-
// addressFinderType: {
|
|
813
|
-
// title: "Address Finder Type",
|
|
814
|
-
// description: "Select the address finder type",
|
|
815
|
-
// type: AdminTemplateInputTypes.dropdown,
|
|
816
|
-
// options: ["AUS", "EU", "IE", "US", "UK", "CA"],
|
|
817
|
-
// },
|
|
818
|
-
// useForNewAddresses: {
|
|
819
|
-
// title: "Use For New Addresses",
|
|
820
|
-
// description: "Use for creating new addresses on checkout",
|
|
821
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
822
|
-
// },
|
|
823
|
-
// },
|
|
824
|
-
// },
|
|
825
|
-
// hideTaxOnSummary: {
|
|
826
|
-
// title: "Hide Summary Tax",
|
|
827
|
-
// description: "Hide the tax displayed on the summary box",
|
|
828
|
-
// helpLink:
|
|
829
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
830
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
831
|
-
// },
|
|
832
|
-
// houseAccountRegExValidation: {
|
|
833
|
-
// title: "House Account Validation",
|
|
834
|
-
// description: `Regular expression to validate house accounts`,
|
|
835
|
-
// helpLink:
|
|
836
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144701/House+Account+Validation",
|
|
837
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
838
|
-
// },
|
|
839
|
-
// // idpTarget:{
|
|
840
|
-
// // title: "Idp Target",
|
|
841
|
-
// // description: "Idp opens on the same or a new tab",
|
|
842
|
-
// // type: AdminTemplateInputTypes.dropdown,
|
|
843
|
-
// // options: ["_self", "_blank"],
|
|
844
|
-
// // },
|
|
845
|
-
// // idpUrl: {
|
|
846
|
-
// // title: 'External IDP url',
|
|
847
|
-
// // description: 'Is the user using ther own IDP or will they be using the Mi9 My Account functionality for Sign-In / Register and managing the customer account. If Null then Mi9 My Account funcationality will be used.',
|
|
848
|
-
// // type: "nullObject",
|
|
849
|
-
// // value: {}
|
|
850
|
-
// // },
|
|
851
|
-
// // instacartUrl?: string | undefined;
|
|
852
|
-
// // layout?: ILayoutSettings;
|
|
853
|
-
// limitProductCardTitleHeight: {
|
|
854
|
-
// title: "Limit Product Card Title",
|
|
855
|
-
// description: "Restricts the product card title height display",
|
|
856
|
-
// helpLink:
|
|
857
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144711/Limit+Product+Card+Title",
|
|
858
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
859
|
-
// },
|
|
860
|
-
// // loggingLevelClient: {
|
|
861
|
-
// // title: "Client logging Level",
|
|
862
|
-
// // description: "Sets client's logging detail level",
|
|
863
|
-
// // helpLink:
|
|
864
|
-
// // "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
865
|
-
// // type: AdminTemplateInputTypes.checkbox,
|
|
866
|
-
// // },
|
|
867
|
-
// // loggingLevelServer?: ILoggingLevel;
|
|
868
|
-
// mainHeaderHeight: {
|
|
869
|
-
// title: "Main Header Height",
|
|
870
|
-
// description: "Use to set the main header height in pixels",
|
|
871
|
-
// helpLink:
|
|
872
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
873
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
874
|
-
// },
|
|
875
|
-
// minimumCreditCardAmount: {
|
|
876
|
-
// title: "Minimum Credit Card Amount",
|
|
877
|
-
// description: "Use to set the minimum credit card amount",
|
|
878
|
-
// helpLink:
|
|
879
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
880
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
881
|
-
// },
|
|
882
|
-
// nutritionZone: {
|
|
883
|
-
// title: "Nutrition Template",
|
|
884
|
-
// description: "Show the correct nutrition format for the correct zone.",
|
|
885
|
-
// type: AdminTemplateInputTypes.dropdown,
|
|
886
|
-
// options: ["us", "eu", "au", "ca"],
|
|
887
|
-
// },
|
|
888
|
-
// // paymentCards?: IPaymentCards;
|
|
889
|
-
// // pdpDetailsLayout?: IPdpDetailsLayout;
|
|
890
|
-
// productCardTitleHeight: {
|
|
891
|
-
// title: "Product Card Title Height",
|
|
892
|
-
// description: "Set the product card title height in pixels",
|
|
893
|
-
// helpLink:
|
|
894
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
895
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
896
|
-
// },
|
|
897
|
-
// productCardv2: {
|
|
898
|
-
// title: "use product card v2",
|
|
899
|
-
// description: "use product card v2",
|
|
900
|
-
// helpLink:
|
|
901
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
902
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
903
|
-
// },
|
|
904
|
-
// // TODO: this is set to number in main interface, should be fixed numbers
|
|
905
|
-
// promoTemplateVersion: {
|
|
906
|
-
// title: "Promo Template Version",
|
|
907
|
-
// description: "Select a template version to show promotions",
|
|
908
|
-
// helpLink:
|
|
909
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
910
|
-
// type: AdminTemplateInputTypes.dropdown,
|
|
911
|
-
// options: [1, 2, 3],
|
|
912
|
-
// },
|
|
913
|
-
// // registrationFields?: IRegistrationField[];
|
|
914
|
-
// // restrictMapPlacesResults?: IRestrictMapPlaces;
|
|
915
|
-
// searchPreview: {
|
|
916
|
-
// title: "Search Previews",
|
|
917
|
-
// description: "Toggle Products/Suggestions to appear on search preview",
|
|
918
|
-
// type: AdminTemplateInputTypes.object,
|
|
919
|
-
// value: {
|
|
920
|
-
// desktop: {
|
|
921
|
-
// title: "Desktop",
|
|
922
|
-
// description: "",
|
|
923
|
-
// type: AdminTemplateInputTypes.object,
|
|
924
|
-
// value: {
|
|
925
|
-
// products: {
|
|
926
|
-
// title: "Show Products",
|
|
927
|
-
// description: "",
|
|
928
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
929
|
-
// },
|
|
930
|
-
// suggestions: {
|
|
931
|
-
// title: "Show Suggestions",
|
|
932
|
-
// description: "",
|
|
933
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
934
|
-
// },
|
|
935
|
-
// },
|
|
936
|
-
// },
|
|
937
|
-
// mobile: {
|
|
938
|
-
// title: "Mobile",
|
|
939
|
-
// description: "",
|
|
940
|
-
// type: AdminTemplateInputTypes.object,
|
|
941
|
-
// value: {
|
|
942
|
-
// products: {
|
|
943
|
-
// title: "Show Products",
|
|
944
|
-
// description: "",
|
|
945
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
946
|
-
// },
|
|
947
|
-
// suggestions: {
|
|
948
|
-
// title: "Snow Suggestions",
|
|
949
|
-
// description: "",
|
|
950
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
951
|
-
// },
|
|
952
|
-
// },
|
|
953
|
-
// },
|
|
954
|
-
// },
|
|
955
|
-
// },
|
|
956
|
-
// // secondTierAuthorization: {
|
|
957
|
-
// // title: "Second Tier Authorization",
|
|
958
|
-
// // description: "Enable second tier authorization",
|
|
959
|
-
// // helpLink:
|
|
960
|
-
// // "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
961
|
-
// // type: AdminTemplateInputTypes.nullObject,
|
|
962
|
-
// // value: {
|
|
963
|
-
// // time: {
|
|
964
|
-
// // title: "Time",
|
|
965
|
-
// // description: "Time selection",
|
|
966
|
-
// // type: AdminTemplateInputTypes.dropdown,
|
|
967
|
-
// // value: [undefined, null, number]
|
|
968
|
-
// // },
|
|
969
|
-
// // },
|
|
970
|
-
// // },
|
|
971
|
-
// showCheckoutPromoCode: {
|
|
972
|
-
// title: "Show Checkout Promo",
|
|
973
|
-
// description: "Show checkout promotion code",
|
|
974
|
-
// helpLink:
|
|
975
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
976
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
977
|
-
// },
|
|
978
|
-
// showImgOnOrder: {
|
|
979
|
-
// title: "Show Image On Order",
|
|
980
|
-
// description: "Show images on order",
|
|
981
|
-
// helpLink:
|
|
982
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
983
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
984
|
-
// },
|
|
985
|
-
// smsNotifications: {
|
|
986
|
-
// title: "SMS Notifications",
|
|
987
|
-
// description: "Configure SMS Notifications integration",
|
|
988
|
-
// helpLink:
|
|
989
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
990
|
-
// type: AdminTemplateInputTypes.object,
|
|
991
|
-
// value: {
|
|
992
|
-
// enabled: {
|
|
993
|
-
// title: "Enable",
|
|
994
|
-
// description: "Enable SMS Notifications integration",
|
|
995
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
996
|
-
// },
|
|
997
|
-
// getEnrollmentUrl: {
|
|
998
|
-
// title: "Get Url",
|
|
999
|
-
// description: "Get enrollment url",
|
|
1000
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
1001
|
-
// },
|
|
1002
|
-
// postEnrollmentUrl: {
|
|
1003
|
-
// title: "Post Url",
|
|
1004
|
-
// description: "Post enrollment url",
|
|
1005
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
1006
|
-
// },
|
|
1007
|
-
// },
|
|
1008
|
-
// },
|
|
1009
|
-
// subHeaderHeight: {
|
|
1010
|
-
// title: "Subheader Height",
|
|
1011
|
-
// description: "Use to set the sub header height in pixels",
|
|
1012
|
-
// helpLink:
|
|
1013
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
1014
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
1015
|
-
// },
|
|
1016
|
-
// useAddressValidation: {
|
|
1017
|
-
// title: "Use Address Validation",
|
|
1018
|
-
// description: "Use to enable address validation",
|
|
1019
|
-
// helpLink:
|
|
1020
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/useAddressValidation",
|
|
1021
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
1022
|
-
// },
|
|
1023
|
-
};
|
|
1024
|
-
// use for settings that conflict with other settings
|
|
1025
|
-
// ⚠️
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminSettingsTemplateSFUI = 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
|
+
};
|
|
17
|
+
var addressValidationDescription = "Sets the validation types for user addresses";
|
|
18
|
+
var validationTypes = [
|
|
19
|
+
"luhnValidation",
|
|
20
|
+
"alphaNumeric",
|
|
21
|
+
"alphaOnly",
|
|
22
|
+
"numericOnly",
|
|
23
|
+
"anyPhone",
|
|
24
|
+
"email",
|
|
25
|
+
"password",
|
|
26
|
+
"required",
|
|
27
|
+
"usPhone",
|
|
28
|
+
"usMobileNumber",
|
|
29
|
+
"caPhone",
|
|
30
|
+
"auPhone",
|
|
31
|
+
"iePhone",
|
|
32
|
+
"caProvince",
|
|
33
|
+
"usState",
|
|
34
|
+
"auState",
|
|
35
|
+
"ieCounty",
|
|
36
|
+
"caPostCode",
|
|
37
|
+
"usPostCode",
|
|
38
|
+
"auPostCode",
|
|
39
|
+
"iePostCode",
|
|
40
|
+
"noSpecialChar",
|
|
41
|
+
"correctDate",
|
|
42
|
+
];
|
|
43
|
+
var FeatureSettingsChildren = {
|
|
44
|
+
allowInStorePurchases: {
|
|
45
|
+
title: "InStore Purchases",
|
|
46
|
+
description: "Show the purchases made in store in the order history (requires integration).",
|
|
47
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274375221/AllowInStorePurchases",
|
|
48
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
49
|
+
},
|
|
50
|
+
allowPastPurchases: {
|
|
51
|
+
title: "Display PastPurchases",
|
|
52
|
+
description: "Enable displaying past purchases functionality",
|
|
53
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274637365/AllowPastPurchases",
|
|
54
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
55
|
+
},
|
|
56
|
+
additionalCharges: {
|
|
57
|
+
title: "Additional Charges",
|
|
58
|
+
description: "Enables additional charges on the payments section of checkout.",
|
|
59
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/Additional+Charges",
|
|
60
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
61
|
+
},
|
|
62
|
+
addressIntegrationV2: {
|
|
63
|
+
title: "addressIntegrationV2",
|
|
64
|
+
description: "Enables addressIntegrationV2.",
|
|
65
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/AddressIntegrationV2",
|
|
66
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
67
|
+
},
|
|
68
|
+
promotionDetailsPage: {
|
|
69
|
+
title: "Promotion Details Page",
|
|
70
|
+
description: "Enable Promotion calculator for different promotion detail pages",
|
|
71
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3555721239/Promotion+calculator+for+Promotion+Detail+Pages",
|
|
72
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
73
|
+
value: {
|
|
74
|
+
bundlePromotionCalculator: {
|
|
75
|
+
title: "Enable bundle promotion calculator",
|
|
76
|
+
description: "Enable promotion calculator for bundle promotions on details Page",
|
|
77
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
78
|
+
},
|
|
79
|
+
nonBundlePromotionCalculator: {
|
|
80
|
+
title: "Enable non bundle promotion calculator",
|
|
81
|
+
description: "Enable promotion calculator for non bundle promotions on details Page",
|
|
82
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
clientCache: {
|
|
87
|
+
title: "Browser API Caching",
|
|
88
|
+
description: "Enable cache for clients on the browser",
|
|
89
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
90
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304783908/Client+Cache",
|
|
91
|
+
},
|
|
92
|
+
giftCards: {
|
|
93
|
+
title: "Gift Cards",
|
|
94
|
+
description: "Enables gift cards on the payments section of checkout.",
|
|
95
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3313598656/Gift+Cards",
|
|
96
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
97
|
+
value: {
|
|
98
|
+
enabled: {
|
|
99
|
+
title: "Enable Gift Cards",
|
|
100
|
+
description: "Enables gift cards feature.",
|
|
101
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
102
|
+
},
|
|
103
|
+
gitfCardInputValidation: {
|
|
104
|
+
title: "Gift Card Input Validation",
|
|
105
|
+
description: "Regular expression used for giftcard validation",
|
|
106
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
107
|
+
},
|
|
108
|
+
pinInputValidation: {
|
|
109
|
+
title: "Gift Card Pin Validation",
|
|
110
|
+
description: "Regular expression used for pin validation",
|
|
111
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
112
|
+
},
|
|
113
|
+
reCaptcha: {
|
|
114
|
+
title: "Enable reCaptcha",
|
|
115
|
+
description: "Enables reCaptcha validation feature.",
|
|
116
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
117
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327885553/ReCaptcha+validation",
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
couponGallery: {
|
|
122
|
+
title: "Coupon Gallery",
|
|
123
|
+
description: "Enables Coupon Gallery for user to see all available Coupons on one page",
|
|
124
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3429171291/Coupon+Gallery",
|
|
125
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
126
|
+
value: {
|
|
127
|
+
enabled: {
|
|
128
|
+
title: "Enable coupon gallery",
|
|
129
|
+
description: "Enable coupon gallery feature, please select another option below to fully activate feature",
|
|
130
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
131
|
+
},
|
|
132
|
+
galleryIsIframe: {
|
|
133
|
+
title: "Enable coupon gallery internal page",
|
|
134
|
+
description: "Enable coupon gallery Iframe feature within the app",
|
|
135
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
136
|
+
},
|
|
137
|
+
galleryHasNavLink: {
|
|
138
|
+
title: "Enable coupon gallery external page",
|
|
139
|
+
description: "Enable coupon gallery link to external page not in the app",
|
|
140
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
vouchers: {
|
|
145
|
+
title: "Voucher",
|
|
146
|
+
description: "Enables voucher on checkout page (requires integration).",
|
|
147
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
|
|
148
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
149
|
+
value: {
|
|
150
|
+
enabled: {
|
|
151
|
+
title: "Enable Vouchers",
|
|
152
|
+
description: "Enables vouchers feature.",
|
|
153
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
154
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
|
|
155
|
+
},
|
|
156
|
+
reCaptcha: {
|
|
157
|
+
title: "Enable reCaptcha",
|
|
158
|
+
description: "Enables reCaptcha validation feature.",
|
|
159
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
160
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327885553/ReCaptcha+validation",
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
entryModalVersion: {
|
|
165
|
+
title: "Set entry modal step",
|
|
166
|
+
description: "Set entry modal step setting.",
|
|
167
|
+
type: exports.AdminTemplateInputTypes.string,
|
|
168
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Entry+Modal+Version",
|
|
169
|
+
},
|
|
170
|
+
hideAlcoholRule: {
|
|
171
|
+
title: "Set if shopping rule modals appears for alcohol",
|
|
172
|
+
description: "Set boolean to control if shopping rule modals appears for alcohol.",
|
|
173
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
174
|
+
value: {
|
|
175
|
+
pdp: {
|
|
176
|
+
title: "Disable warning box",
|
|
177
|
+
description: "Disable alcohol warning box on pdp.",
|
|
178
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
179
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
180
|
+
},
|
|
181
|
+
modal: {
|
|
182
|
+
title: "Disable warning modal",
|
|
183
|
+
description: "Disable alcohol warning modal popup.",
|
|
184
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
185
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
186
|
+
},
|
|
187
|
+
productCard: {
|
|
188
|
+
title: "Disable shopping rule label",
|
|
189
|
+
description: "Disable alchohol rule label in Product Cards.",
|
|
190
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
191
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
195
|
+
},
|
|
196
|
+
enableGoogleTranslate: {
|
|
197
|
+
title: "Enable Google Translate",
|
|
198
|
+
description: "Enable google translation display and functionality",
|
|
199
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276275734/Enable+Google+Translate",
|
|
200
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
201
|
+
},
|
|
202
|
+
enableNewsletterSignup: {
|
|
203
|
+
title: "Enable Newsletter",
|
|
204
|
+
description: "Enable newsletter signup functionality",
|
|
205
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144678/Enable+Newsletter",
|
|
206
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
207
|
+
},
|
|
208
|
+
enableNotifications: {
|
|
209
|
+
title: "Enable Notifications",
|
|
210
|
+
description: "Enable notifications functionality",
|
|
211
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177422/Enable+Notifications",
|
|
212
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
213
|
+
},
|
|
214
|
+
externalStoreSelectorUrl: {
|
|
215
|
+
title: "External Store Selector Url",
|
|
216
|
+
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.",
|
|
217
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
218
|
+
value: {
|
|
219
|
+
version: {
|
|
220
|
+
title: "Enabled",
|
|
221
|
+
description: "This will enabled the url",
|
|
222
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
223
|
+
},
|
|
224
|
+
retailer: {
|
|
225
|
+
title: "Link to other platform",
|
|
226
|
+
description: "This will link to the previous platform",
|
|
227
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
flipp: {
|
|
232
|
+
title: "Flipp Circulars",
|
|
233
|
+
description: "Configure Flipp circulars integration",
|
|
234
|
+
type: exports.AdminTemplateInputTypes.nullObject,
|
|
235
|
+
value: {
|
|
236
|
+
version: {
|
|
237
|
+
title: "Version",
|
|
238
|
+
description: "Will you use version 1 or version 2?",
|
|
239
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
240
|
+
},
|
|
241
|
+
retailer: {
|
|
242
|
+
title: "Retailer Name",
|
|
243
|
+
description: "The retailer setting from flipp",
|
|
244
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
245
|
+
},
|
|
246
|
+
merchantId: {
|
|
247
|
+
title: "Merchant Id",
|
|
248
|
+
description: "The merchant Id setting from flipp",
|
|
249
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
250
|
+
},
|
|
251
|
+
accessToken: {
|
|
252
|
+
title: "Access Token",
|
|
253
|
+
description: "The access token setting from flipp",
|
|
254
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
255
|
+
},
|
|
256
|
+
zoom: {
|
|
257
|
+
title: "Zoom Level",
|
|
258
|
+
description: "The viewport width percentage for flipp rendering",
|
|
259
|
+
type: exports.AdminTemplateInputTypes.dropdown,
|
|
260
|
+
options: [100, 95, 90, 85, 80, 75, 70, 65, 60],
|
|
261
|
+
},
|
|
262
|
+
locale: {
|
|
263
|
+
title: "Locale",
|
|
264
|
+
description: "The locale of flipp flyers",
|
|
265
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
266
|
+
},
|
|
267
|
+
hideHeader: {
|
|
268
|
+
title: "hideHeader",
|
|
269
|
+
description: "Setting to toggle visibility of the flipp navigation header",
|
|
270
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
271
|
+
},
|
|
272
|
+
},
|
|
273
|
+
},
|
|
274
|
+
smartbanner: {
|
|
275
|
+
title: "Smart Banner",
|
|
276
|
+
description: "Render smart banner on mobile views",
|
|
277
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304849441/Smart+Banner",
|
|
278
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
279
|
+
value: {
|
|
280
|
+
enabled: {
|
|
281
|
+
title: "Enable",
|
|
282
|
+
description: "Enable smart banner",
|
|
283
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
284
|
+
},
|
|
285
|
+
title: {
|
|
286
|
+
title: "Title",
|
|
287
|
+
description: "Smart banner title",
|
|
288
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
289
|
+
},
|
|
290
|
+
author: {
|
|
291
|
+
title: "Author",
|
|
292
|
+
description: "Smart banner author",
|
|
293
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
294
|
+
},
|
|
295
|
+
price: {
|
|
296
|
+
title: "Price",
|
|
297
|
+
description: "Smart banner price",
|
|
298
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
299
|
+
},
|
|
300
|
+
priceSuffixApple: {
|
|
301
|
+
title: "Apple Price Suffix",
|
|
302
|
+
description: "Smart banner price suffix for Apple devices",
|
|
303
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
304
|
+
},
|
|
305
|
+
priceSuffixGoogle: {
|
|
306
|
+
title: "Google Price Suffix",
|
|
307
|
+
description: "Smart banner price suffix for Google devices",
|
|
308
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
309
|
+
},
|
|
310
|
+
iconApple: {
|
|
311
|
+
title: "Apple Icon",
|
|
312
|
+
description: "Smart banner icon for Apple devices",
|
|
313
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
314
|
+
},
|
|
315
|
+
iconGoogle: {
|
|
316
|
+
title: "Google Icon",
|
|
317
|
+
description: "Smart banner icon for Google devices",
|
|
318
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
319
|
+
},
|
|
320
|
+
button: {
|
|
321
|
+
title: "Button",
|
|
322
|
+
description: "Smart banner button text",
|
|
323
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
324
|
+
},
|
|
325
|
+
buttonUrlApple: {
|
|
326
|
+
title: "Apple Button Url",
|
|
327
|
+
description: "Smart banner url for Apple button",
|
|
328
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
329
|
+
},
|
|
330
|
+
buttonUrlGoogle: {
|
|
331
|
+
title: "Google Button Url",
|
|
332
|
+
description: "Smart banner url for Google button",
|
|
333
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
334
|
+
},
|
|
335
|
+
closeLabel: {
|
|
336
|
+
title: "Close Label",
|
|
337
|
+
description: "Smart banner label text",
|
|
338
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
},
|
|
342
|
+
};
|
|
343
|
+
var ContentEngineV2Components = {
|
|
344
|
+
HeroBanner: {
|
|
345
|
+
description: "Use HeroBanner V2",
|
|
346
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3478946114/Hero+Banner",
|
|
347
|
+
title: "Enable HeroBanner V2 component",
|
|
348
|
+
type: "checkbox",
|
|
349
|
+
},
|
|
350
|
+
};
|
|
351
|
+
var SiteSettingsChildren = {
|
|
352
|
+
anonymousCart: {
|
|
353
|
+
title: "Anonymous Cart",
|
|
354
|
+
description: "⚠️ Allows the customer to add to cart without being logged in.⚠️ (Setting has side effects)",
|
|
355
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/Anonymous+Cart",
|
|
356
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
357
|
+
},
|
|
358
|
+
ctaButtons: {
|
|
359
|
+
title: "Call To Action Button Settings",
|
|
360
|
+
description: "Coming Soon",
|
|
361
|
+
type: exports.AdminTemplateInputTypes.nullObject,
|
|
362
|
+
},
|
|
363
|
+
daysToRemainSignedIn: {
|
|
364
|
+
title: "Sign In Days",
|
|
365
|
+
description: "Time in days to remain signed in in the app",
|
|
366
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
367
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
368
|
+
},
|
|
369
|
+
defaultCountry: {
|
|
370
|
+
title: "Default country",
|
|
371
|
+
description: "Select the default country",
|
|
372
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
373
|
+
type: exports.AdminTemplateInputTypes.dropdown,
|
|
374
|
+
options: ["USA", "CAN", "IRE", "AUS"],
|
|
375
|
+
},
|
|
376
|
+
defaultShoppingMode: {
|
|
377
|
+
title: "Default Shopping Mode",
|
|
378
|
+
description: "Shopping mode the site defaults to when a user lands and has not registered.",
|
|
379
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3272999110/Default+Shopping+Mode",
|
|
380
|
+
type: exports.AdminTemplateInputTypes.dropdown,
|
|
381
|
+
options: ["pickup", "planning", "delivery"],
|
|
382
|
+
},
|
|
383
|
+
disableTprPrice: {
|
|
384
|
+
title: "Disable TPR Price",
|
|
385
|
+
description: "Disable the display of tpr pricing",
|
|
386
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177413/Disable+TPR+Price",
|
|
387
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
388
|
+
},
|
|
389
|
+
defaultStoreLocation: {
|
|
390
|
+
title: "Default Store Location",
|
|
391
|
+
description: "Used to center the store selector map to the retailers region. Without setting this, the map defaults to central Africa.",
|
|
392
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
393
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784259/Default+Store+Location",
|
|
394
|
+
value: {
|
|
395
|
+
latitude: {
|
|
396
|
+
title: "Latitude",
|
|
397
|
+
description: "",
|
|
398
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
399
|
+
},
|
|
400
|
+
longitude: {
|
|
401
|
+
title: "Longitude",
|
|
402
|
+
description: "",
|
|
403
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
404
|
+
},
|
|
405
|
+
},
|
|
406
|
+
},
|
|
407
|
+
gtmId: {
|
|
408
|
+
title: "GTM ID",
|
|
409
|
+
description: "Google Tag Manager ID",
|
|
410
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
411
|
+
},
|
|
412
|
+
hideWelcomeModalOnCorporate: {
|
|
413
|
+
title: "Hide Welcome Modal on Corporate",
|
|
414
|
+
description: "Enable to hide the initial welcome modal selection screen when on corporate store",
|
|
415
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3472326883/Hide+Welcome+Modal+on+Corporate",
|
|
416
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
417
|
+
},
|
|
418
|
+
isPlanningOnly: {
|
|
419
|
+
title: "Planning Only",
|
|
420
|
+
description: "Enable if planning mode is the only available shopping method",
|
|
421
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
422
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
423
|
+
},
|
|
424
|
+
RemoveAllOutOfStock: {
|
|
425
|
+
title: "RemoveAllOutOfStock Button",
|
|
426
|
+
description: "Disable RemoveAllOutOfStock to hide RemoveAllOutOfStock button",
|
|
427
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
428
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
429
|
+
},
|
|
430
|
+
mapZoom: {
|
|
431
|
+
title: "Map Zoom",
|
|
432
|
+
description: "Use to change the google maps zoom level",
|
|
433
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
434
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
435
|
+
},
|
|
436
|
+
maintainCustomerJourney: {
|
|
437
|
+
title: "Maintain customer journey",
|
|
438
|
+
description: "Use to navigate back to the page you were after login/store selection etc...",
|
|
439
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3373695163/Maintain+customer+journey",
|
|
440
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
441
|
+
},
|
|
442
|
+
maintainCustomerPreferences: {
|
|
443
|
+
title: "Maintain customer preferences",
|
|
444
|
+
description: "View and modify customer preferences: marketing preferences, substitution preferences, etc.",
|
|
445
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3405381666/Maintain+customer+preferences",
|
|
446
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
447
|
+
value: {
|
|
448
|
+
enabled: {
|
|
449
|
+
title: "Enable",
|
|
450
|
+
description: "Enable Maintain customer preferences",
|
|
451
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
452
|
+
},
|
|
453
|
+
optInMarketingPreferences: {
|
|
454
|
+
title: "Implicit opt in for marketing preferences",
|
|
455
|
+
description: "Do NOT enable for GDPR compliant clients!",
|
|
456
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
457
|
+
},
|
|
458
|
+
},
|
|
459
|
+
},
|
|
460
|
+
retailerCountry: {
|
|
461
|
+
title: "Retailer country",
|
|
462
|
+
description: "Select the retailer country",
|
|
463
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
464
|
+
type: exports.AdminTemplateInputTypes.dropdown,
|
|
465
|
+
options: ["us", "ca", "ie", "au"],
|
|
466
|
+
},
|
|
467
|
+
retailerName: {
|
|
468
|
+
title: "Retailer Name",
|
|
469
|
+
description: "Retailers short code e.g the code used for the retailers environment.",
|
|
470
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
471
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
472
|
+
},
|
|
473
|
+
timeslotModalSettings: {
|
|
474
|
+
title: "Timeslot Modal Settings",
|
|
475
|
+
description: "Force timeslot selection",
|
|
476
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
477
|
+
value: {
|
|
478
|
+
showOnAddToCart: {
|
|
479
|
+
title: "Timeslot on Add To Cart",
|
|
480
|
+
description: "Show timeslot popup when user clicks on AddToCart",
|
|
481
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
482
|
+
},
|
|
483
|
+
timeslotRequiredToAddToCart: {
|
|
484
|
+
title: "Force Timeslot on Add To Cart",
|
|
485
|
+
description: "Force a timeslot selection in order to add item in cart",
|
|
486
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
487
|
+
},
|
|
488
|
+
timeslotRequiredToViewCartReview: {
|
|
489
|
+
title: "Force Timeslot on Cart Page",
|
|
490
|
+
description: "Force a timeslot selection in order to view cart page",
|
|
491
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
492
|
+
},
|
|
493
|
+
timeslotRequiredToViewCheckout: {
|
|
494
|
+
title: "Force Timeslot on Checkout",
|
|
495
|
+
description: "Force a timeslot selection in order to view checkout",
|
|
496
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
497
|
+
},
|
|
498
|
+
},
|
|
499
|
+
},
|
|
500
|
+
useContentEngineV2Components: {
|
|
501
|
+
title: "Use Content Engine V2 Components",
|
|
502
|
+
description: "(work in progress)",
|
|
503
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3478618892/Content+Engine+V2+Components",
|
|
504
|
+
type: exports.AdminTemplateInputTypes.object,
|
|
505
|
+
value: ContentEngineV2Components,
|
|
506
|
+
},
|
|
507
|
+
};
|
|
508
|
+
var AccountPageSettingsChildren = {
|
|
509
|
+
loyaltyTab: {
|
|
510
|
+
title: "Loyalty Tab",
|
|
511
|
+
description: "Set up Loyalty Tab on account page",
|
|
512
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
513
|
+
value: {
|
|
514
|
+
enabled: {
|
|
515
|
+
title: "Enable Loyalty Tab",
|
|
516
|
+
description: "Enable Loyalty tab section within My Account page",
|
|
517
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
518
|
+
},
|
|
519
|
+
disabledEdit: {
|
|
520
|
+
title: "Disable Loyalty edit",
|
|
521
|
+
description: "Prevent users to change their loyalty number",
|
|
522
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
523
|
+
},
|
|
524
|
+
loyaltyNumberLength: {
|
|
525
|
+
title: "Loyalty Number Length",
|
|
526
|
+
description: "Control the loyalty number length",
|
|
527
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
528
|
+
},
|
|
529
|
+
loyaltyNumberPrefix: {
|
|
530
|
+
title: "Loyalty Number Prefix",
|
|
531
|
+
description: "Add hardcoded prefix for loyalty numbers (this will affect the length)",
|
|
532
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
533
|
+
},
|
|
534
|
+
loyaltyValidationType: {
|
|
535
|
+
title: "Loyalty Number Validation",
|
|
536
|
+
description: "Select loyalty validation types",
|
|
537
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
538
|
+
options: validationTypes,
|
|
539
|
+
},
|
|
540
|
+
},
|
|
541
|
+
},
|
|
542
|
+
idp: {
|
|
543
|
+
title: "IDP",
|
|
544
|
+
description: "Use an external account page",
|
|
545
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
546
|
+
value: {
|
|
547
|
+
enabled: {
|
|
548
|
+
title: "Enable",
|
|
549
|
+
description: "Enable the external My Account page",
|
|
550
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
551
|
+
},
|
|
552
|
+
target: {
|
|
553
|
+
title: "Link Target",
|
|
554
|
+
description: "Should the link open in the same or new tab?",
|
|
555
|
+
type: exports.AdminTemplateInputTypes.dropdown,
|
|
556
|
+
options: ["_self", "_blank"],
|
|
557
|
+
},
|
|
558
|
+
url: {
|
|
559
|
+
title: "Link URL",
|
|
560
|
+
description: "URL to link to My Account page",
|
|
561
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
562
|
+
},
|
|
563
|
+
},
|
|
564
|
+
},
|
|
565
|
+
profileTab: {
|
|
566
|
+
title: "Profile Tab",
|
|
567
|
+
description: "Profile Tab settings",
|
|
568
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
569
|
+
value: {
|
|
570
|
+
deleteAccountButton: {
|
|
571
|
+
title: "Delete account button",
|
|
572
|
+
description: "Enable / disable delete account button on My Account page",
|
|
573
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3486023742/Delete+account+button",
|
|
574
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
575
|
+
},
|
|
576
|
+
},
|
|
577
|
+
},
|
|
578
|
+
};
|
|
579
|
+
var AddressSettingsChildren = {
|
|
580
|
+
addressValidationTypes: {
|
|
581
|
+
title: "Address Validation",
|
|
582
|
+
description: "User address validation settings.",
|
|
583
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/Address+Validation",
|
|
584
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
585
|
+
value: {
|
|
586
|
+
addressLine1: {
|
|
587
|
+
title: "Address Line 1",
|
|
588
|
+
description: addressValidationDescription,
|
|
589
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
590
|
+
options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
591
|
+
},
|
|
592
|
+
addressLine2: {
|
|
593
|
+
title: "Address Line 2",
|
|
594
|
+
description: addressValidationDescription,
|
|
595
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
596
|
+
options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
597
|
+
},
|
|
598
|
+
city: {
|
|
599
|
+
title: "City",
|
|
600
|
+
description: addressValidationDescription,
|
|
601
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
602
|
+
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
603
|
+
},
|
|
604
|
+
countyProvinceState: {
|
|
605
|
+
title: "County/Province/State",
|
|
606
|
+
description: addressValidationDescription,
|
|
607
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
608
|
+
options: [
|
|
609
|
+
"alphaNumeric",
|
|
610
|
+
"alphaOnly",
|
|
611
|
+
"auState",
|
|
612
|
+
"ieCounty",
|
|
613
|
+
"usState",
|
|
614
|
+
"caProvince",
|
|
615
|
+
"required",
|
|
616
|
+
],
|
|
617
|
+
},
|
|
618
|
+
familyName: {
|
|
619
|
+
title: "User's Surname",
|
|
620
|
+
description: addressValidationDescription,
|
|
621
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
622
|
+
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
623
|
+
},
|
|
624
|
+
firstName: {
|
|
625
|
+
title: "User's first name",
|
|
626
|
+
description: addressValidationDescription,
|
|
627
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
628
|
+
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
629
|
+
},
|
|
630
|
+
instructions: {
|
|
631
|
+
title: "User Instructions Fields",
|
|
632
|
+
description: "Validation for the input fields for user instructions",
|
|
633
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
634
|
+
options: ["alphaNumeric", "alphaOnly", "required", "numericOnly"],
|
|
635
|
+
},
|
|
636
|
+
phoneNumber: {
|
|
637
|
+
title: "Phone Number",
|
|
638
|
+
description: "The number to be used to contact the user",
|
|
639
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
640
|
+
options: [
|
|
641
|
+
"usPhone",
|
|
642
|
+
"usMobileNumber",
|
|
643
|
+
"numericOnly",
|
|
644
|
+
"auPhone",
|
|
645
|
+
"caPhone",
|
|
646
|
+
"iePhone",
|
|
647
|
+
"anyPhone",
|
|
648
|
+
"required",
|
|
649
|
+
],
|
|
650
|
+
},
|
|
651
|
+
postCode: {
|
|
652
|
+
title: "Post / zip code",
|
|
653
|
+
description: addressValidationDescription,
|
|
654
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
655
|
+
options: [
|
|
656
|
+
"alphaNumeric",
|
|
657
|
+
"auPostCode",
|
|
658
|
+
"caPostCode",
|
|
659
|
+
"iePostCode",
|
|
660
|
+
"usPostCode",
|
|
661
|
+
"numericOnly",
|
|
662
|
+
"required",
|
|
663
|
+
],
|
|
664
|
+
},
|
|
665
|
+
smsNumber: {
|
|
666
|
+
title: "SMS number",
|
|
667
|
+
description: addressValidationDescription,
|
|
668
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
669
|
+
options: [
|
|
670
|
+
"usPhone",
|
|
671
|
+
"usMobileNumber",
|
|
672
|
+
"numericOnly",
|
|
673
|
+
"auPhone",
|
|
674
|
+
"caPhone",
|
|
675
|
+
"iePhone",
|
|
676
|
+
"anyPhone",
|
|
677
|
+
"required",
|
|
678
|
+
],
|
|
679
|
+
},
|
|
680
|
+
},
|
|
681
|
+
},
|
|
682
|
+
eircode: {
|
|
683
|
+
title: "Eircode",
|
|
684
|
+
description: "Add a link to the address section",
|
|
685
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
686
|
+
value: {
|
|
687
|
+
enabled: {
|
|
688
|
+
title: "Enable",
|
|
689
|
+
description: "",
|
|
690
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
691
|
+
},
|
|
692
|
+
url: {
|
|
693
|
+
title: "Link URL",
|
|
694
|
+
description: "",
|
|
695
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
696
|
+
},
|
|
697
|
+
},
|
|
698
|
+
},
|
|
699
|
+
integration: {
|
|
700
|
+
title: "Address Integration Settings",
|
|
701
|
+
description: "Coming Soon",
|
|
702
|
+
type: exports.AdminTemplateInputTypes.nullObject,
|
|
703
|
+
},
|
|
704
|
+
useAddressValidation: {
|
|
705
|
+
title: "useAddressValidation",
|
|
706
|
+
description: "useAddressValidation",
|
|
707
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
708
|
+
},
|
|
709
|
+
};
|
|
710
|
+
var CartSummarySettingsChildren = {
|
|
711
|
+
showTaxTotal: {
|
|
712
|
+
title: "showTaxTotal",
|
|
713
|
+
description: " ",
|
|
714
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
715
|
+
},
|
|
716
|
+
showTaxGroups: {
|
|
717
|
+
title: "showTaxGroups",
|
|
718
|
+
description: " ",
|
|
719
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
720
|
+
},
|
|
721
|
+
hideTaxOnSummary: {
|
|
722
|
+
title: "hideTaxOnSummary",
|
|
723
|
+
description: " ",
|
|
724
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
725
|
+
},
|
|
726
|
+
};
|
|
727
|
+
exports.AdminSettingsTemplateSFUI = {
|
|
728
|
+
adminPanelOnly: {
|
|
729
|
+
title: "Retailer Details",
|
|
730
|
+
description: "Only used to identify the banner in the admin panel",
|
|
731
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
732
|
+
value: {
|
|
733
|
+
bannerName: {
|
|
734
|
+
title: "Retailer Name",
|
|
735
|
+
description: "Set the banner name here.",
|
|
736
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
737
|
+
},
|
|
738
|
+
logoUrl: {
|
|
739
|
+
title: "Retailer Logo",
|
|
740
|
+
description: "Set a logo here to help identify the banner.",
|
|
741
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
742
|
+
},
|
|
743
|
+
},
|
|
744
|
+
},
|
|
745
|
+
accountPage: {
|
|
746
|
+
title: "Account Page",
|
|
747
|
+
description: "Account page settings",
|
|
748
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
749
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784302/Account+Page",
|
|
750
|
+
value: AccountPageSettingsChildren,
|
|
751
|
+
},
|
|
752
|
+
addressSettings: {
|
|
753
|
+
title: "Address Settings",
|
|
754
|
+
description: "Controls how the user can add an address",
|
|
755
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
756
|
+
value: AddressSettingsChildren,
|
|
757
|
+
},
|
|
758
|
+
cartSummary: {
|
|
759
|
+
title: "Cart & Order Summary",
|
|
760
|
+
description: "Settings for the Cart or Order Summary section",
|
|
761
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
762
|
+
value: CartSummarySettingsChildren,
|
|
763
|
+
},
|
|
764
|
+
checkout: {
|
|
765
|
+
title: "Checkout Summary",
|
|
766
|
+
description: "Coming Soon",
|
|
767
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
768
|
+
},
|
|
769
|
+
features: {
|
|
770
|
+
title: "Features",
|
|
771
|
+
description: "These are non-essential enhancements and integrations, the storefront will function without these.",
|
|
772
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
773
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304816658/Features",
|
|
774
|
+
value: FeatureSettingsChildren,
|
|
775
|
+
},
|
|
776
|
+
pdpSettings: {
|
|
777
|
+
title: "Product Details Page Settings",
|
|
778
|
+
description: "Coming Soon",
|
|
779
|
+
type: exports.AdminTemplateInputTypes.nullObject,
|
|
780
|
+
},
|
|
781
|
+
productCard: {
|
|
782
|
+
title: "Product Card Settings",
|
|
783
|
+
description: "Coming Soon",
|
|
784
|
+
type: exports.AdminTemplateInputTypes.nullObject,
|
|
785
|
+
},
|
|
786
|
+
siteSettings: {
|
|
787
|
+
title: "General Site Settings",
|
|
788
|
+
description: "These are essential settings, the storefront will NOT function without these.",
|
|
789
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
790
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3328180235/General+Site+Settings",
|
|
791
|
+
value: SiteSettingsChildren,
|
|
792
|
+
},
|
|
793
|
+
// favoritesV1: {
|
|
794
|
+
// title: "Favorites Version1",
|
|
795
|
+
// description: "Enable version 1 of favorites functionality",
|
|
796
|
+
// helpLink:
|
|
797
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144744/Favorites+Version1",
|
|
798
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
799
|
+
// },
|
|
800
|
+
// addressIntegration: {
|
|
801
|
+
// title: "Address Integration",
|
|
802
|
+
// description: "Use external address integration",
|
|
803
|
+
// helpLink:
|
|
804
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3346464807/Address+Integration",
|
|
805
|
+
// type: AdminTemplateInputTypes.object,
|
|
806
|
+
// value: {
|
|
807
|
+
// enabled: {
|
|
808
|
+
// title: "Enabled",
|
|
809
|
+
// description: "Enables external address integration",
|
|
810
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
811
|
+
// },
|
|
812
|
+
// addressFinderType: {
|
|
813
|
+
// title: "Address Finder Type",
|
|
814
|
+
// description: "Select the address finder type",
|
|
815
|
+
// type: AdminTemplateInputTypes.dropdown,
|
|
816
|
+
// options: ["AUS", "EU", "IE", "US", "UK", "CA"],
|
|
817
|
+
// },
|
|
818
|
+
// useForNewAddresses: {
|
|
819
|
+
// title: "Use For New Addresses",
|
|
820
|
+
// description: "Use for creating new addresses on checkout",
|
|
821
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
822
|
+
// },
|
|
823
|
+
// },
|
|
824
|
+
// },
|
|
825
|
+
// hideTaxOnSummary: {
|
|
826
|
+
// title: "Hide Summary Tax",
|
|
827
|
+
// description: "Hide the tax displayed on the summary box",
|
|
828
|
+
// helpLink:
|
|
829
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
830
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
831
|
+
// },
|
|
832
|
+
// houseAccountRegExValidation: {
|
|
833
|
+
// title: "House Account Validation",
|
|
834
|
+
// description: `Regular expression to validate house accounts`,
|
|
835
|
+
// helpLink:
|
|
836
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144701/House+Account+Validation",
|
|
837
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
838
|
+
// },
|
|
839
|
+
// // idpTarget:{
|
|
840
|
+
// // title: "Idp Target",
|
|
841
|
+
// // description: "Idp opens on the same or a new tab",
|
|
842
|
+
// // type: AdminTemplateInputTypes.dropdown,
|
|
843
|
+
// // options: ["_self", "_blank"],
|
|
844
|
+
// // },
|
|
845
|
+
// // idpUrl: {
|
|
846
|
+
// // title: 'External IDP url',
|
|
847
|
+
// // description: 'Is the user using ther own IDP or will they be using the Mi9 My Account functionality for Sign-In / Register and managing the customer account. If Null then Mi9 My Account funcationality will be used.',
|
|
848
|
+
// // type: "nullObject",
|
|
849
|
+
// // value: {}
|
|
850
|
+
// // },
|
|
851
|
+
// // instacartUrl?: string | undefined;
|
|
852
|
+
// // layout?: ILayoutSettings;
|
|
853
|
+
// limitProductCardTitleHeight: {
|
|
854
|
+
// title: "Limit Product Card Title",
|
|
855
|
+
// description: "Restricts the product card title height display",
|
|
856
|
+
// helpLink:
|
|
857
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144711/Limit+Product+Card+Title",
|
|
858
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
859
|
+
// },
|
|
860
|
+
// // loggingLevelClient: {
|
|
861
|
+
// // title: "Client logging Level",
|
|
862
|
+
// // description: "Sets client's logging detail level",
|
|
863
|
+
// // helpLink:
|
|
864
|
+
// // "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
865
|
+
// // type: AdminTemplateInputTypes.checkbox,
|
|
866
|
+
// // },
|
|
867
|
+
// // loggingLevelServer?: ILoggingLevel;
|
|
868
|
+
// mainHeaderHeight: {
|
|
869
|
+
// title: "Main Header Height",
|
|
870
|
+
// description: "Use to set the main header height in pixels",
|
|
871
|
+
// helpLink:
|
|
872
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
873
|
+
// type: AdminTemplateInputTypes.inputNumber,
|
|
874
|
+
// },
|
|
875
|
+
// minimumCreditCardAmount: {
|
|
876
|
+
// title: "Minimum Credit Card Amount",
|
|
877
|
+
// description: "Use to set the minimum credit card amount",
|
|
878
|
+
// helpLink:
|
|
879
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
880
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
881
|
+
// },
|
|
882
|
+
// nutritionZone: {
|
|
883
|
+
// title: "Nutrition Template",
|
|
884
|
+
// description: "Show the correct nutrition format for the correct zone.",
|
|
885
|
+
// type: AdminTemplateInputTypes.dropdown,
|
|
886
|
+
// options: ["us", "eu", "au", "ca"],
|
|
887
|
+
// },
|
|
888
|
+
// // paymentCards?: IPaymentCards;
|
|
889
|
+
// // pdpDetailsLayout?: IPdpDetailsLayout;
|
|
890
|
+
// productCardTitleHeight: {
|
|
891
|
+
// title: "Product Card Title Height",
|
|
892
|
+
// description: "Set the product card title height in pixels",
|
|
893
|
+
// helpLink:
|
|
894
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
895
|
+
// type: AdminTemplateInputTypes.inputNumber,
|
|
896
|
+
// },
|
|
897
|
+
// productCardv2: {
|
|
898
|
+
// title: "use product card v2",
|
|
899
|
+
// description: "use product card v2",
|
|
900
|
+
// helpLink:
|
|
901
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
902
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
903
|
+
// },
|
|
904
|
+
// // TODO: this is set to number in main interface, should be fixed numbers
|
|
905
|
+
// promoTemplateVersion: {
|
|
906
|
+
// title: "Promo Template Version",
|
|
907
|
+
// description: "Select a template version to show promotions",
|
|
908
|
+
// helpLink:
|
|
909
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
910
|
+
// type: AdminTemplateInputTypes.dropdown,
|
|
911
|
+
// options: [1, 2, 3],
|
|
912
|
+
// },
|
|
913
|
+
// // registrationFields?: IRegistrationField[];
|
|
914
|
+
// // restrictMapPlacesResults?: IRestrictMapPlaces;
|
|
915
|
+
// searchPreview: {
|
|
916
|
+
// title: "Search Previews",
|
|
917
|
+
// description: "Toggle Products/Suggestions to appear on search preview",
|
|
918
|
+
// type: AdminTemplateInputTypes.object,
|
|
919
|
+
// value: {
|
|
920
|
+
// desktop: {
|
|
921
|
+
// title: "Desktop",
|
|
922
|
+
// description: "",
|
|
923
|
+
// type: AdminTemplateInputTypes.object,
|
|
924
|
+
// value: {
|
|
925
|
+
// products: {
|
|
926
|
+
// title: "Show Products",
|
|
927
|
+
// description: "",
|
|
928
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
929
|
+
// },
|
|
930
|
+
// suggestions: {
|
|
931
|
+
// title: "Show Suggestions",
|
|
932
|
+
// description: "",
|
|
933
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
934
|
+
// },
|
|
935
|
+
// },
|
|
936
|
+
// },
|
|
937
|
+
// mobile: {
|
|
938
|
+
// title: "Mobile",
|
|
939
|
+
// description: "",
|
|
940
|
+
// type: AdminTemplateInputTypes.object,
|
|
941
|
+
// value: {
|
|
942
|
+
// products: {
|
|
943
|
+
// title: "Show Products",
|
|
944
|
+
// description: "",
|
|
945
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
946
|
+
// },
|
|
947
|
+
// suggestions: {
|
|
948
|
+
// title: "Snow Suggestions",
|
|
949
|
+
// description: "",
|
|
950
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
951
|
+
// },
|
|
952
|
+
// },
|
|
953
|
+
// },
|
|
954
|
+
// },
|
|
955
|
+
// },
|
|
956
|
+
// // secondTierAuthorization: {
|
|
957
|
+
// // title: "Second Tier Authorization",
|
|
958
|
+
// // description: "Enable second tier authorization",
|
|
959
|
+
// // helpLink:
|
|
960
|
+
// // "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
961
|
+
// // type: AdminTemplateInputTypes.nullObject,
|
|
962
|
+
// // value: {
|
|
963
|
+
// // time: {
|
|
964
|
+
// // title: "Time",
|
|
965
|
+
// // description: "Time selection",
|
|
966
|
+
// // type: AdminTemplateInputTypes.dropdown,
|
|
967
|
+
// // value: [undefined, null, number]
|
|
968
|
+
// // },
|
|
969
|
+
// // },
|
|
970
|
+
// // },
|
|
971
|
+
// showCheckoutPromoCode: {
|
|
972
|
+
// title: "Show Checkout Promo",
|
|
973
|
+
// description: "Show checkout promotion code",
|
|
974
|
+
// helpLink:
|
|
975
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
976
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
977
|
+
// },
|
|
978
|
+
// showImgOnOrder: {
|
|
979
|
+
// title: "Show Image On Order",
|
|
980
|
+
// description: "Show images on order",
|
|
981
|
+
// helpLink:
|
|
982
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
983
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
984
|
+
// },
|
|
985
|
+
// smsNotifications: {
|
|
986
|
+
// title: "SMS Notifications",
|
|
987
|
+
// description: "Configure SMS Notifications integration",
|
|
988
|
+
// helpLink:
|
|
989
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
990
|
+
// type: AdminTemplateInputTypes.object,
|
|
991
|
+
// value: {
|
|
992
|
+
// enabled: {
|
|
993
|
+
// title: "Enable",
|
|
994
|
+
// description: "Enable SMS Notifications integration",
|
|
995
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
996
|
+
// },
|
|
997
|
+
// getEnrollmentUrl: {
|
|
998
|
+
// title: "Get Url",
|
|
999
|
+
// description: "Get enrollment url",
|
|
1000
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
1001
|
+
// },
|
|
1002
|
+
// postEnrollmentUrl: {
|
|
1003
|
+
// title: "Post Url",
|
|
1004
|
+
// description: "Post enrollment url",
|
|
1005
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
1006
|
+
// },
|
|
1007
|
+
// },
|
|
1008
|
+
// },
|
|
1009
|
+
// subHeaderHeight: {
|
|
1010
|
+
// title: "Subheader Height",
|
|
1011
|
+
// description: "Use to set the sub header height in pixels",
|
|
1012
|
+
// helpLink:
|
|
1013
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
1014
|
+
// type: AdminTemplateInputTypes.inputNumber,
|
|
1015
|
+
// },
|
|
1016
|
+
// useAddressValidation: {
|
|
1017
|
+
// title: "Use Address Validation",
|
|
1018
|
+
// description: "Use to enable address validation",
|
|
1019
|
+
// helpLink:
|
|
1020
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/useAddressValidation",
|
|
1021
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
1022
|
+
// },
|
|
1023
|
+
};
|
|
1024
|
+
// use for settings that conflict with other settings
|
|
1025
|
+
// ⚠️
|