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