forked from plentymarkets/plugin-ceres
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
executable file
·727 lines (715 loc) · 27.9 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
[
{
"tab" : "Homepage",
"key" : "default.homepage",
"label" : "Show default homepage",
"type" : "checkbox",
"default" : "true"
},
{
"tab" : "Homepage",
"key" : "homepage.sliderItemId1",
"label" : "ID of the item variation to display in the first slide of the image slider",
"type" : "text"
},
{
"tab" : "Homepage",
"key" : "homepage.sliderImageUrl1",
"label" : "URL to the image of the first slide",
"type" : "text"
},
{
"tab" : "Homepage",
"key" : "homepage.sliderItemId2",
"label" : "ID of the item variation to display in the second slide of the image slider",
"type" : "text"
},
{
"tab" : "Homepage",
"key" : "homepage.sliderImageUrl2",
"label" : "URL to the image of the second slide",
"type" : "text"
},
{
"tab" : "Homepage",
"key" : "homepage.sliderItemId3",
"label" : "ID of the item variation to display in the third slide of the image slider",
"type" : "text"
},
{
"tab" : "Homepage",
"key" : "homepage.sliderImageUrl3",
"label" : "URL to the image of the third slide",
"type" : "text"
},
{
"tab" : "Homepage",
"key" : "homepage.heroExtraItemId1",
"label" : "ID of the item variation to display in the upper item preview",
"type" : "text",
"default" : ""
},
{
"tab" : "Homepage",
"key" : "homepage.heroExtraImageUrl1",
"label" : "URL to the image of the upper item preview",
"type" : "text"
},
{
"tab" : "Homepage",
"key" : "homepage.heroExtraItemId2",
"label" : "ID of the item variation to display in the lower item preview",
"type" : "text",
"default" : ""
},
{
"tab" : "Homepage",
"key" : "homepage.heroExtraImageUrl2",
"label" : "URL to the image of the lower item preview",
"type" : "text"
},
{
"tab" : "Homepage",
"key" : "homepage.homepageCategory1",
"label" : "ID of the category to display in the first category preview",
"type" : "category_select"
},
{
"tab" : "Homepage",
"key" : "homepage.homepageCategory2",
"label" : "ID of the category to display in the second category preview",
"type" : "category_select"
},
{
"tab" : "Homepage",
"key" : "homepage.homepageCategory3",
"label" : "ID of the category to display in the first list of items",
"type" : "category_select"
},
{
"tab" : "Homepage",
"key" : "homepage.homepageCategory4",
"label" : "ID of the category to display in the third category preview",
"type" : "category_select"
},
{
"tab" : "Homepage",
"key" : "homepage.homepageCategory5",
"label" : "ID of the category to display in the fourth category preview",
"type" : "category_select"
},
{
"tab" : "Homepage",
"key" : "homepage.homepageCategory6",
"label" : "ID of the category to display in the second list of items",
"type" : "category_select"
},
{
"tab" : "Header",
"key" : "header.company_logo",
"label" : "URL to your company logo",
"type" : "text",
"default" : "images/ceres-logo.svg"
},
{
"tab" : "Header",
"key" : "header.company_name",
"label" : "Name of your store",
"type" : "text",
"default" : "Ceres Webshop"
},
{
"tab" : "Header",
"key" : "header.show_navbars",
"label" : "Position of the navigation bar",
"type" : "dropdown",
"possibleValues":
{
"top" : "At the top",
"side" : "On the left",
"both" : "At the top and on the left"
},
"default" : "top"
},
{
"tab" : "Header",
"key" : "header.fixed_navbar",
"label" : "Fix the navigation bar at the top of the page",
"type" : "checkbox",
"default" : "true"
},
{
"tab" : "Footer",
"key" : "footer.to_top_button",
"label" : "Position of the Back-to-top button",
"type" : "dropdown",
"possibleValues":
{
"right" : "On the right at the bottom",
"bottom" : "In the middle at the bottom"
},
"default" : "right"
},
{
"tab" : "Footer",
"key" : "footer.number_of_features",
"label" : "Number of store features",
"type" : "dropdown",
"possibleValues":
{
"0" : "0",
"1" : "1",
"2" : "2",
"3" : "3"
},
"default" : "3"
},
{
"tab" : "Footer",
"key" : "footer.store_feature_1",
"label" : "Text of first store feature",
"type" : "text",
"default" : "Delivery period approx. 1 to 3 business days
"
},
{
"tab" : "Footer",
"key" : "footer.store_feature_2",
"label" : "Text of second store feature",
"type" : "text",
"default" : "Free shipping & return
"
},
{
"tab" : "Footer",
"key" : "footer.store_feature_3",
"label" : "Text of third store feature",
"type" : "text",
"default" : "100-day return policy"
},
{
"tab" : "Footer",
"key" : "footer.number_of_cols",
"label" : "Number of columns",
"type" : "dropdown",
"possibleValues":
{
"1" : "1",
"2" : "2",
"3" : "3"
},
"default" : "3"
},
{
"tab" : "Footer",
"key" : "footer.col_1_title",
"label" : "Title of first column",
"type" : "text",
"default" : "Shop"
},
{
"tab" : "Footer",
"key" : "footer.col_1_categories",
"label" : "List of IDs of categories to display in first column",
"type" : "text",
"default" : ""
},
{
"tab" : "Footer",
"key" : "footer.col_2_title",
"label" : "Title of second column",
"type" : "text",
"default" : "My account"
},
{
"tab" : "Footer",
"key" : "footer.col_2_categories",
"label" : "List of IDs of categories to display in second column",
"type" : "text",
"default" : ""
},
{
"tab" : "Footer",
"key" : "footer.col_3_title",
"label" : "Title of third column",
"type" : "text",
"default" : "Service"
},
{
"tab" : "Footer",
"key" : "footer.col_3_categories",
"label" : "List of IDs of categories to display in third column",
"type" : "text",
"default" : ""
},
{
"tab" : "Item view",
"key" : "item.name",
"label" : "Item name",
"type" : "dropdown",
"possibleValues":
{
"0" : "Name 1",
"1" : "Name 2",
"2" : "Name 3"
},
"default" : "0"
},
{
"tab" : "Item view",
"key" : "item.data",
"label" : "Show item information",
"type" : "multi_select",
"possibleValues" :
{
"item.condition" : "Condition",
"item.manufacturer" : "Manufacturer",
"item.producerCountry" : "Manufacturing country",
"item.age_rating" : "Age rating",
"item.id" : "Item ID",
"item.technical_data" : "Technical data",
"item.description" : "Description",
"item.shortDescription" : "Preview text",
"item.recommendedPrice" : "Strikethrough price",
"item.variation_name" : "Variation name",
"item.external_id" : "External variation ID",
"item.variation_model" : "Model",
"item.variation_dimensions" : "Dimensions",
"item.customs_tariff_number": "Customs tariff number",
"item.weightNetG" : "Net weight",
"item.weightG" : "Gross weight",
"item.variationBase_content": "Content"
},
"default" : "all"
},
{
"tab" : "Item view",
"key" : "item.storeSpecial",
"label" : "Store specials: Number of decimal places for discounts",
"type" : "dropdown",
"possibleValues":
{
"0" : "0",
"1" : "1",
"2" : "2"
},
"default" : "0"
},
{
"tab" : "Item view",
"key" : "item.variation_show_type",
"label" : "Show variations by type",
"type" : "dropdown",
"possibleValues" :
{
"all" : "All",
"main" : "Only main variations",
"child" : "Only child variations"
},
"default" : "all"
},
{
"tab" : "Item view",
"key" : "item.category_show_dots",
"label" : "Show image carousel dots in category item list",
"type" : "checkbox",
"default" : "true"
},
{
"tab" : "Item view",
"key" : "item.category_show_nav",
"label" : "Show image carousel navigation in category item list",
"type" : "checkbox",
"default" : "false"
},
{
"tab" : "Item view",
"key" : "item.loading_animation_type",
"label" : "Loading animation",
"type" : "dropdown",
"possibleValues" :
{
"blur" : "Blur",
"bars" : "Bars",
"spinner" : "Spinner"
},
"default" : "blur"
},
{
"tab" : "Item lists",
"key" : "item.lists.last_seen",
"label" : "Number of last seen items",
"type" : "dropdown",
"possibleValues" :
{
"4" : 4,
"8" : 8,
"12" : 12
},
"default" : "4"
},
{
"tab" : "Shopping cart",
"key" : "basket.item_data",
"label" : "Show item information",
"type" : "multi_select",
"possibleValues" :
{
"basket.item.item_id" : "Item ID",
"basket.item.description_short": "Preview text",
"basket.item.description_long" : "Item text",
"basket.item.availability" : "Availability",
"basket.item.customNumber" : "Variation number"
},
"default" : "basket.item.item_id, basket.item.description_short, basket.item.availability, basket.item.customNumber"
},
{
"tab" : "Shopping cart",
"key" : "basket.data",
"label" : "Show price information",
"type" : "multi_select",
"possibleValues" :
{
"basket.value_of_items_gross" : "Value of items (Gross)",
"basket.value_of_items_net" : "Value of items (Net)",
"basket.shipping_costs_gross" : "Shipping (Gross)",
"basket.shipping_costs_net" : "Shipping (Net)",
"basket.vat" : "VAT",
"basket.order_total_gross" : "Total (Gross)",
"basket.order_total_net" : "Total (Net)"
},
"default" : "basket.value_of_items_gross, basket.value_of_items_net, basket.shipping_costs_gross, basket.shipping_costs_net, basket.vat, basket.order_total_gross, basket.order_total_net"
},
{
"tab" : "Shopping cart",
"key" : "basket.preview_data",
"label" : "Show basket preview information",
"type" : "multi_select",
"possibleValues" :
{
"basket.value_of_items_gross" : "Value of items (Gross)",
"basket.value_of_items_net" : "Value of items (Net)",
"basket.shipping_costs_gross" : "Shipping (Gross)",
"basket.shipping_costs_net" : "Shipping (Net)",
"basket.vat" : "VAT",
"basket.order_total_gross" : "Total (Gross)",
"basket.order_total_net" : "Total (Net)"
},
"default" : "basket.value_of_items_gross, basket.shipping_costs_gross, basket.order_total_gross"
},
{
"tab" : "Shopping cart",
"key" : "basket.variations",
"label" : "Show Change variation button",
"type" : "checkbox",
"default" : "false"
},
{
"tab" : "Shopping cart",
"key" : "basket.add_item_to_basket_confirm",
"label" : "Add to shopping cart: Show information",
"type" : "dropdown",
"possibleValues" :
{
"overlay" : "Show overlay",
"preview" : "Toggle shopping cart preview",
"no_information": "No information"
},
"default" : "overlay"
},
{
"tab" : "Pagination and sorting",
"key" : "pagination.position",
"label" : "Pagination position",
"type" : "dropdown",
"possibleValues" :
{
"top" : "Top",
"bottom" : "Bottom",
"top_bottom" : "Top and bottom"
},
"default" : "top"
},
{
"tab" : "Pagination and sorting",
"key" : "pagination.showFirstPage",
"label" : "Always show first page",
"type" : "checkbox",
"default" : "false"
},
{
"tab" : "Pagination and sorting",
"key" : "pagination.showLastPage",
"label" : "Always show last page",
"type" : "checkbox",
"default" : "false"
},
{
"tab" : "Pagination and sorting",
"key" : "pagination.columnsPerPage",
"label" : "Columns per page",
"type" : "dropdown",
"possibleValues":
{
"3" : 3,
"4" : 4,
"5" : 5
},
"default" : "4"
},
{
"tab" : "Pagination and sorting",
"key" : "pagination.rowsPerPage",
"label" : "Rows per page",
"type" : "multi_select",
"possibleValues":
{
"5" : 5,
"10" : 10,
"15" : 15,
"20" : 20,
"25" : 25
},
"default" : "5, 10, 25"
},
{
"tab" : "Pagination and sorting",
"key" : "sort.data",
"label" : "Enable item sorting by",
"type" : "multi_select",
"possibleValues" :
{
"texts.name1_asc" : "Item name A-Z",
"texts.name1_desc" : "Item name Z-A",
"item.salesPrices.price_asc" : "Price ⬆",
"item.salesPrices.price_desc" : "Price ⬇",
"variation.createdAt_asc" : "Newest variation",
"variation.createdAt_desc" : "Oldest variation",
"variation.availability.averageDays_asc" : "Availability ⬆",
"variation.availability.averageDays_desc" : "Availability ⬇",
"variation.number_asc" : "Variation number ⬆",
"variation.number_desc" : "Variation number ⬇",
"variation.updatedAt_asc" : "Last update",
"variation.updatedAt_desc" : "First update",
"item.manufacturer.externalName_asc" : "Manufacturer A-Z",
"item.manufacturer.externalName_desc" : "Manufacturer Z-A"
},
"default" : "texts.name1_asc, texts.name1_desc, item.salesPrices.price_asc, item.salesPrices.price_desc"
},
{
"tab" : "Pagination and sorting",
"key" : "sort.defaultSorting",
"label" : "Default item sorting by",
"type" : "dropdown",
"possibleValues" :
{
"texts.name1_asc" : "Item name A-Z",
"texts.name1_desc" : "Item name Z-A",
"item.salesPrices.price_asc" : "Price ⬆",
"item.salesPrices.price_desc" : "Price ⬇",
"variation.createdAt_asc" : "Newest variation",
"variation.createdAt_desc" : "Oldest variation",
"variation.availability.averageDays_asc" : "Availability ⬆",
"variation.availability.averageDays_desc" : "Availability ⬇",
"variation.number_asc" : "Variation number ⬆",
"variation.number_desc" : "Variation number ⬇",
"variation.updatedAt_asc" : "Last update",
"variation.updatedAt_desc" : "First update",
"item.manufacturer.externalName_asc" : "Manufacturer A-Z",
"item.manufacturer.externalName_desc" : "Manufacturer Z-A"
},
"default" : "texts.name1_asc"
},
{
"tab" : "Checkout and My account",
"key" : "my_account.orders_per_page",
"label" : "Number of orders to show per page in order history",
"type" : "text",
"default" : "5"
},
{
"tab" : "Checkout and My account",
"key" : "billing_address.show",
"label" : "Show invoice address fields in address form (DE)",
"type" : "multi_select",
"possibleValues" :
{
"billing_address.name1" : "Company",
"billing_address.vatNumber" : "VAT number",
"billing_address.birthday" : "Date of birth",
"billing_address.name4" : "Name affix",
"billing_address.address3" : "Additional address 1",
"billing_address.address4" : "Additional address 2",
"billing_address.stateId" : "State",
"billing_address.salutation": "Form of address",
"billing_address.title" :"Title"
},
"default" : "billing_address.name1, billing_address.salutation"
},
{
"tab" : "Checkout and My account",
"key" : "billing_address.require",
"label" : "Enable invoice address field validation (DE)",
"type" : "multi_select",
"possibleValues" :
{
"billing_address.name1" : "Company",
"billing_address.vatNumber" : "VAT number",
"billing_address.birthday" : "Date of birth",
"billing_address.name4" : "Name affix",
"billing_address.address3" : "Additional address 1",
"billing_address.address4" : "Additional address 2",
"billing_address.stateId" : "State",
"billing_address.salutation": "Form of address",
"billing_address.title" : "Title"
},
"default" : ""
},
{
"tab" : "Checkout and My account",
"key" : "delivery_address.show",
"label" : "Show delivery address fields in address form (DE)",
"type" : "multi_select",
"possibleValues" :
{
"delivery_address.name1" : "Company",
"delivery_address.name4" : "Name affix",
"delivery_address.address3" : "Additional address 1",
"delivery_address.address4" : "Additional address 2",
"delivery_address.stateId" : "State",
"delivery_address.salutation" : "Form of address",
"delivery_address.title" : "Title"
},
"default" : "delivery_address.name1, delivery_address.salutation"
},
{
"tab" : "Checkout and My account",
"key" : "delivery_address.require",
"label" : "Enable delivery address field validation (DE)",
"type" : "multi_select",
"possibleValues" :
{
"delivery_address.name1" : "Company",
"delivery_address.name4" : "Name affix",
"delivery_address.address3" : "Additional address 1",
"delivery_address.address4" : "Additional address 2",
"delivery_address.stateId" : "State",
"delivery_address.salutation" : "Form of address",
"delivery_address.title" : "Title"
},
"default" : ""
},
{
"tab" : "Checkout and My account",
"key" : "billing_address.en.show",
"label" : "Show invoice address fields in address form (UK)",
"type" : "multi_select",
"possibleValues" :
{
"billing_address.name1" : "Company",
"billing_address.vatNumber" : "VAT number",
"billing_address.birthday" : "Date of birth",
"billing_address.name4" : "Name affix",
"billing_address.address2" : "Address 2",
"billing_address.address3" : "Address 3",
"billing_address.address4" : "Address 4",
"billing_address.salutation": "Form of address",
"billing_address.title" : "Title"
},
"default" : "billing_address.name1, billing_address.salutation"
},
{
"tab" : "Checkout and My account",
"key" : "billing_address.en.require",
"label" : "Enable invoice address field validation (UK)",
"type" : "multi_select",
"possibleValues" :
{
"billing_address.name1" : "Company",
"billing_address.vatNumber" : "VAT number",
"billing_address.birthday" : "Date of birth",
"billing_address.name4" : "Name affix",
"billing_address.address2" : "Address 2",
"billing_address.address3" : "Address 3",
"billing_address.address4" : "Address 4",
"billing_address.salutation": "Form of address",
"billing_address.title" : "Title"
},
"default" : ""
},
{
"tab" : "Checkout and My account",
"key" : "delivery_address.en.show",
"label" : "Show delivery address fields in address form (UK)",
"type" : "multi_select",
"possibleValues" :
{
"delivery_address.name1" : "Company",
"delivery_address.name4" : "Name affix",
"delivery_address.address2" : "Address 2",
"delivery_address.address3" : "Address 3",
"delivery_address.address4" : "Address 4",
"delivery_address.salutation": "Form of address",
"delivery_address.title" : "Title"
},
"default" : "delivery_address.name1, delivery_address.salutation"
},
{
"tab" : "Checkout and My account",
"key" : "delivery_address.en.require",
"label" : "Enable delivery address field validation (UK)",
"type" : "multi_select",
"possibleValues" :
{
"delivery_address.name1" : "Company",
"delivery_address.name4" : "Name affix",
"delivery_address.address2" : "Address 2",
"delivery_address.address3" : "Address 3",
"delivery_address.address4" : "Address 4",
"delivery_address.salutation": "Form of address",
"delivery_address.title" : "Title"
},
"default" : ""
},
{
"tab" : "Registration",
"key" : "register.email_regex",
"label" : "The RegEx used for the email",
"type" : "text",
"default" : "[a-zA-Z0-9!#$%&'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?"
},
{
"tab" : "Registration",
"key" : "register.password_regex",
"label" : "The RegEx used for the password",
"type" : "text",
"default" : "^(?!\\s*$).+"
},
{
"tab" : "Logging and performance",
"key" : "log.data",
"label" : "Enable logging options",
"type" : "multi_select",
"possibleValues" :
{
"print_errors" : "Print errors",
"print_success" : "Print success",
"print_warnings" : "Print warnings",
"print_infos" : "Print information",
"print_stack_trace" : "Print stack trace",
"log_messages" : "Log messages",
"show_error_code" : "Show error codes"
},
"default" : "print_errors, print_success"
},
{
"tab" : "Logging and performance",
"key" : "log.performance.level",
"label" : "Performance level",
"type" : "dropdown",
"possibleValues" :
{
"development": "Development",
"live": "Live"
},
"default" : "live"
}
]