@thryveai/theme-interfaces 2.3.16 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -29
- package/dist/index.d.ts +4 -4
- package/dist/interfaces/admin-settings-interfaces.d.ts +7 -1
- package/dist/interfaces/default-settings.interfaces.d.ts +18 -5
- package/dist/interfaces/default-settings.interfaces.js +1 -0
- package/dist/interfaces/retailer-settings.interfaces.d.ts +137 -8
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +605 -588
- package/dist/storefront/defaultSettingsStorefront.d.ts +2 -2
- package/dist/storefront/defaultSettingsStorefront.js +197 -207
- package/package.json +21 -18
|
@@ -40,6 +40,544 @@ 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
|
+
clientCache: {
|
|
63
|
+
title: "Browser API Caching",
|
|
64
|
+
description: "Enable cache for clients on the browser",
|
|
65
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
66
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304783908/Client+Cache",
|
|
67
|
+
},
|
|
68
|
+
giftCards: {
|
|
69
|
+
title: "Gift Cards",
|
|
70
|
+
description: "Enables gift cards on the payments section of checkout.",
|
|
71
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3313598656/Gift+Cards",
|
|
72
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
73
|
+
value: {
|
|
74
|
+
enabled: {
|
|
75
|
+
title: "Enable Gift Cards",
|
|
76
|
+
description: "Enables gift cards feature.",
|
|
77
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
78
|
+
},
|
|
79
|
+
gitfCardInputValidation: {
|
|
80
|
+
title: "Gift Card Input Validation",
|
|
81
|
+
description: "Regular expression used for giftcard validation",
|
|
82
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
83
|
+
},
|
|
84
|
+
pinInputValidation: {
|
|
85
|
+
title: "Gift Card Pin Validation",
|
|
86
|
+
description: "Regular expression used for pin validation",
|
|
87
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
88
|
+
},
|
|
89
|
+
reCaptcha: {
|
|
90
|
+
title: "Enable reCaptcha",
|
|
91
|
+
description: "Enables reCaptcha validation feature.",
|
|
92
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
93
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327885553/ReCaptcha+validation",
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
vouchers: {
|
|
98
|
+
title: "Voucher",
|
|
99
|
+
description: "Enables voucher on checkout page (requires integration).",
|
|
100
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
|
|
101
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
102
|
+
value: {
|
|
103
|
+
enabled: {
|
|
104
|
+
title: "Enable Vouchers",
|
|
105
|
+
description: "Enables vouchers feature.",
|
|
106
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
107
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
|
|
108
|
+
},
|
|
109
|
+
reCaptcha: {
|
|
110
|
+
title: "Enable reCaptcha",
|
|
111
|
+
description: "Enables reCaptcha validation feature.",
|
|
112
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
113
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327885553/ReCaptcha+validation",
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
entryModalVersion: {
|
|
118
|
+
title: "Set entry modal step",
|
|
119
|
+
description: "Set entry modal step setting.",
|
|
120
|
+
type: exports.AdminTemplateInputTypes.string,
|
|
121
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Entry+Modal+Version",
|
|
122
|
+
},
|
|
123
|
+
hideAlcoholRule: {
|
|
124
|
+
title: "Set if shopping rule modals appears for alcohol",
|
|
125
|
+
description: "Set boolean to control if shopping rule modals appears for alcohol.",
|
|
126
|
+
type: exports.AdminTemplateInputTypes.string,
|
|
127
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
128
|
+
},
|
|
129
|
+
enableGoogleTranslate: {
|
|
130
|
+
title: "Enable Google Translate",
|
|
131
|
+
description: "Enable google translation display and functionality",
|
|
132
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276275734/Enable+Google+Translate",
|
|
133
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
134
|
+
},
|
|
135
|
+
enableNewsletterSignup: {
|
|
136
|
+
title: "Enable Newsletter",
|
|
137
|
+
description: "Enable newsletter signup functionality",
|
|
138
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144678/Enable+Newsletter",
|
|
139
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
140
|
+
},
|
|
141
|
+
enableNotifications: {
|
|
142
|
+
title: "Enable Notifications",
|
|
143
|
+
description: "Enable notifications functionality",
|
|
144
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177422/Enable+Notifications",
|
|
145
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
146
|
+
},
|
|
147
|
+
externalStoreSelectorUrl: {
|
|
148
|
+
title: "External Store Selector Url",
|
|
149
|
+
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.",
|
|
150
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
151
|
+
value: {
|
|
152
|
+
version: {
|
|
153
|
+
title: "Enabled",
|
|
154
|
+
description: "This will enabled the url",
|
|
155
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
156
|
+
},
|
|
157
|
+
retailer: {
|
|
158
|
+
title: "Link to other platform",
|
|
159
|
+
description: "This will link to the previous platform",
|
|
160
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
flipp: {
|
|
165
|
+
title: "Flipp Circulars",
|
|
166
|
+
description: "Configure Flipp circulars integration",
|
|
167
|
+
type: exports.AdminTemplateInputTypes.nullObject,
|
|
168
|
+
value: {
|
|
169
|
+
version: {
|
|
170
|
+
title: "Version",
|
|
171
|
+
description: "Will you use version 1 or version 2?",
|
|
172
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
173
|
+
},
|
|
174
|
+
retailer: {
|
|
175
|
+
title: "Retailer Name",
|
|
176
|
+
description: "The retailer setting from flipp",
|
|
177
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
178
|
+
},
|
|
179
|
+
merchantId: {
|
|
180
|
+
title: "Merchant Id",
|
|
181
|
+
description: "The merchant Id setting from flipp",
|
|
182
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
183
|
+
},
|
|
184
|
+
accessToken: {
|
|
185
|
+
title: "Access Token",
|
|
186
|
+
description: "The access token setting from flipp",
|
|
187
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
smartbanner: {
|
|
192
|
+
title: "Smart Banner",
|
|
193
|
+
description: "Render smart banner on mobile views",
|
|
194
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304849441/Smart+Banner",
|
|
195
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
196
|
+
value: {
|
|
197
|
+
enabled: {
|
|
198
|
+
title: "Enable",
|
|
199
|
+
description: "Enable smart banner",
|
|
200
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
201
|
+
},
|
|
202
|
+
title: {
|
|
203
|
+
title: "Title",
|
|
204
|
+
description: "Smart banner title",
|
|
205
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
206
|
+
},
|
|
207
|
+
author: {
|
|
208
|
+
title: "Author",
|
|
209
|
+
description: "Smart banner author",
|
|
210
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
211
|
+
},
|
|
212
|
+
price: {
|
|
213
|
+
title: "Price",
|
|
214
|
+
description: "Smart banner price",
|
|
215
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
216
|
+
},
|
|
217
|
+
priceSuffixApple: {
|
|
218
|
+
title: "Apple Price Suffix",
|
|
219
|
+
description: "Smart banner price suffix for Apple devices",
|
|
220
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
221
|
+
},
|
|
222
|
+
priceSuffixGoogle: {
|
|
223
|
+
title: "Google Price Suffix",
|
|
224
|
+
description: "Smart banner price suffix for Google devices",
|
|
225
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
226
|
+
},
|
|
227
|
+
iconApple: {
|
|
228
|
+
title: "Apple Icon",
|
|
229
|
+
description: "Smart banner icon for Apple devices",
|
|
230
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
231
|
+
},
|
|
232
|
+
iconGoogle: {
|
|
233
|
+
title: "Google Icon",
|
|
234
|
+
description: "Smart banner icon for Google devices",
|
|
235
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
236
|
+
},
|
|
237
|
+
button: {
|
|
238
|
+
title: "Button",
|
|
239
|
+
description: "Smart banner button text",
|
|
240
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
241
|
+
},
|
|
242
|
+
buttonUrlApple: {
|
|
243
|
+
title: "Apple Button Url",
|
|
244
|
+
description: "Smart banner url for Apple button",
|
|
245
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
246
|
+
},
|
|
247
|
+
buttonUrlGoogle: {
|
|
248
|
+
title: "Google Button Url",
|
|
249
|
+
description: "Smart banner url for Google button",
|
|
250
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
251
|
+
},
|
|
252
|
+
closeLabel: {
|
|
253
|
+
title: "Close Label",
|
|
254
|
+
description: "Smart banner label text",
|
|
255
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
},
|
|
259
|
+
};
|
|
260
|
+
var SiteSettingsChildren = {
|
|
261
|
+
anonymousCart: {
|
|
262
|
+
title: "Anonymous Cart",
|
|
263
|
+
description: "⚠️ Allows the customer to add to cart without being logged in.⚠️ (Setting has side effects)",
|
|
264
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/Anonymous+Cart",
|
|
265
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
266
|
+
},
|
|
267
|
+
ctaButtons: {
|
|
268
|
+
title: "Call To Action Button Settings",
|
|
269
|
+
description: "Coming Soon",
|
|
270
|
+
type: exports.AdminTemplateInputTypes.nullObject,
|
|
271
|
+
},
|
|
272
|
+
daysToRemainSignedIn: {
|
|
273
|
+
title: "Sign In Days",
|
|
274
|
+
description: "Time in days to remain signed in in the app",
|
|
275
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
276
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
277
|
+
},
|
|
278
|
+
defaultCountry: {
|
|
279
|
+
title: "Default country",
|
|
280
|
+
description: "Select the default country",
|
|
281
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
282
|
+
type: exports.AdminTemplateInputTypes.dropdown,
|
|
283
|
+
options: ["USA", "CAN", "IRE", "AUS"],
|
|
284
|
+
},
|
|
285
|
+
defaultShoppingMode: {
|
|
286
|
+
title: "Default Shopping Mode",
|
|
287
|
+
description: "Shopping mode the site defaults to when a user lands and has not registered.",
|
|
288
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3272999110/Default+Shopping+Mode",
|
|
289
|
+
type: exports.AdminTemplateInputTypes.dropdown,
|
|
290
|
+
options: ["pickup", "planning", "delivery"],
|
|
291
|
+
},
|
|
292
|
+
disableTprPrice: {
|
|
293
|
+
title: "Disable TPR Price",
|
|
294
|
+
description: "Disable the display of tpr pricing",
|
|
295
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177413/Disable+TPR+Price",
|
|
296
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
297
|
+
},
|
|
298
|
+
defaultStoreLocation: {
|
|
299
|
+
title: "Default Store Location",
|
|
300
|
+
description: "Used to center the store selector map to the retailers region. Without setting this, the map defaults to central Africa.",
|
|
301
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
302
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784259/Default+Store+Location",
|
|
303
|
+
value: {
|
|
304
|
+
latitude: {
|
|
305
|
+
title: "Latitude",
|
|
306
|
+
description: "",
|
|
307
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
308
|
+
},
|
|
309
|
+
longitude: {
|
|
310
|
+
title: "Longitude",
|
|
311
|
+
description: "",
|
|
312
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
},
|
|
316
|
+
gtmId: {
|
|
317
|
+
title: "GTM ID",
|
|
318
|
+
description: "Google Tag Manager ID",
|
|
319
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
320
|
+
},
|
|
321
|
+
isPlanningOnly: {
|
|
322
|
+
title: "Planning Only",
|
|
323
|
+
description: "Enable if planning mode is the only available shopping method",
|
|
324
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
325
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
326
|
+
},
|
|
327
|
+
mapZoom: {
|
|
328
|
+
title: "Map Zoom",
|
|
329
|
+
description: "Use to change the google maps zoom level",
|
|
330
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
331
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
332
|
+
},
|
|
333
|
+
maintainCustomerJourney: {
|
|
334
|
+
title: "Maintain customer journey",
|
|
335
|
+
description: "Use to navigate back to the page you were after login/store selection etc...",
|
|
336
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3373695163/Maintain+customer+journey",
|
|
337
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
338
|
+
},
|
|
339
|
+
retailerCountry: {
|
|
340
|
+
title: "Retailer country",
|
|
341
|
+
description: "Select the retailer country",
|
|
342
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
343
|
+
type: exports.AdminTemplateInputTypes.dropdown,
|
|
344
|
+
options: ["us", "ca", "ie", "au"],
|
|
345
|
+
},
|
|
346
|
+
retailerName: {
|
|
347
|
+
title: "Retailer Name",
|
|
348
|
+
description: "Retailers short code e.g the code used for the retailers environment.",
|
|
349
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
350
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
351
|
+
},
|
|
352
|
+
timeslotModalSettings: {
|
|
353
|
+
title: "Timeslot Modal Settings",
|
|
354
|
+
description: "Force timeslot selection",
|
|
355
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
356
|
+
value: {
|
|
357
|
+
showOnAddToCart: {
|
|
358
|
+
title: "Timeslot on Add To Cart",
|
|
359
|
+
description: "Show timeslot popup when user clicks on AddToCart",
|
|
360
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
361
|
+
},
|
|
362
|
+
timeslotRequiredToAddToCart: {
|
|
363
|
+
title: "Force Timeslot on Add To Cart",
|
|
364
|
+
description: "Force a timeslot selection in order to add item in cart",
|
|
365
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
366
|
+
},
|
|
367
|
+
timeslotRequiredToViewCartReview: {
|
|
368
|
+
title: "Force Timeslot on Cart Page",
|
|
369
|
+
description: "Force a timeslot selection in order to view cart page",
|
|
370
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
},
|
|
374
|
+
};
|
|
375
|
+
var AccountPageSettingsChildren = {
|
|
376
|
+
loyaltyTab: {
|
|
377
|
+
title: "Loyalty Tab",
|
|
378
|
+
description: "Set up Loyalty Tab on account page",
|
|
379
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
380
|
+
value: {
|
|
381
|
+
enabled: {
|
|
382
|
+
title: "Enable Loyalty Tab",
|
|
383
|
+
description: "Enable Loyalty tab section within My Account page",
|
|
384
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
385
|
+
},
|
|
386
|
+
disabledEdit: {
|
|
387
|
+
title: "Disable Loyalty edit",
|
|
388
|
+
description: "Prevent users to change their loyalty number",
|
|
389
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
390
|
+
},
|
|
391
|
+
loyaltyNumberLength: {
|
|
392
|
+
title: "Loyalty Number Length",
|
|
393
|
+
description: "Control the loyalty number length",
|
|
394
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
395
|
+
},
|
|
396
|
+
loyaltyNumberPrefix: {
|
|
397
|
+
title: "Loyalty Number Prefix",
|
|
398
|
+
description: "Add hardcoded prefix for loyalty numbers (this will affect the length)",
|
|
399
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
400
|
+
},
|
|
401
|
+
loyaltyValidationType: {
|
|
402
|
+
title: "Loyalty Number Validation",
|
|
403
|
+
description: "Select loyalty validation types",
|
|
404
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
405
|
+
options: validationTypes,
|
|
406
|
+
},
|
|
407
|
+
},
|
|
408
|
+
},
|
|
409
|
+
idp: {
|
|
410
|
+
title: "IDP",
|
|
411
|
+
description: "Use an external account page",
|
|
412
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
413
|
+
value: {
|
|
414
|
+
enabled: {
|
|
415
|
+
title: "Enable",
|
|
416
|
+
description: "Enable the external My Account page",
|
|
417
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
418
|
+
},
|
|
419
|
+
target: {
|
|
420
|
+
title: "Link Target",
|
|
421
|
+
description: "Should the link open in the same or new tab?",
|
|
422
|
+
type: exports.AdminTemplateInputTypes.dropdown,
|
|
423
|
+
options: ["_self", "_blank"],
|
|
424
|
+
},
|
|
425
|
+
url: {
|
|
426
|
+
title: "Link URL",
|
|
427
|
+
description: "URL to link to My Account page",
|
|
428
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
},
|
|
432
|
+
};
|
|
433
|
+
var AddressSettingsChildren = {
|
|
434
|
+
addressValidationTypes: {
|
|
435
|
+
title: "Address Validation",
|
|
436
|
+
description: "User address validation settings.",
|
|
437
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/Address+Validation",
|
|
438
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
439
|
+
value: {
|
|
440
|
+
addressLine1: {
|
|
441
|
+
title: "Address Line 1",
|
|
442
|
+
description: addressValidationDescription,
|
|
443
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
444
|
+
options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
445
|
+
},
|
|
446
|
+
addressLine2: {
|
|
447
|
+
title: "Address Line 2",
|
|
448
|
+
description: addressValidationDescription,
|
|
449
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
450
|
+
options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
451
|
+
},
|
|
452
|
+
city: {
|
|
453
|
+
title: "City",
|
|
454
|
+
description: addressValidationDescription,
|
|
455
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
456
|
+
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
457
|
+
},
|
|
458
|
+
countyProvinceState: {
|
|
459
|
+
title: "County/Province/State",
|
|
460
|
+
description: addressValidationDescription,
|
|
461
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
462
|
+
options: [
|
|
463
|
+
"alphaNumeric",
|
|
464
|
+
"alphaOnly",
|
|
465
|
+
"auState",
|
|
466
|
+
"ieCounty",
|
|
467
|
+
"usState",
|
|
468
|
+
"caProvince",
|
|
469
|
+
"required",
|
|
470
|
+
],
|
|
471
|
+
},
|
|
472
|
+
familyName: {
|
|
473
|
+
title: "User's Surname",
|
|
474
|
+
description: addressValidationDescription,
|
|
475
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
476
|
+
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
477
|
+
},
|
|
478
|
+
firstName: {
|
|
479
|
+
title: "User's first name",
|
|
480
|
+
description: addressValidationDescription,
|
|
481
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
482
|
+
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
483
|
+
},
|
|
484
|
+
instructions: {
|
|
485
|
+
title: "User Instructions Fields",
|
|
486
|
+
description: "Validation for the input fields for user instructions",
|
|
487
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
488
|
+
options: ["alphaNumeric", "alphaOnly", "required", "numericOnly"],
|
|
489
|
+
},
|
|
490
|
+
phoneNumber: {
|
|
491
|
+
title: "Phone Number",
|
|
492
|
+
description: "The number to be used to contact the user",
|
|
493
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
494
|
+
options: [
|
|
495
|
+
"usPhone",
|
|
496
|
+
"usMobileNumber",
|
|
497
|
+
"numericOnly",
|
|
498
|
+
"auPhone",
|
|
499
|
+
"caPhone",
|
|
500
|
+
"iePhone",
|
|
501
|
+
"anyPhone",
|
|
502
|
+
"required",
|
|
503
|
+
],
|
|
504
|
+
},
|
|
505
|
+
postCode: {
|
|
506
|
+
title: "Post / zip code",
|
|
507
|
+
description: addressValidationDescription,
|
|
508
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
509
|
+
options: [
|
|
510
|
+
"alphaNumeric",
|
|
511
|
+
"auPostCode",
|
|
512
|
+
"caPostCode",
|
|
513
|
+
"iePostCode",
|
|
514
|
+
"usPostCode",
|
|
515
|
+
"numericOnly",
|
|
516
|
+
"required",
|
|
517
|
+
],
|
|
518
|
+
},
|
|
519
|
+
smsNumber: {
|
|
520
|
+
title: "SMS number",
|
|
521
|
+
description: addressValidationDescription,
|
|
522
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
523
|
+
options: [
|
|
524
|
+
"usPhone",
|
|
525
|
+
"usMobileNumber",
|
|
526
|
+
"numericOnly",
|
|
527
|
+
"auPhone",
|
|
528
|
+
"caPhone",
|
|
529
|
+
"iePhone",
|
|
530
|
+
"anyPhone",
|
|
531
|
+
"required",
|
|
532
|
+
],
|
|
533
|
+
},
|
|
534
|
+
},
|
|
535
|
+
},
|
|
536
|
+
eircode: {
|
|
537
|
+
title: "Eircode",
|
|
538
|
+
description: "Add a link to the address section",
|
|
539
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
540
|
+
value: {
|
|
541
|
+
enabled: {
|
|
542
|
+
title: "Enable",
|
|
543
|
+
description: "",
|
|
544
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
545
|
+
},
|
|
546
|
+
url: {
|
|
547
|
+
title: "Link URL",
|
|
548
|
+
description: "",
|
|
549
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
550
|
+
},
|
|
551
|
+
},
|
|
552
|
+
},
|
|
553
|
+
integration: {
|
|
554
|
+
title: "Address Integration Settings",
|
|
555
|
+
description: "Coming Soon",
|
|
556
|
+
type: exports.AdminTemplateInputTypes.nullObject,
|
|
557
|
+
},
|
|
558
|
+
useAddressValidation: {
|
|
559
|
+
title: "useAddressValidation",
|
|
560
|
+
description: "useAddressValidation",
|
|
561
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
562
|
+
},
|
|
563
|
+
};
|
|
564
|
+
var CartSummarySettingsChildren = {
|
|
565
|
+
showTaxTotal: {
|
|
566
|
+
title: "showTaxTotal",
|
|
567
|
+
description: " ",
|
|
568
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
569
|
+
},
|
|
570
|
+
showTaxGroups: {
|
|
571
|
+
title: "showTaxGroups",
|
|
572
|
+
description: " ",
|
|
573
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
574
|
+
},
|
|
575
|
+
hideTaxOnSummary: {
|
|
576
|
+
title: "hideTaxOnSummary",
|
|
577
|
+
description: " ",
|
|
578
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
579
|
+
},
|
|
580
|
+
};
|
|
43
581
|
exports.AdminSettingsTemplateSFUI = {
|
|
44
582
|
adminPanelOnly: {
|
|
45
583
|
title: "Retailer Details",
|
|
@@ -58,556 +596,86 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
58
596
|
},
|
|
59
597
|
},
|
|
60
598
|
},
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
// helpLink:
|
|
86
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/Address+Validation",
|
|
87
|
-
// type: AdminTemplateInputTypes.object,
|
|
88
|
-
// value: {
|
|
89
|
-
// firstName: {
|
|
90
|
-
// title: "User's first name",
|
|
91
|
-
// description: addressValidationDescription,
|
|
92
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
93
|
-
// options: ["alphaNumeric", "alphaOnly", "required"],
|
|
94
|
-
// },
|
|
95
|
-
// familyName: {
|
|
96
|
-
// title: "User's Surname",
|
|
97
|
-
// description: addressValidationDescription,
|
|
98
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
99
|
-
// options: ["alphaNumeric", "alphaOnly", "required"],
|
|
100
|
-
// },
|
|
101
|
-
// addressLine1: {
|
|
102
|
-
// title: "Address Line 1",
|
|
103
|
-
// description: addressValidationDescription,
|
|
104
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
105
|
-
// options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
106
|
-
// },
|
|
107
|
-
// addressLine2: {
|
|
108
|
-
// title: "Address Line 2",
|
|
109
|
-
// description: addressValidationDescription,
|
|
110
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
111
|
-
// options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
112
|
-
// },
|
|
113
|
-
// city: {
|
|
114
|
-
// title: "City",
|
|
115
|
-
// description: addressValidationDescription,
|
|
116
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
117
|
-
// options: ["alphaNumeric", "alphaOnly", "required"],
|
|
118
|
-
// },
|
|
119
|
-
// countyProvinceState: {
|
|
120
|
-
// title: "County/Province/State",
|
|
121
|
-
// description: addressValidationDescription,
|
|
122
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
123
|
-
// options: [
|
|
124
|
-
// "alphaNumeric",
|
|
125
|
-
// "alphaOnly",
|
|
126
|
-
// "auState",
|
|
127
|
-
// "ieCounty",
|
|
128
|
-
// "usState",
|
|
129
|
-
// "caProvince",
|
|
130
|
-
// "required",
|
|
131
|
-
// ],
|
|
132
|
-
// },
|
|
133
|
-
// instructions: {
|
|
134
|
-
// title: "User Instructions Fields",
|
|
135
|
-
// description: "Validation for the input fields for user instructions",
|
|
136
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
137
|
-
// options: ["alphaNumeric", "alphaOnly", "required", "numericOnly"],
|
|
138
|
-
// },
|
|
139
|
-
// phoneNumber: {
|
|
140
|
-
// title: "Phone Number",
|
|
141
|
-
// description: "The number to be used to contact the user",
|
|
142
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
143
|
-
// options: [
|
|
144
|
-
// "usPhone",
|
|
145
|
-
// "usMobileNumber",
|
|
146
|
-
// "numericOnly",
|
|
147
|
-
// "auPhone",
|
|
148
|
-
// "caPhone",
|
|
149
|
-
// "iePhone",
|
|
150
|
-
// "anyPhone",
|
|
151
|
-
// "required",
|
|
152
|
-
// ],
|
|
153
|
-
// },
|
|
154
|
-
// postCode: {
|
|
155
|
-
// title: "Post / zip code",
|
|
156
|
-
// description: addressValidationDescription,
|
|
157
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
158
|
-
// options: [
|
|
159
|
-
// "alphaNumeric",
|
|
160
|
-
// "auPostCode",
|
|
161
|
-
// "caPostCode",
|
|
162
|
-
// "iePostCode",
|
|
163
|
-
// "usPostCode",
|
|
164
|
-
// "numericOnly",
|
|
165
|
-
// "required",
|
|
166
|
-
// ],
|
|
167
|
-
// },
|
|
168
|
-
// },
|
|
169
|
-
// },
|
|
170
|
-
// accountPage: {
|
|
171
|
-
// title: "Account Page",
|
|
172
|
-
// description: "Account page settings",
|
|
173
|
-
// type: AdminTemplateInputTypes.object,
|
|
174
|
-
// helpLink:
|
|
175
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784302/Account+Page",
|
|
176
|
-
// value: {
|
|
177
|
-
// loyaltyTab: {
|
|
178
|
-
// title: "Loyalty Tab",
|
|
179
|
-
// description: "Set up Loyalty Tab on account page",
|
|
180
|
-
// type: AdminTemplateInputTypes.object,
|
|
181
|
-
// value: {
|
|
182
|
-
// enabled: {
|
|
183
|
-
// title: "Enable Loyalty Tab",
|
|
184
|
-
// description: "Enable Loyalty tab section within My Account page",
|
|
185
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
186
|
-
// },
|
|
187
|
-
// disabledEdit: {
|
|
188
|
-
// title: "Disable Loyalty edit",
|
|
189
|
-
// description: "Prevent users to change their loyalty number",
|
|
190
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
191
|
-
// },
|
|
192
|
-
// loyaltyNumberLength: {
|
|
193
|
-
// title: "Loyalty Number Length",
|
|
194
|
-
// description: "Control the loyalty number length",
|
|
195
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
196
|
-
// },
|
|
197
|
-
// loyaltyNumberPrefix: {
|
|
198
|
-
// title: "Loyalty Number Prefix",
|
|
199
|
-
// description:
|
|
200
|
-
// "Add hardcoded prefix for loyalty numbers (this will affect the length)",
|
|
201
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
202
|
-
// },
|
|
203
|
-
// loyaltyValidationType: {
|
|
204
|
-
// title: "Loyalty Number Validation",
|
|
205
|
-
// description: "Select loyalty validation types",
|
|
206
|
-
// type: AdminTemplateInputTypes.multiDropdown,
|
|
207
|
-
// options: validationTypes,
|
|
208
|
-
// },
|
|
209
|
-
// },
|
|
210
|
-
// },
|
|
211
|
-
// },
|
|
212
|
-
// },
|
|
213
|
-
// // canadianAddressCompleteKey?: string | undefined;
|
|
214
|
-
// // checkout?: IGlobalCheckoutProps;
|
|
215
|
-
// checkoutV1: {
|
|
216
|
-
// title: "Checkout Version",
|
|
217
|
-
// description: "Change your version of the checkout shown to users",
|
|
218
|
-
// helpLink:
|
|
219
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276111878/Checkout+Version",
|
|
220
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
221
|
-
// },
|
|
222
|
-
// // checkoutValidation?: ICheckoutValidation;
|
|
223
|
-
// // ctaButtons?: ICtaButtons;
|
|
224
|
-
// daysToRemainSignedIn: {
|
|
225
|
-
// title: "Sign In Days",
|
|
226
|
-
// description: "Time in days to remain signed in in the app",
|
|
227
|
-
// helpLink:
|
|
228
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
229
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
230
|
-
// },
|
|
231
|
-
// defaultCountry: {
|
|
232
|
-
// title: "Default Country",
|
|
233
|
-
// description: "Used for address, phone validation & ui formating.",
|
|
234
|
-
// helpLink:
|
|
235
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3273752757/Default+Country",
|
|
236
|
-
// type: AdminTemplateInputTypes.dropdown,
|
|
237
|
-
// options: ["USA", "Canada", "Ireland", "Australia"],
|
|
238
|
-
// },
|
|
239
|
-
// // defaultSearchParams?: IDefaultSearchParams;
|
|
240
|
-
// defaultShoppingMode: {
|
|
241
|
-
// title: "Default Shopping Mode",
|
|
242
|
-
// description:
|
|
243
|
-
// "Shopping mode the site defaults to when a user lands and has not registered.",
|
|
244
|
-
// helpLink:
|
|
245
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3272999110/Default+Shopping+Mode",
|
|
246
|
-
// type: AdminTemplateInputTypes.dropdown,
|
|
247
|
-
// options: ["pickup", "planning", "delivery"],
|
|
248
|
-
// },
|
|
249
|
-
// defaultStoreLocation: {
|
|
250
|
-
// title: "Default Store Location",
|
|
251
|
-
// description:
|
|
252
|
-
// "Used to center the store selector map to the retailers region. Without setting this, the map defaults to central Africa.",
|
|
253
|
-
// type: AdminTemplateInputTypes.object,
|
|
254
|
-
// helpLink:
|
|
255
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784259/Default+Store+Location",
|
|
256
|
-
// value: {
|
|
257
|
-
// latitude: {
|
|
258
|
-
// title: "Latitude",
|
|
259
|
-
// description: "",
|
|
260
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
261
|
-
// },
|
|
262
|
-
// longitude: {
|
|
263
|
-
// title: "Longitude",
|
|
264
|
-
// description: "",
|
|
265
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
266
|
-
// },
|
|
267
|
-
// },
|
|
268
|
-
// },
|
|
269
|
-
// // defaultStoreLocation?: IDefaultStoreLocation;
|
|
270
|
-
// disableTprPrice: {
|
|
271
|
-
// title: "Disable TPR Price",
|
|
272
|
-
// description: "Disable the display of tpr pricing",
|
|
273
|
-
// helpLink:
|
|
274
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177413/Disable+TPR+Price",
|
|
275
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
276
|
-
// },
|
|
277
|
-
// documentTitle: {
|
|
278
|
-
// title: "Document Title",
|
|
279
|
-
// description:
|
|
280
|
-
// "Fallback browser page Title if no SEO details are added to the page via the CMS.",
|
|
281
|
-
// helpLink:
|
|
282
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275685918/Document+Title",
|
|
283
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
284
|
-
// },
|
|
285
|
-
// // eircode?: string | null;
|
|
286
|
-
// enable3dSecure: {
|
|
287
|
-
// title: "Enable 3DSecure",
|
|
288
|
-
// description: "Enable 3d secure validation for payment",
|
|
289
|
-
// helpLink:
|
|
290
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144647/Enable+3DSecure",
|
|
291
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
292
|
-
// },
|
|
293
|
-
// enableGoogleTranslate: {
|
|
294
|
-
// title: "Enable Google Translate",
|
|
295
|
-
// description: "Enable google translation display and functionality",
|
|
296
|
-
// helpLink:
|
|
297
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276275734/Enable+Google+Translate",
|
|
298
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
299
|
-
// },
|
|
300
|
-
// enableNewsletterSignup: {
|
|
301
|
-
// title: "Enable Newsletter",
|
|
302
|
-
// description: "Enable newsletter signup functionality",
|
|
303
|
-
// helpLink:
|
|
304
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144678/Enable+Newsletter",
|
|
305
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
306
|
-
// },
|
|
307
|
-
// enableNotifications: {
|
|
308
|
-
// title: "Enable Notifications",
|
|
309
|
-
// description: "Enable notifications functionality",
|
|
310
|
-
// helpLink:
|
|
311
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177422/Enable+Notifications",
|
|
312
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
313
|
-
// },
|
|
314
|
-
// // errorLoggingLevel?: ILoggingLevel;
|
|
315
|
-
// // externalApps?: IExternalApps;
|
|
316
|
-
// // externalStoreSelectorUrl: {
|
|
317
|
-
// // title: "External Store Selector Url",
|
|
318
|
-
// // description:
|
|
319
|
-
// // "Shows a link back to previous shoping platform, seen on store selection modal.This is generally used for an existing site that has not migrated all their stores to WynShop.",
|
|
320
|
-
// // type: "inputChar",
|
|
321
|
-
// // },
|
|
322
|
-
// favoritesV1: {
|
|
323
|
-
// title: "Favorites Version1",
|
|
324
|
-
// description: "Enable version 1 of favorites functionality",
|
|
325
|
-
// helpLink:
|
|
326
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144744/Favorites+Version1",
|
|
327
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
328
|
-
// },
|
|
599
|
+
accountPage: {
|
|
600
|
+
title: "Account Page",
|
|
601
|
+
description: "Account page settings",
|
|
602
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
603
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784302/Account+Page",
|
|
604
|
+
value: AccountPageSettingsChildren,
|
|
605
|
+
},
|
|
606
|
+
addressSettings: {
|
|
607
|
+
title: "Address Settings",
|
|
608
|
+
description: "Controls how the user can add an address",
|
|
609
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
610
|
+
value: AddressSettingsChildren,
|
|
611
|
+
},
|
|
612
|
+
cartSummary: {
|
|
613
|
+
title: "Cart & Order Summary",
|
|
614
|
+
description: "Settings for the Cart or Order Summary section",
|
|
615
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
616
|
+
value: CartSummarySettingsChildren,
|
|
617
|
+
},
|
|
618
|
+
checkout: {
|
|
619
|
+
title: "Checkout Summary",
|
|
620
|
+
description: "Coming Soon",
|
|
621
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
622
|
+
},
|
|
329
623
|
features: {
|
|
330
624
|
title: "Features",
|
|
331
625
|
description: "These are non-essential enhancements and integrations, the storefront will function without these.",
|
|
332
626
|
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
333
627
|
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304816658/Features",
|
|
334
|
-
value:
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304783908/Client+Cache",
|
|
346
|
-
},
|
|
347
|
-
giftCards: {
|
|
348
|
-
title: "Gift Cards",
|
|
349
|
-
description: "Enables gift cards on the payments section of checkout.",
|
|
350
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3313598656/Gift+Cards",
|
|
351
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
352
|
-
value: {
|
|
353
|
-
enabled: {
|
|
354
|
-
title: "Enable Gift Cards",
|
|
355
|
-
description: "Enables gift cards feature.",
|
|
356
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
357
|
-
},
|
|
358
|
-
gitfCardInputValidation: {
|
|
359
|
-
title: "Gift Card Input Validation",
|
|
360
|
-
description: "Regular expression used for giftcard validation",
|
|
361
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
362
|
-
},
|
|
363
|
-
pinInputValidation: {
|
|
364
|
-
title: "Gift Card Pin Validation",
|
|
365
|
-
description: "Regular expression used for pin validation",
|
|
366
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
367
|
-
},
|
|
368
|
-
reCaptcha: {
|
|
369
|
-
title: "Enable reCaptcha",
|
|
370
|
-
description: "Enables reCaptcha validation feature.",
|
|
371
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
372
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327885553/ReCaptcha+validation",
|
|
373
|
-
},
|
|
374
|
-
},
|
|
375
|
-
},
|
|
376
|
-
vouchers: {
|
|
377
|
-
title: "Voucher",
|
|
378
|
-
description: "Enables voucher on checkout page (requires integration).",
|
|
379
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
|
|
380
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
381
|
-
value: {
|
|
382
|
-
enabled: {
|
|
383
|
-
title: "Enable Vouchers",
|
|
384
|
-
description: "Enables vouchers feature.",
|
|
385
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
386
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
|
|
387
|
-
},
|
|
388
|
-
reCaptcha: {
|
|
389
|
-
title: "Enable reCaptcha",
|
|
390
|
-
description: "Enables reCaptcha validation feature.",
|
|
391
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
392
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327885553/ReCaptcha+validation",
|
|
393
|
-
},
|
|
394
|
-
},
|
|
395
|
-
},
|
|
396
|
-
entryModalVersion: {
|
|
397
|
-
title: "Set entry modal step",
|
|
398
|
-
description: "Set entry modal step setting.",
|
|
399
|
-
type: exports.AdminTemplateInputTypes.string,
|
|
400
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Entry+Modal+Version",
|
|
401
|
-
},
|
|
402
|
-
smartbanner: {
|
|
403
|
-
title: "Smart Banner",
|
|
404
|
-
description: "Render smart banner on mobile views",
|
|
405
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304849441/Smart+Banner",
|
|
406
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
407
|
-
value: {
|
|
408
|
-
enabled: {
|
|
409
|
-
title: "Enable",
|
|
410
|
-
description: "Enable smart banner",
|
|
411
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
412
|
-
},
|
|
413
|
-
title: {
|
|
414
|
-
title: "Title",
|
|
415
|
-
description: "Smart banner title",
|
|
416
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
417
|
-
},
|
|
418
|
-
author: {
|
|
419
|
-
title: "Author",
|
|
420
|
-
description: "Smart banner author",
|
|
421
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
422
|
-
},
|
|
423
|
-
price: {
|
|
424
|
-
title: "Price",
|
|
425
|
-
description: "Smart banner price",
|
|
426
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
427
|
-
},
|
|
428
|
-
priceSuffixApple: {
|
|
429
|
-
title: "Apple Price Suffix",
|
|
430
|
-
description: "Smart banner price suffix for Apple devices",
|
|
431
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
432
|
-
},
|
|
433
|
-
priceSuffixGoogle: {
|
|
434
|
-
title: "Google Price Suffix",
|
|
435
|
-
description: "Smart banner price suffix for Google devices",
|
|
436
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
437
|
-
},
|
|
438
|
-
iconApple: {
|
|
439
|
-
title: "Apple Icon",
|
|
440
|
-
description: "Smart banner icon for Apple devices",
|
|
441
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
442
|
-
},
|
|
443
|
-
iconGoogle: {
|
|
444
|
-
title: "Google Icon",
|
|
445
|
-
description: "Smart banner icon for Google devices",
|
|
446
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
447
|
-
},
|
|
448
|
-
button: {
|
|
449
|
-
title: "Button",
|
|
450
|
-
description: "Smart banner button text",
|
|
451
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
452
|
-
},
|
|
453
|
-
buttonUrlApple: {
|
|
454
|
-
title: "Apple Button Url",
|
|
455
|
-
description: "Smart banner url for Apple button",
|
|
456
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
457
|
-
},
|
|
458
|
-
buttonUrlGoogle: {
|
|
459
|
-
title: "Google Button Url",
|
|
460
|
-
description: "Smart banner url for Google button",
|
|
461
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
462
|
-
},
|
|
463
|
-
closeLabel: {
|
|
464
|
-
title: "Close Label",
|
|
465
|
-
description: "Smart banner label text",
|
|
466
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
467
|
-
},
|
|
468
|
-
},
|
|
469
|
-
},
|
|
470
|
-
addressIntegration: {
|
|
471
|
-
title: "Address Integration",
|
|
472
|
-
description: "Use external address integration",
|
|
473
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3346464807/Address+Integration",
|
|
474
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
475
|
-
value: {
|
|
476
|
-
enabled: {
|
|
477
|
-
title: "Enabled",
|
|
478
|
-
description: "Enables external address integration",
|
|
479
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
480
|
-
},
|
|
481
|
-
addressFinderType: {
|
|
482
|
-
title: "Address Finder Type",
|
|
483
|
-
description: "Select the address finder type",
|
|
484
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
485
|
-
options: ["AUS", "EU", "IE", "US", "UK", "CA"],
|
|
486
|
-
},
|
|
487
|
-
useForNewAddresses: {
|
|
488
|
-
title: "Use For New Addresses",
|
|
489
|
-
description: "Use for creating new addresses on checkout",
|
|
490
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
491
|
-
},
|
|
492
|
-
},
|
|
493
|
-
},
|
|
494
|
-
},
|
|
628
|
+
value: FeatureSettingsChildren,
|
|
629
|
+
},
|
|
630
|
+
pdpSettings: {
|
|
631
|
+
title: "Product Details Page Settings",
|
|
632
|
+
description: "Coming Soon",
|
|
633
|
+
type: exports.AdminTemplateInputTypes.nullObject,
|
|
634
|
+
},
|
|
635
|
+
productCard: {
|
|
636
|
+
title: "Product Card Settings",
|
|
637
|
+
description: "Coming Soon",
|
|
638
|
+
type: exports.AdminTemplateInputTypes.nullObject,
|
|
495
639
|
},
|
|
496
640
|
siteSettings: {
|
|
497
641
|
title: "General Site Settings",
|
|
498
642
|
description: "These are essential settings, the storefront will NOT function without these.",
|
|
499
643
|
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
500
644
|
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3328180235/General+Site+Settings",
|
|
501
|
-
value:
|
|
502
|
-
anonymousCart: {
|
|
503
|
-
title: "Anonymous Cart",
|
|
504
|
-
description: "Allows the customer to add to cart without being logged in.",
|
|
505
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/Anonymous+Cart",
|
|
506
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
507
|
-
},
|
|
508
|
-
},
|
|
645
|
+
value: SiteSettingsChildren,
|
|
509
646
|
},
|
|
510
|
-
//
|
|
511
|
-
// title: "
|
|
512
|
-
// description: "
|
|
513
|
-
//
|
|
514
|
-
//
|
|
515
|
-
//
|
|
516
|
-
// title: "Version",
|
|
517
|
-
// description: "Will you use version 1 or version 2?",
|
|
518
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
519
|
-
// },
|
|
520
|
-
// retailer: {
|
|
521
|
-
// title: "Retailer Name",
|
|
522
|
-
// description: "The retailer setting from flipp",
|
|
523
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
524
|
-
// },
|
|
525
|
-
// merchantId: {
|
|
526
|
-
// title: "Merchant Id",
|
|
527
|
-
// description: "The merchant Id setting from flipp",
|
|
528
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
529
|
-
// },
|
|
530
|
-
// accessToken: {
|
|
531
|
-
// title: "Access Token",
|
|
532
|
-
// description: "The access token setting from flipp",
|
|
533
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
534
|
-
// },
|
|
535
|
-
// },
|
|
647
|
+
// favoritesV1: {
|
|
648
|
+
// title: "Favorites Version1",
|
|
649
|
+
// description: "Enable version 1 of favorites functionality",
|
|
650
|
+
// helpLink:
|
|
651
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144744/Favorites+Version1",
|
|
652
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
536
653
|
// },
|
|
537
|
-
//
|
|
538
|
-
//
|
|
539
|
-
//
|
|
540
|
-
//
|
|
541
|
-
//
|
|
542
|
-
//
|
|
543
|
-
//
|
|
544
|
-
//
|
|
545
|
-
//
|
|
546
|
-
//
|
|
547
|
-
//
|
|
548
|
-
//
|
|
549
|
-
//
|
|
550
|
-
//
|
|
551
|
-
//
|
|
552
|
-
//
|
|
553
|
-
//
|
|
554
|
-
//
|
|
555
|
-
//
|
|
556
|
-
//
|
|
557
|
-
//
|
|
558
|
-
//
|
|
559
|
-
//
|
|
560
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
561
|
-
// },
|
|
562
|
-
// priceSuffixApple: {
|
|
563
|
-
// title: "Apple Price Suffix",
|
|
564
|
-
// description: "Smart banner price suffix for Apple devices",
|
|
565
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
566
|
-
// },
|
|
567
|
-
// priceSuffixGoogle: {
|
|
568
|
-
// title: "Google Price Suffix",
|
|
569
|
-
// description: "Smart banner price suffix for Google devices",
|
|
570
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
571
|
-
// },
|
|
572
|
-
// iconApple: {
|
|
573
|
-
// title: "Apple Icon",
|
|
574
|
-
// description: "Smart banner icon for Apple devices",
|
|
575
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
576
|
-
// },
|
|
577
|
-
// iconGoogle: {
|
|
578
|
-
// title: "Google Icon",
|
|
579
|
-
// description: "Smart banner icon for Google devices",
|
|
580
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
581
|
-
// },
|
|
582
|
-
// button: {
|
|
583
|
-
// title: "Button",
|
|
584
|
-
// description: "Smart banner button text",
|
|
585
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
586
|
-
// },
|
|
587
|
-
// buttonUrlApple: {
|
|
588
|
-
// title: "Apple Button Url",
|
|
589
|
-
// description: "Smart banner url for Apple button",
|
|
590
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
591
|
-
// },
|
|
592
|
-
// buttonUrlGoogle: {
|
|
593
|
-
// title: "Google Button Url",
|
|
594
|
-
// description: "Smart banner url for Google button",
|
|
595
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
596
|
-
// },
|
|
597
|
-
// closeLabel: {
|
|
598
|
-
// title: "Close Label",
|
|
599
|
-
// description: "Smart banner label text",
|
|
600
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
654
|
+
// addressIntegration: {
|
|
655
|
+
// title: "Address Integration",
|
|
656
|
+
// description: "Use external address integration",
|
|
657
|
+
// helpLink:
|
|
658
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3346464807/Address+Integration",
|
|
659
|
+
// type: AdminTemplateInputTypes.object,
|
|
660
|
+
// value: {
|
|
661
|
+
// enabled: {
|
|
662
|
+
// title: "Enabled",
|
|
663
|
+
// description: "Enables external address integration",
|
|
664
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
665
|
+
// },
|
|
666
|
+
// addressFinderType: {
|
|
667
|
+
// title: "Address Finder Type",
|
|
668
|
+
// description: "Select the address finder type",
|
|
669
|
+
// type: AdminTemplateInputTypes.dropdown,
|
|
670
|
+
// options: ["AUS", "EU", "IE", "US", "UK", "CA"],
|
|
671
|
+
// },
|
|
672
|
+
// useForNewAddresses: {
|
|
673
|
+
// title: "Use For New Addresses",
|
|
674
|
+
// description: "Use for creating new addresses on checkout",
|
|
675
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
676
|
+
// },
|
|
601
677
|
// },
|
|
602
678
|
// },
|
|
603
|
-
// },
|
|
604
|
-
// globalAnimations?: IGlobalAnimations;
|
|
605
|
-
// googleAutocompleteSettings?: IGoogleAutocompleteSettings;
|
|
606
|
-
// gtmId: {
|
|
607
|
-
// title: "GTM ID",
|
|
608
|
-
// description: "Google Tag Manager ID",
|
|
609
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
610
|
-
// },
|
|
611
679
|
// hideTaxOnSummary: {
|
|
612
680
|
// title: "Hide Summary Tax",
|
|
613
681
|
// description: "Hide the tax displayed on the summary box",
|
|
@@ -635,14 +703,6 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
635
703
|
// // value: {}
|
|
636
704
|
// // },
|
|
637
705
|
// // instacartUrl?: string | undefined;
|
|
638
|
-
// isPlanningOnly: {
|
|
639
|
-
// title: "Planning Only",
|
|
640
|
-
// description:
|
|
641
|
-
// "Enable if planning mode is the only available shopping method",
|
|
642
|
-
// helpLink:
|
|
643
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
644
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
645
|
-
// },
|
|
646
706
|
// // layout?: ILayoutSettings;
|
|
647
707
|
// limitProductCardTitleHeight: {
|
|
648
708
|
// title: "Limit Product Card Title",
|
|
@@ -666,13 +726,6 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
666
726
|
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
667
727
|
// type: AdminTemplateInputTypes.inputNumber,
|
|
668
728
|
// },
|
|
669
|
-
// mapZoom: {
|
|
670
|
-
// title: "Map Zoom",
|
|
671
|
-
// description: "Use to change the google maps zoom level",
|
|
672
|
-
// helpLink:
|
|
673
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
674
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
675
|
-
// },
|
|
676
729
|
// minimumCreditCardAmount: {
|
|
677
730
|
// title: "Minimum Credit Card Amount",
|
|
678
731
|
// description: "Use to set the minimum credit card amount",
|
|
@@ -713,22 +766,6 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
713
766
|
// },
|
|
714
767
|
// // registrationFields?: IRegistrationField[];
|
|
715
768
|
// // restrictMapPlacesResults?: IRestrictMapPlaces;
|
|
716
|
-
// retailerCountry: {
|
|
717
|
-
// title: "Retailer country",
|
|
718
|
-
// description: "Select the retailer country",
|
|
719
|
-
// helpLink:
|
|
720
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
721
|
-
// type: AdminTemplateInputTypes.dropdown,
|
|
722
|
-
// options: ["us", "ca", "ie", "au"],
|
|
723
|
-
// },
|
|
724
|
-
// retailerName: {
|
|
725
|
-
// title: "Retailer Name",
|
|
726
|
-
// description:
|
|
727
|
-
// "Retailers short code e.g the code used for the retailers environment.",
|
|
728
|
-
// helpLink:
|
|
729
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
730
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
731
|
-
// },
|
|
732
769
|
// searchPreview: {
|
|
733
770
|
// title: "Search Previews",
|
|
734
771
|
// description: "Toggle Products/Suggestions to appear on search preview",
|
|
@@ -830,28 +867,6 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
830
867
|
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
831
868
|
// type: AdminTemplateInputTypes.inputNumber,
|
|
832
869
|
// },
|
|
833
|
-
// timeslotModalSettings: {
|
|
834
|
-
// title: "Timeslot Modal Settings",
|
|
835
|
-
// description: "Force timeslot selection",
|
|
836
|
-
// type: AdminTemplateInputTypes.object,
|
|
837
|
-
// value: {
|
|
838
|
-
// showOnAddToCart: {
|
|
839
|
-
// title: "Timeslot on Add To Cart",
|
|
840
|
-
// description: "Show timeslot popup when user clicks on AddToCart",
|
|
841
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
842
|
-
// },
|
|
843
|
-
// timeslotRequiredToAddToCart: {
|
|
844
|
-
// title: "Force Timeslot on Add To Cart",
|
|
845
|
-
// description: "Force a timeslot selection in order to add item in cart",
|
|
846
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
847
|
-
// },
|
|
848
|
-
// timeslotRequiredToViewCartReview: {
|
|
849
|
-
// title: "Force Timeslot on Cart Page",
|
|
850
|
-
// description: "Force a timeslot selection in order to view cart page",
|
|
851
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
852
|
-
// },
|
|
853
|
-
// },
|
|
854
|
-
// },
|
|
855
870
|
// useAddressValidation: {
|
|
856
871
|
// title: "Use Address Validation",
|
|
857
872
|
// description: "Use to enable address validation",
|
|
@@ -860,3 +875,5 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
860
875
|
// type: AdminTemplateInputTypes.checkbox,
|
|
861
876
|
// },
|
|
862
877
|
};
|
|
878
|
+
// use for settings that conflict with other settings
|
|
879
|
+
// ⚠️
|