-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.json
executable file
·423 lines (423 loc) · 17.5 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
[
{
"tab" : "Homepage",
"key" : "default.homepage",
"label" : "Show default homepage",
"type" : "checkbox",
"default" : "true"
},
{
"tab" : "Header",
"key" : "header.company_logo",
"label" : "URL to your company logo",
"type" : "text",
"default" : "/layout/plugins/production/pluginceres/images/ceres-logo.png"
},
{
"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.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 in the category item list",
"type" : "dropdown",
"possibleValues" :
{
"1" : "All",
"2" : "Only main variations",
"3" : "Only child variations"
},
"default" : "1"
},
{
"tab" : "Shopping cart",
"key" : "basket.item_data",
"label" : "Show item information",
"type" : "multi_select",
"possibleValues" :
{
"basket.item.item_id" : "Item ID",
"basket.item.description" : "Description",
"basket.item.availability" : "Availability",
"basket.item.customNumber" : "Variation number",
"basket.item.state" : "Condition"
},
"default" : "all"
},
{
"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" : "all"
},
{
"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 overlay",
"type" : "checkbox",
"default" : "true"
},
{
"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.values",
"label" : "Enable number of items per page",
"type" : "multi_select",
"possibleValues":
{
"20" : "20",
"50" : "50",
"100" : "100"
},
"default" : "all"
},
{
"tab" : "Pagination and sorting",
"key" : "pagination.defaultItemsPerPage",
"label" : "Default number of items per page",
"type" : "dropdown",
"possibleValues":
{
"20" : "20",
"50" : "50",
"100" : "100"
},
"default" : "20"
},
{
"tab" : "Pagination and sorting",
"key" : "sort.data",
"label" : "Enable item sorting by",
"type" : "multi_select",
"possibleValues" :
{
"itemId_asc" : "Item ID (ascending)",
"itemId_desc" : "Item ID (descending)",
"itemName_asc" : "Item name (ascending)",
"itemName_desc" : "Item name (descending)",
"itemPosition_asc" : "Item position (ascending)",
"itemPosition_desc" : "Item position (descending)",
"itemPrice_asc" : "Price (ascending)",
"itemPrice_desc" : "Price (descending)",
"itemRating_asc" : "Customer feedback (ascending)",
"itemRating_desc" : "Customer feedback (descending)",
"variationCreateTimestamp_asc" : "Newest variation",
"variationCreateTimestamp_desc" : "Oldest variation",
"variationId_asc" : "Variation ID (ascending)",
"variationId_desc" : "Variation ID (descending)",
"variationCustomNumber_asc" : "Variation number (ascending)",
"variationCustomNumber_desc" : "Variation number (descending)",
"variationLastUpdateTimestamp_asc" : "Last variation update",
"variationLastUpdateTimestamp_desc" : "First variation update",
"variationName_asc" : "Variation name (ascending)",
"variationName_desc" : "Variation name (descending)",
"variationPosition_asc" : "Variation position (ascending)",
"variationPosition_desc" : "Variation position (descending)",
"variationActive_asc" : "Active variation (ascending)",
"variationActive_desc" : "Active variation (descending)",
"variationPrimary_asc" : "Main variation (ascending)",
"variationPrimary_desc" : "Main variation (descending)",
"itemRand" : "Random items",
"itemProducerName_asc" : "Manufacturer (ascending)",
"itemProducerName_desc" : "Manufacturer (descending)"
},
"default" : "itemName_asc, itemName_desc, itemPrice_asc, itemPrice_desc, itemRating_desc, itemRand"
},
{
"tab" : "Pagination and sorting",
"key" : "sort.defaultSorting",
"label" : "Default item sorting by",
"type" : "dropdown",
"possibleValues" :
{
"itemId_asc" : "Item ID (ascending)",
"itemId_desc" : "Item ID (descending)",
"itemName_asc" : "Item name (ascending)",
"itemName_desc" : "Item name (descending)",
"itemPosition_asc" : "Item position (ascending)",
"itemPosition_desc" : "Item position (descending)",
"itemPrice_asc" : "Price (ascending)",
"itemPrice_desc" : "Price (descending)",
"itemRating_asc" : "Customer feedback (ascending)",
"itemRating_desc" : "Customer feedback (descending)",
"variationCreateTimestamp_asc" : "Newest variation",
"variationCreateTimestamp_desc" : "Oldest variation",
"variationId_asc" : "Variation ID (ascending)",
"variationId_desc" : "Variation ID (descending)",
"variationCustomNumber_asc" : "Variation number (ascending)",
"variationCustomNumber_desc" : "Variation number (descending)",
"variationLastUpdateTimestamp_asc" : "Last variation update",
"variationLastUpdateTimestamp_desc" : "First variation update",
"variationName_asc" : "Variation name (ascending)",
"variationName_desc" : "Variation name (descending)",
"variationPosition_asc" : "Variation position (ascending)",
"variationPosition_desc" : "Variation position (descending)",
"variationActive_asc" : "Active variation (ascending)",
"variationActive_desc" : "Active variation (descending)",
"variationPrimary_asc" : "Main variation (ascending)",
"variationPrimary_desc" : "Main variation (descending)",
"itemRand" : "Random items",
"itemProducerName_asc" : "Manufacturer (ascending)",
"itemProducerName_desc" : "Manufacturer (descending)"
},
"default" : "itemName_asc"
},
{
"tab" : "My account",
"key" : "my_account.orders_per_page",
"label" : "Number of orders to show per page in order history",
"type" : "text",
"default" : "5"
},
{
"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" : ""
},
{
"tab" : "Logging and performance",
"key" : "log.performance.level",
"label" : "Performance level",
"type" : "dropdown",
"possibleValues" :
{
"development": "Development",
"live": "Live"
},
"default" : "live"
}
]