Annotated File View
hpdl
|
6
|
1
|
# $Id: oscommerce.sql 946 2006-08-31 13:53:35Z hpdl $
|
hpdl
|
1
|
2
|
#
|
|
3
|
# osCommerce, Open Source E-Commerce Solutions
|
|
4
|
# http:
|
|
5
|
#
|
hpdl
|
410
|
6
|
# Copyright (c) 2006 osCommerce
|
hpdl
|
1
|
7
|
#
|
|
8
|
# Released under the GNU General Public License
|
|
9
|
#
|
|
10
|
# NOTE: * Please make any modifications to this file by hand!
|
|
11
|
# * DO NOT use a mysqldump created file for new changes!
|
|
12
|
# * Please take note of the table structure, and use this
|
|
13
|
# structure as a standard for future modifications!
|
|
14
|
# * Any tables you add here should be added in admin/backup.php
|
|
15
|
# and in catalog/install/includes/functions/database.php
|
|
16
|
# * To see the 'diff'erence between MySQL databases, use
|
|
17
|
# the mysqldiff perl script located in the extras
|
|
18
|
# directory of the 'catalog' module.
|
|
19
|
# * Comments should be like these, full line comments.
|
|
20
|
# (don't use inline comments)
|
|
21
|
|
|
22
|
DROP TABLE IF EXISTS osc_address_book;
|
|
23
|
CREATE TABLE osc_address_book (
|
|
24
|
address_book_id int NOT NULL auto_increment,
|
|
25
|
customers_id int NOT NULL,
|
|
26
|
entry_gender char(1) NOT NULL,
|
|
27
|
entry_company varchar(32),
|
|
28
|
entry_firstname varchar(32) NOT NULL,
|
|
29
|
entry_lastname varchar(32) NOT NULL,
|
|
30
|
entry_street_address varchar(64) NOT NULL,
|
|
31
|
entry_suburb varchar(32),
|
|
32
|
entry_postcode varchar(10) NOT NULL,
|
|
33
|
entry_city varchar(32) NOT NULL,
|
|
34
|
entry_state varchar(32),
|
|
35
|
entry_country_id int DEFAULT '0' NOT NULL,
|
|
36
|
entry_zone_id int DEFAULT '0' NOT NULL,
|
|
37
|
entry_telephone varchar(32),
|
|
38
|
entry_fax varchar(32),
|
|
39
|
PRIMARY KEY (address_book_id),
|
|
40
|
KEY idx_address_book_customers_id (customers_id)
|
|
41
|
);
|
|
42
|
|
hpdl
|
366
|
43
|
DROP TABLE IF EXISTS osc_administrators;
|
|
44
|
CREATE TABLE osc_administrators (
|
|
45
|
id int NOT NULL auto_increment,
|
|
46
|
user_name varchar(32) NOT NULL,
|
|
47
|
user_password varchar(40) NOT NULL,
|
hpdl
|
448
|
48
|
user_full_name varchar(255) NOT NULL,
|
|
49
|
user_email_address varchar(255) NOT NULL,
|
hpdl
|
366
|
50
|
PRIMARY KEY (id)
|
|
51
|
);
|
|
52
|
|
hpdl
|
1
|
53
|
DROP TABLE IF EXISTS osc_banners;
|
|
54
|
CREATE TABLE osc_banners (
|
|
55
|
banners_id int NOT NULL auto_increment,
|
|
56
|
banners_title varchar(64) NOT NULL,
|
|
57
|
banners_url varchar(255) NOT NULL,
|
|
58
|
banners_image varchar(64) NOT NULL,
|
|
59
|
banners_group varchar(10) NOT NULL,
|
|
60
|
banners_html_text text,
|
|
61
|
expires_impressions int(7) DEFAULT '0',
|
|
62
|
expires_date datetime DEFAULT NULL,
|
|
63
|
date_scheduled datetime DEFAULT NULL,
|
|
64
|
date_added datetime NOT NULL,
|
|
65
|
date_status_change datetime DEFAULT NULL,
|
|
66
|
status int(1) DEFAULT '1' NOT NULL,
|
|
67
|
PRIMARY KEY (banners_id)
|
|
68
|
);
|
|
69
|
|
|
70
|
DROP TABLE IF EXISTS osc_banners_history;
|
|
71
|
CREATE TABLE osc_banners_history (
|
|
72
|
banners_history_id int NOT NULL auto_increment,
|
|
73
|
banners_id int NOT NULL,
|
|
74
|
banners_shown int(5) NOT NULL DEFAULT '0',
|
|
75
|
banners_clicked int(5) NOT NULL DEFAULT '0',
|
|
76
|
banners_history_date datetime NOT NULL,
|
|
77
|
PRIMARY KEY (banners_history_id)
|
|
78
|
);
|
|
79
|
|
|
80
|
DROP TABLE IF EXISTS osc_categories;
|
|
81
|
CREATE TABLE osc_categories (
|
|
82
|
categories_id int NOT NULL auto_increment,
|
|
83
|
categories_image varchar(64),
|
|
84
|
parent_id int DEFAULT '0' NOT NULL,
|
|
85
|
sort_order int(3),
|
|
86
|
date_added datetime,
|
|
87
|
last_modified datetime,
|
|
88
|
PRIMARY KEY (categories_id),
|
|
89
|
KEY idx_categories_parent_id (parent_id)
|
|
90
|
);
|
|
91
|
|
|
92
|
DROP TABLE IF EXISTS osc_categories_description;
|
|
93
|
CREATE TABLE osc_categories_description (
|
|
94
|
categories_id int DEFAULT '0' NOT NULL,
|
|
95
|
language_id int DEFAULT '1' NOT NULL,
|
|
96
|
categories_name varchar(32) NOT NULL,
|
|
97
|
PRIMARY KEY (categories_id, language_id),
|
|
98
|
KEY idx_categories_name (categories_name)
|
|
99
|
);
|
|
100
|
|
|
101
|
DROP TABLE IF EXISTS osc_configuration;
|
|
102
|
CREATE TABLE osc_configuration (
|
|
103
|
configuration_id int NOT NULL auto_increment,
|
|
104
|
configuration_title varchar(64) NOT NULL,
|
|
105
|
configuration_key varchar(64) NOT NULL,
|
|
106
|
configuration_value varchar(255) NOT NULL,
|
|
107
|
configuration_description varchar(255) NOT NULL,
|
|
108
|
configuration_group_id int NOT NULL,
|
|
109
|
sort_order int(5) NULL,
|
|
110
|
last_modified datetime NULL,
|
|
111
|
date_added datetime NOT NULL,
|
|
112
|
use_function varchar(255) NULL,
|
|
113
|
set_function varchar(255) NULL,
|
|
114
|
PRIMARY KEY (configuration_id)
|
|
115
|
);
|
|
116
|
|
|
117
|
DROP TABLE IF EXISTS osc_configuration_group;
|
|
118
|
CREATE TABLE osc_configuration_group (
|
|
119
|
configuration_group_id int NOT NULL auto_increment,
|
|
120
|
configuration_group_title varchar(64) NOT NULL,
|
|
121
|
configuration_group_description varchar(255) NOT NULL,
|
|
122
|
sort_order int(5) NULL,
|
|
123
|
visible int(1) DEFAULT '1' NULL,
|
|
124
|
PRIMARY KEY (configuration_group_id)
|
|
125
|
);
|
|
126
|
|
|
127
|
DROP TABLE IF EXISTS osc_counter;
|
|
128
|
CREATE TABLE osc_counter (
|
hpdl
|
410
|
129
|
startdate datetime,
|
|
130
|
counter int
|
hpdl
|
1
|
131
|
);
|
|
132
|
|
|
133
|
DROP TABLE IF EXISTS osc_countries;
|
|
134
|
CREATE TABLE osc_countries (
|
|
135
|
countries_id int NOT NULL auto_increment,
|
|
136
|
countries_name varchar(64) NOT NULL,
|
|
137
|
countries_iso_code_2 char(2) NOT NULL,
|
|
138
|
countries_iso_code_3 char(3) NOT NULL,
|
hpdl
|
757
|
139
|
address_format varchar(255) NULL,
|
hpdl
|
1
|
140
|
PRIMARY KEY (countries_id),
|
|
141
|
KEY IDX_COUNTRIES_NAME (countries_name)
|
|
142
|
);
|
|
143
|
|
|
144
|
DROP TABLE IF EXISTS osc_credit_cards;
|
|
145
|
CREATE TABLE osc_credit_cards (
|
hpdl
|
554
|
146
|
id int NOT NULL auto_increment,
|
|
147
|
credit_card_name varchar(32) NOT NULL,
|
|
148
|
pattern varchar(64) NOT NULL,
|
|
149
|
credit_card_status char(1) NOT NULL,
|
|
150
|
sort_order int default '0',
|
|
151
|
PRIMARY KEY (id)
|
hpdl
|
1
|
152
|
);
|
|
153
|
|
|
154
|
DROP TABLE IF EXISTS osc_currencies;
|
|
155
|
CREATE TABLE osc_currencies (
|
|
156
|
currencies_id int NOT NULL auto_increment,
|
|
157
|
title varchar(32) NOT NULL,
|
|
158
|
code char(3) NOT NULL,
|
|
159
|
symbol_left varchar(12),
|
|
160
|
symbol_right varchar(12),
|
|
161
|
decimal_places char(1),
|
|
162
|
value float(13,8),
|
|
163
|
last_updated datetime NULL,
|
|
164
|
PRIMARY KEY (currencies_id)
|
|
165
|
);
|
|
166
|
|
|
167
|
DROP TABLE IF EXISTS osc_customers;
|
|
168
|
CREATE TABLE osc_customers (
|
hpdl
|
814
|
169
|
customers_id int NOT NULL auto_increment,
|
|
170
|
customers_gender char(1) NOT NULL,
|
|
171
|
customers_firstname varchar(32) NOT NULL,
|
|
172
|
customers_lastname varchar(32) NOT NULL,
|
|
173
|
customers_dob datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
|
|
174
|
customers_email_address varchar(96) NOT NULL,
|
|
175
|
customers_default_address_id int NOT NULL,
|
|
176
|
customers_telephone varchar(32) NOT NULL,
|
|
177
|
customers_fax varchar(32),
|
|
178
|
customers_password varchar(40) NOT NULL,
|
|
179
|
customers_newsletter char(1),
|
|
180
|
customers_status int(1) DEFAULT '0',
|
|
181
|
customers_ip_address varchar(15),
|
|
182
|
date_last_logon datetime,
|
|
183
|
number_of_logons int(5),
|
|
184
|
date_account_created datetime,
|
|
185
|
date_account_last_modified datetime,
|
|
186
|
global_product_notifications int(1) DEFAULT '0',
|
|
187
|
PRIMARY KEY (customers_id)
|
hpdl
|
1
|
188
|
);
|
|
189
|
|
|
190
|
DROP TABLE IF EXISTS osc_customers_basket;
|
|
191
|
CREATE TABLE osc_customers_basket (
|
|
192
|
customers_basket_id int NOT NULL auto_increment,
|
|
193
|
customers_id int NOT NULL,
|
|
194
|
products_id tinytext NOT NULL,
|
hpdl
|
410
|
195
|
customers_basket_quantity int NOT NULL,
|
hpdl
|
1
|
196
|
final_price decimal(15,4) NOT NULL,
|
hpdl
|
410
|
197
|
customers_basket_date_added datetime,
|
hpdl
|
1
|
198
|
PRIMARY KEY (customers_basket_id)
|
|
199
|
);
|
|
200
|
|
|
201
|
DROP TABLE IF EXISTS osc_languages;
|
|
202
|
CREATE TABLE osc_languages (
|
|
203
|
languages_id int NOT NULL auto_increment,
|
|
204
|
name varchar(32) NOT NULL,
|
hpdl
|
410
|
205
|
code char(5) NOT NULL,
|
|
206
|
locale varchar(255) NOT NULL,
|
|
207
|
charset varchar(32) NOT NULL,
|
|
208
|
date_format_short varchar(32) NOT NULL,
|
|
209
|
date_format_long varchar(32) NOT NULL,
|
|
210
|
time_format varchar(32) NOT NULL,
|
|
211
|
text_direction varchar(12) NOT NULL,
|
|
212
|
currencies_id int NOT NULL,
|
|
213
|
numeric_separator_decimal varchar(12) NOT NULL,
|
|
214
|
numeric_separator_thousands varchar(12) NOT NULL,
|
hpdl
|
1
|
215
|
sort_order int(3),
|
hpdl
|
410
|
216
|
PRIMARY KEY (languages_id)
|
hpdl
|
1
|
217
|
);
|
|
218
|
|
hpdl
|
410
|
219
|
DROP TABLE IF EXISTS osc_languages_definitions;
|
|
220
|
CREATE TABLE osc_languages_definitions (
|
|
221
|
id int NOT NULL auto_increment,
|
|
222
|
languages_id int NOT NULL,
|
|
223
|
content_group varchar(32) NOT NULL,
|
|
224
|
definition_key varchar(255) NOT NULL,
|
|
225
|
definition_value text NOT NULL,
|
|
226
|
PRIMARY KEY (id),
|
|
227
|
KEY IDX_LANGUAGES_DEFINITIONS_LANGUAGES (languages_id),
|
|
228
|
KEY IDX_LANGUAGES_DEFINITIONS (languages_id, content_group),
|
|
229
|
KEY IDX_LANGUAGES_DEFINITIONS_GROUPS (content_group)
|
|
230
|
);
|
|
231
|
|
hpdl
|
1
|
232
|
DROP TABLE IF EXISTS osc_manufacturers;
|
|
233
|
CREATE TABLE osc_manufacturers (
|
|
234
|
manufacturers_id int NOT NULL auto_increment,
|
|
235
|
manufacturers_name varchar(32) NOT NULL,
|
|
236
|
manufacturers_image varchar(64),
|
|
237
|
date_added datetime NULL,
|
|
238
|
last_modified datetime NULL,
|
|
239
|
PRIMARY KEY (manufacturers_id),
|
|
240
|
KEY IDX_MANUFACTURERS_NAME (manufacturers_name)
|
|
241
|
);
|
|
242
|
|
|
243
|
DROP TABLE IF EXISTS osc_manufacturers_info;
|
|
244
|
CREATE TABLE osc_manufacturers_info (
|
|
245
|
manufacturers_id int NOT NULL,
|
|
246
|
languages_id int NOT NULL,
|
|
247
|
manufacturers_url varchar(255) NOT NULL,
|
|
248
|
url_clicked int(5) NOT NULL default '0',
|
|
249
|
date_last_click datetime NULL,
|
|
250
|
PRIMARY KEY (manufacturers_id, languages_id)
|
|
251
|
);
|
|
252
|
|
|
253
|
DROP TABLE IF EXISTS osc_newsletters;
|
|
254
|
CREATE TABLE osc_newsletters (
|
|
255
|
newsletters_id int NOT NULL auto_increment,
|
|
256
|
title varchar(255) NOT NULL,
|
|
257
|
content text NOT NULL,
|
|
258
|
module varchar(255) NOT NULL,
|
|
259
|
date_added datetime NOT NULL,
|
|
260
|
date_sent datetime,
|
|
261
|
status int(1),
|
|
262
|
locked int(1) DEFAULT '0',
|
|
263
|
PRIMARY KEY (newsletters_id)
|
|
264
|
);
|
|
265
|
|
|
266
|
DROP TABLE IF EXISTS osc_newsletters_log;
|
|
267
|
CREATE TABLE osc_newsletters_log (
|
|
268
|
newsletters_id int NOT NULL,
|
|
269
|
email_address varchar(255) NOT NULL,
|
|
270
|
date_sent datetime,
|
|
271
|
KEY IDX_NEWSLETTERS_LOG_NEWSLETTERS_ID (newsletters_id),
|
|
272
|
KEY IDX_NEWSLETTERS_LOG_EMAIL_ADDRESS (email_address)
|
|
273
|
);
|
|
274
|
|
|
275
|
DROP TABLE IF EXISTS osc_orders;
|
|
276
|
CREATE TABLE osc_orders (
|
|
277
|
orders_id int NOT NULL auto_increment,
|
|
278
|
customers_id int NOT NULL,
|
|
279
|
customers_name varchar(64) NOT NULL,
|
|
280
|
customers_company varchar(32),
|
|
281
|
customers_street_address varchar(64) NOT NULL,
|
|
282
|
customers_suburb varchar(32),
|
|
283
|
customers_city varchar(32) NOT NULL,
|
|
284
|
customers_postcode varchar(10) NOT NULL,
|
|
285
|
customers_state varchar(32),
|
hpdl
|
757
|
286
|
customers_state_code varchar(32),
|
hpdl
|
758
|
287
|
customers_country varchar(64) NOT NULL,
|
hpdl
|
757
|
288
|
customers_country_iso2 char(2) NOT NULL,
|
|
289
|
customers_country_iso3 char(3) NOT NULL,
|
hpdl
|
1
|
290
|
customers_telephone varchar(32) NOT NULL,
|
|
291
|
customers_email_address varchar(96) NOT NULL,
|
hpdl
|
757
|
292
|
customers_address_format varchar(255) NOT NULL,
|
hpdl
|
1
|
293
|
customers_ip_address varchar(15),
|
|
294
|
delivery_name varchar(64) NOT NULL,
|
|
295
|
delivery_company varchar(32),
|
|
296
|
delivery_street_address varchar(64) NOT NULL,
|
|
297
|
delivery_suburb varchar(32),
|
|
298
|
delivery_city varchar(32) NOT NULL,
|
|
299
|
delivery_postcode varchar(10) NOT NULL,
|
|
300
|
delivery_state varchar(32),
|
hpdl
|
757
|
301
|
delivery_state_code varchar(32),
|
hpdl
|
758
|
302
|
delivery_country varchar(64) NOT NULL,
|
hpdl
|
757
|
303
|
delivery_country_iso2 char(2) NOT NULL,
|
|
304
|
delivery_country_iso3 char(3) NOT NULL,
|
|
305
|
delivery_address_format varchar(255) NOT NULL,
|
hpdl
|
1
|
306
|
billing_name varchar(64) NOT NULL,
|
|
307
|
billing_company varchar(32),
|
|
308
|
billing_street_address varchar(64) NOT NULL,
|
|
309
|
billing_suburb varchar(32),
|
|
310
|
billing_city varchar(32) NOT NULL,
|
|
311
|
billing_postcode varchar(10) NOT NULL,
|
|
312
|
billing_state varchar(32),
|
hpdl
|
757
|
313
|
billing_state_code varchar(32),
|
hpdl
|
758
|
314
|
billing_country varchar(64) NOT NULL,
|
hpdl
|
757
|
315
|
billing_country_iso2 char(2) NOT NULL,
|
|
316
|
billing_country_iso3 char(3) NOT NULL,
|
|
317
|
billing_address_format varchar(255) NOT NULL,
|
hpdl
|
554
|
318
|
payment_method varchar(255) NOT NULL,
|
|
319
|
payment_module varchar(255) NOT NULL,
|
hpdl
|
1
|
320
|
last_modified datetime,
|
|
321
|
date_purchased datetime,
|
|
322
|
orders_status int(5) NOT NULL,
|
|
323
|
orders_date_finished datetime,
|
|
324
|
currency char(3),
|
|
325
|
currency_value decimal(14,6),
|
|
326
|
PRIMARY KEY (orders_id)
|
|
327
|
);
|
|
328
|
|
|
329
|
DROP TABLE IF EXISTS osc_orders_products;
|
|
330
|
CREATE TABLE osc_orders_products (
|
|
331
|
orders_products_id int NOT NULL auto_increment,
|
|
332
|
orders_id int NOT NULL,
|
|
333
|
products_id int NOT NULL,
|
|
334
|
products_model varchar(12),
|
|
335
|
products_name varchar(64) NOT NULL,
|
|
336
|
products_price decimal(15,4) NOT NULL,
|
|
337
|
final_price decimal(15,4) NOT NULL,
|
|
338
|
products_tax decimal(7,4) NOT NULL,
|
|
339
|
products_quantity int(2) NOT NULL,
|
|
340
|
PRIMARY KEY (orders_products_id)
|
|
341
|
);
|
|
342
|
|
|
343
|
DROP TABLE IF EXISTS osc_orders_status;
|
|
344
|
CREATE TABLE osc_orders_status (
|
|
345
|
orders_status_id int DEFAULT '0' NOT NULL,
|
|
346
|
language_id int DEFAULT '1' NOT NULL,
|
|
347
|
orders_status_name varchar(32) NOT NULL,
|
|
348
|
PRIMARY KEY (orders_status_id, language_id),
|
|
349
|
KEY idx_orders_status_name (orders_status_name)
|
|
350
|
);
|
|
351
|
|
|
352
|
DROP TABLE IF EXISTS osc_orders_status_history;
|
|
353
|
CREATE TABLE osc_orders_status_history (
|
|
354
|
orders_status_history_id int NOT NULL auto_increment,
|
|
355
|
orders_id int NOT NULL,
|
|
356
|
orders_status_id int(5) NOT NULL,
|
|
357
|
date_added datetime NOT NULL,
|
|
358
|
customer_notified int(1) DEFAULT '0',
|
|
359
|
comments text,
|
|
360
|
PRIMARY KEY (orders_status_history_id)
|
|
361
|
);
|
|
362
|
|
|
363
|
DROP TABLE IF EXISTS osc_orders_products_attributes;
|
|
364
|
CREATE TABLE osc_orders_products_attributes (
|
|
365
|
orders_products_attributes_id int NOT NULL auto_increment,
|
|
366
|
orders_id int NOT NULL,
|
|
367
|
orders_products_id int NOT NULL,
|
|
368
|
products_options varchar(32) NOT NULL,
|
|
369
|
products_options_values varchar(32) NOT NULL,
|
|
370
|
options_values_price decimal(15,4) NOT NULL,
|
|
371
|
price_prefix char(1) NOT NULL,
|
|
372
|
PRIMARY KEY (orders_products_attributes_id)
|
|
373
|
);
|
|
374
|
|
|
375
|
DROP TABLE IF EXISTS osc_orders_products_download;
|
|
376
|
CREATE TABLE osc_orders_products_download (
|
|
377
|
orders_products_download_id int NOT NULL auto_increment,
|
|
378
|
orders_id int NOT NULL default '0',
|
|
379
|
orders_products_id int NOT NULL default '0',
|
|
380
|
orders_products_filename varchar(255) NOT NULL default '',
|
|
381
|
download_maxdays int(2) NOT NULL default '0',
|
|
382
|
download_count int(2) NOT NULL default '0',
|
|
383
|
PRIMARY KEY (orders_products_download_id)
|
|
384
|
);
|
|
385
|
|
|
386
|
DROP TABLE IF EXISTS osc_orders_total;
|
|
387
|
CREATE TABLE osc_orders_total (
|
|
388
|
orders_total_id int unsigned NOT NULL auto_increment,
|
|
389
|
orders_id int NOT NULL,
|
|
390
|
title varchar(255) NOT NULL,
|
|
391
|
text varchar(255) NOT NULL,
|
|
392
|
value decimal(15,4) NOT NULL,
|
|
393
|
class varchar(32) NOT NULL,
|
|
394
|
sort_order int NOT NULL,
|
|
395
|
PRIMARY KEY (orders_total_id),
|
|
396
|
KEY idx_orders_total_orders_id (orders_id)
|
|
397
|
);
|
|
398
|
|
hpdl
|
554
|
399
|
DROP TABLE IF EXISTS osc_orders_transactions_history;
|
|
400
|
CREATE TABLE osc_orders_transactions_history (
|
|
401
|
id int unsigned not null auto_increment,
|
|
402
|
orders_id int unsigned not null,
|
|
403
|
transaction_code int not null,
|
|
404
|
transaction_return_value text not null,
|
|
405
|
transaction_return_status int not null,
|
|
406
|
date_added datetime,
|
|
407
|
PRIMARY KEY (id),
|
|
408
|
KEY idx_orders_transactions_history_orders_id (orders_id)
|
|
409
|
);
|
|
410
|
|
|
411
|
DROP TABLE IF EXISTS osc_orders_transactions_status;
|
|
412
|
CREATE TABLE osc_orders_transactions_status (
|
|
413
|
id int unsigned NOT NULL,
|
|
414
|
language_id int unsigned NOT NULL,
|
|
415
|
status_name varchar(32) NOT NULL,
|
|
416
|
PRIMARY KEY (id, language_id),
|
|
417
|
KEY idx_orders_transactions_status_name (status_name)
|
|
418
|
);
|
|
419
|
|
hpdl
|
1
|
420
|
DROP TABLE IF EXISTS osc_products;
|
|
421
|
CREATE TABLE osc_products (
|
|
422
|
products_id int NOT NULL auto_increment,
|
|
423
|
products_quantity int(4) NOT NULL,
|
|
424
|
products_price decimal(15,4) NOT NULL,
|
|
425
|
products_date_added datetime NOT NULL,
|
|
426
|
products_last_modified datetime,
|
|
427
|
products_date_available datetime,
|
|
428
|
products_weight decimal(5,2) NOT NULL,
|
|
429
|
products_weight_class int NOT NULL,
|
|
430
|
products_status tinyint(1) NOT NULL,
|
|
431
|
products_tax_class_id int NOT NULL,
|
|
432
|
manufacturers_id int NULL,
|
|
433
|
products_ordered int NOT NULL default '0',
|
|
434
|
PRIMARY KEY (products_id),
|
|
435
|
KEY idx_products_date_added (products_date_added)
|
|
436
|
);
|
|
437
|
|
|
438
|
DROP TABLE IF EXISTS osc_products_attributes;
|
|
439
|
CREATE TABLE osc_products_attributes (
|
|
440
|
products_attributes_id int NOT NULL auto_increment,
|
|
441
|
products_id int NOT NULL,
|
|
442
|
options_id int NOT NULL,
|
|
443
|
options_values_id int NOT NULL,
|
|
444
|
options_values_price decimal(15,4) NOT NULL,
|
|
445
|
price_prefix char(1) NOT NULL,
|
|
446
|
PRIMARY KEY (products_attributes_id)
|
|
447
|
);
|
|
448
|
|
|
449
|
DROP TABLE IF EXISTS osc_products_attributes_download;
|
|
450
|
CREATE TABLE osc_products_attributes_download (
|
|
451
|
products_attributes_id int NOT NULL,
|
|
452
|
products_attributes_filename varchar(255) NOT NULL default '',
|
|
453
|
products_attributes_maxdays int(2) default '0',
|
|
454
|
products_attributes_maxcount int(2) default '0',
|
|
455
|
PRIMARY KEY (products_attributes_id)
|
|
456
|
);
|
|
457
|
|
|
458
|
DROP TABLE IF EXISTS osc_products_description;
|
|
459
|
CREATE TABLE osc_products_description (
|
|
460
|
products_id int NOT NULL auto_increment,
|
|
461
|
language_id int NOT NULL default '1',
|
|
462
|
products_name varchar(64) NOT NULL default '',
|
|
463
|
products_description text,
|
hpdl
|
366
|
464
|
products_model varchar(16),
|
|
465
|
products_keyword varchar(64),
|
|
466
|
products_tags varchar(255),
|
|
467
|
products_url varchar(255),
|
hpdl
|
1
|
468
|
products_viewed int(5) default '0',
|
|
469
|
PRIMARY KEY (products_id,language_id),
|
hpdl
|
366
|
470
|
KEY products_name (products_name),
|
|
471
|
KEY products_description_keyword (products_keyword)
|
hpdl
|
1
|
472
|
);
|
|
473
|
|
hpdl
|
608
|
474
|
DROP TABLE IF EXISTS osc_products_images;
|
|
475
|
CREATE TABLE osc_products_images (
|
|
476
|
id int NOT NULL auto_increment,
|
|
477
|
products_id int NOT NULL,
|
|
478
|
image varchar(255) NOT NULL,
|
|
479
|
default_flag tinyint(1) NOT NULL,
|
|
480
|
sort_order int NOT NULL,
|
|
481
|
date_added datetime NOT NULL,
|
|
482
|
PRIMARY KEY (id),
|
|
483
|
KEY products_images_products_id (products_id)
|
|
484
|
);
|
|
485
|
|
|
486
|
DROP TABLE IF EXISTS osc_products_images_groups;
|
|
487
|
CREATE TABLE osc_products_images_groups (
|
|
488
|
id int NOT NULL auto_increment,
|
|
489
|
language_id int NOT NULL,
|
|
490
|
title varchar(255) not null,
|
|
491
|
code varchar(32) not null,
|
|
492
|
size_width int,
|
|
493
|
size_height int,
|
|
494
|
force_size tinyint(1) default 0,
|
|
495
|
PRIMARY KEY (id, language_id)
|
|
496
|
);
|
|
497
|
|
hpdl
|
1
|
498
|
DROP TABLE IF EXISTS osc_products_notifications;
|
|
499
|
CREATE TABLE osc_products_notifications (
|
|
500
|
products_id int NOT NULL,
|
|
501
|
customers_id int NOT NULL,
|
|
502
|
date_added datetime NOT NULL,
|
|
503
|
PRIMARY KEY (products_id, customers_id)
|
|
504
|
);
|
|
505
|
|
|
506
|
DROP TABLE IF EXISTS osc_products_options;
|
|
507
|
CREATE TABLE osc_products_options (
|
|
508
|
products_options_id int NOT NULL default '0',
|
|
509
|
language_id int NOT NULL default '1',
|
|
510
|
products_options_name varchar(32) NOT NULL default '',
|
|
511
|
PRIMARY KEY (products_options_id,language_id)
|
|
512
|
);
|
|
513
|
|
|
514
|
DROP TABLE IF EXISTS osc_products_options_values;
|
|
515
|
CREATE TABLE osc_products_options_values (
|
|
516
|
products_options_values_id int NOT NULL default '0',
|
|
517
|
language_id int NOT NULL default '1',
|
|
518
|
products_options_values_name varchar(64) NOT NULL default '',
|
|
519
|
PRIMARY KEY (products_options_values_id,language_id)
|
|
520
|
);
|
|
521
|
|
|
522
|
DROP TABLE IF EXISTS osc_products_options_values_to_products_options;
|
|
523
|
CREATE TABLE osc_products_options_values_to_products_options (
|
|
524
|
products_options_values_to_products_options_id int NOT NULL auto_increment,
|
|
525
|
products_options_id int NOT NULL,
|
|
526
|
products_options_values_id int NOT NULL,
|
|
527
|
PRIMARY KEY (products_options_values_to_products_options_id)
|
|
528
|
);
|
|
529
|
|
|
530
|
DROP TABLE IF EXISTS osc_products_to_categories;
|
|
531
|
CREATE TABLE osc_products_to_categories (
|
|
532
|
products_id int NOT NULL,
|
|
533
|
categories_id int NOT NULL,
|
|
534
|
PRIMARY KEY (products_id,categories_id)
|
|
535
|
);
|
|
536
|
|
|
537
|
DROP TABLE IF EXISTS osc_reviews;
|
|
538
|
CREATE TABLE osc_reviews (
|
|
539
|
reviews_id int NOT NULL auto_increment,
|
|
540
|
products_id int NOT NULL,
|
|
541
|
customers_id int,
|
|
542
|
customers_name varchar(64) NOT NULL,
|
|
543
|
reviews_rating int(1),
|
|
544
|
languages_id int NOT NULL,
|
|
545
|
reviews_text text NOT NULL,
|
|
546
|
date_added datetime,
|
|
547
|
last_modified datetime,
|
|
548
|
reviews_read int(5) NOT NULL default '0',
|
hpdl
|
6
|
549
|
reviews_status tinyint(1) NOT NULL,
|
hpdl
|
1
|
550
|
PRIMARY KEY (reviews_id)
|
|
551
|
);
|
|
552
|
|
|
553
|
DROP TABLE IF EXISTS osc_sessions;
|
|
554
|
CREATE TABLE osc_sessions (
|
|
555
|
sesskey varchar(32) NOT NULL,
|
|
556
|
expiry int(11) unsigned NOT NULL,
|
|
557
|
value text NOT NULL,
|
|
558
|
PRIMARY KEY (sesskey)
|
|
559
|
);
|
|
560
|
|
|
561
|
DROP TABLE IF EXISTS osc_specials;
|
|
562
|
CREATE TABLE osc_specials (
|
|
563
|
specials_id int NOT NULL auto_increment,
|
|
564
|
products_id int NOT NULL,
|
|
565
|
specials_new_products_price decimal(15,4) NOT NULL,
|
|
566
|
specials_date_added datetime,
|
|
567
|
specials_last_modified datetime,
|
|
568
|
start_date datetime,
|
|
569
|
expires_date datetime,
|
|
570
|
date_status_change datetime,
|
|
571
|
status int(1) NOT NULL DEFAULT '1',
|
|
572
|
PRIMARY KEY (specials_id)
|
|
573
|
);
|
|
574
|
|
|
575
|
DROP TABLE IF EXISTS osc_tax_class;
|
|
576
|
CREATE TABLE osc_tax_class (
|
|
577
|
tax_class_id int NOT NULL auto_increment,
|
|
578
|
tax_class_title varchar(32) NOT NULL,
|
|
579
|
tax_class_description varchar(255) NOT NULL,
|
|
580
|
last_modified datetime NULL,
|
|
581
|
date_added datetime NOT NULL,
|
|
582
|
PRIMARY KEY (tax_class_id)
|
|
583
|
);
|
|
584
|
|
|
585
|
DROP TABLE IF EXISTS osc_tax_rates;
|
|
586
|
CREATE TABLE osc_tax_rates (
|
|
587
|
tax_rates_id int NOT NULL auto_increment,
|
|
588
|
tax_zone_id int NOT NULL,
|
|
589
|
tax_class_id int NOT NULL,
|
|
590
|
tax_priority int(5) DEFAULT 1,
|
|
591
|
tax_rate decimal(7,4) NOT NULL,
|
|
592
|
tax_description varchar(255) NOT NULL,
|
|
593
|
last_modified datetime NULL,
|
|
594
|
date_added datetime NOT NULL,
|
|
595
|
PRIMARY KEY (tax_rates_id)
|
|
596
|
);
|
|
597
|
|
|
598
|
DROP TABLE IF EXISTS osc_geo_zones;
|
|
599
|
CREATE TABLE osc_geo_zones (
|
|
600
|
geo_zone_id int NOT NULL auto_increment,
|
|
601
|
geo_zone_name varchar(32) NOT NULL,
|
|
602
|
geo_zone_description varchar(255) NOT NULL,
|
|
603
|
last_modified datetime NULL,
|
|
604
|
date_added datetime NOT NULL,
|
|
605
|
PRIMARY KEY (geo_zone_id)
|
|
606
|
);
|
|
607
|
|
hpdl
|
366
|
608
|
DROP TABLE IF EXISTS osc_templates;
|
|
609
|
CREATE TABLE osc_templates (
|
|
610
|
id int NOT NULL auto_increment,
|
|
611
|
title varchar(64) not null,
|
|
612
|
code varchar(32) not null,
|
|
613
|
author_name varchar(64) not null,
|
|
614
|
author_www varchar(255),
|
|
615
|
markup_version varchar(32),
|
|
616
|
css_based tinyint,
|
|
617
|
medium varchar(32),
|
|
618
|
PRIMARY KEY (id)
|
|
619
|
);
|
|
620
|
|
|
621
|
DROP TABLE IF EXISTS osc_templates_boxes;
|
|
622
|
CREATE TABLE osc_templates_boxes (
|
|
623
|
id int NOT NULL auto_increment,
|
|
624
|
title varchar(64) not null,
|
|
625
|
code varchar(32) not null,
|
|
626
|
author_name varchar(64) not null,
|
|
627
|
author_www varchar(255),
|
|
628
|
modules_group varchar(32) not null,
|
|
629
|
PRIMARY KEY (id)
|
|
630
|
);
|
|
631
|
|
|
632
|
DROP TABLE IF EXISTS osc_templates_boxes_to_pages;
|
|
633
|
CREATE TABLE osc_templates_boxes_to_pages (
|
|
634
|
id int NOT NULL auto_increment,
|
|
635
|
templates_boxes_id int not null,
|
|
636
|
templates_id int not null,
|
|
637
|
content_page varchar(255) not null,
|
|
638
|
boxes_group varchar(32) not null,
|
|
639
|
sort_order int default 0,
|
|
640
|
page_specific int default 0,
|
|
641
|
PRIMARY KEY (id),
|
|
642
|
INDEX (templates_boxes_id, templates_id, content_page, boxes_group)
|
|
643
|
);
|
|
644
|
|
hpdl
|
1
|
645
|
DROP TABLE IF EXISTS osc_weight_classes;
|
|
646
|
CREATE TABLE osc_weight_classes (
|
|
647
|
weight_class_id int NOT NULL default '0',
|
|
648
|
weight_class_key varchar(4) NOT NULL default '',
|
|
649
|
language_id int NOT NULL default '0',
|
|
650
|
weight_class_title varchar(32) NOT NULL default '',
|
|
651
|
PRIMARY KEY (weight_class_id, language_id)
|
|
652
|
);
|
|
653
|
|
|
654
|
DROP TABLE IF EXISTS osc_weight_classes_rules;
|
|
655
|
CREATE TABLE osc_weight_classes_rules (
|
|
656
|
weight_class_from_id int(11) NOT NULL default '0',
|
|
657
|
weight_class_to_id int(11) NOT NULL default '0',
|
|
658
|
weight_class_rule decimal(15,4) NOT NULL default '0.0000'
|
|
659
|
);
|
|
660
|
DROP TABLE IF EXISTS osc_whos_online;
|
|
661
|
CREATE TABLE osc_whos_online (
|
|
662
|
customer_id int,
|
|
663
|
full_name varchar(64) NOT NULL,
|
|
664
|
session_id varchar(128) NOT NULL,
|
|
665
|
ip_address varchar(15) NOT NULL,
|
|
666
|
time_entry varchar(14) NOT NULL,
|
|
667
|
time_last_click varchar(14) NOT NULL,
|
|
668
|
last_page_url varchar(255) NOT NULL
|
|
669
|
);
|
|
670
|
|
|
671
|
DROP TABLE IF EXISTS osc_zones;
|
|
672
|
CREATE TABLE osc_zones (
|
|
673
|
zone_id int NOT NULL auto_increment,
|
|
674
|
zone_country_id int NOT NULL,
|
|
675
|
zone_code varchar(32) NOT NULL,
|
hpdl
|
758
|
676
|
zone_name varchar(64) NOT NULL,
|
hpdl
|
1
|
677
|
PRIMARY KEY (zone_id)
|
|
678
|
);
|
|
679
|
|
|
680
|
DROP TABLE IF EXISTS osc_zones_to_geo_zones;
|
|
681
|
CREATE TABLE osc_zones_to_geo_zones (
|
|
682
|
association_id int NOT NULL auto_increment,
|
|
683
|
zone_country_id int NOT NULL,
|
|
684
|
zone_id int NULL,
|
|
685
|
geo_zone_id int NULL,
|
|
686
|
last_modified datetime NULL,
|
|
687
|
date_added datetime NOT NULL,
|
|
688
|
PRIMARY KEY (association_id)
|
|
689
|
);
|
|
690
|
|
|
691
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Store Name', 'STORE_NAME', 'osCommerce', 'The name of my store', '1', '1', now());
|
hpdl
|
366
|
692
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Store Owner', 'STORE_OWNER', 'Store Owner', 'The name of my store owner', '1', '2', now());
|
hpdl
|
1
|
693
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('E-Mail Address', 'STORE_OWNER_EMAIL_ADDRESS', 'root@localhost', 'The e-mail address of my store owner', '1', '3', now());
|
hpdl
|
366
|
694
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('E-Mail From', 'EMAIL_FROM', '"Store Owner" <root@localhost>', 'The e-mail address used in (sent) e-mails', '1', '4', now());
|
hpdl
|
758
|
695
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Country', 'STORE_COUNTRY', '223', 'The country my store is located in <br><br><b>Note: Please remember to update the store zone.</b>', '1', '6', 'osC_Address::getCountryName', 'osc_cfg_set_countries_pulldown_menu', now());
|
|
696
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Zone', 'STORE_ZONE', '18', 'The zone my store is located in', '1', '7', 'osC_Address::getZoneName', 'osc_cfg_set_country_zones_pulldown_menu(STORE_COUNTRY)', now());
|
hpdl
|
1
|
697
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Send Extra Order Emails To', 'SEND_EXTRA_ORDER_EMAILS_TO', '', 'Send extra order emails to the following email addresses, in this format: Name 1 <email@address1>, Name 2 <email@address2>', '1', '11', now());
|
hpdl
|
758
|
698
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Allow Guest To Tell A Friend', 'ALLOW_GUEST_TO_TELL_A_FRIEND', '-1', 'Allow guests to tell a friend about a product', '1', '15', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
|
699
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Store Address and Phone', 'STORE_NAME_ADDRESS', 'Store Name\nAddress\nCountry\nPhone', 'This is the Store Name, Address and Phone used on printable documents and displayed online', '1', '18', 'osc_cfg_set_textarea_field', now());
|
hpdl
|
1
|
700
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Tax Decimal Places', 'TAX_DECIMAL_PLACES', '0', 'Pad the tax value this amount of decimal places', '1', '20', now());
|
hpdl
|
758
|
701
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Display Prices with Tax', 'DISPLAY_PRICE_WITH_TAX', '-1', 'Display prices with tax included (true) or add the tax at the end (false)', '1', '21', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
hpdl
|
1
|
702
|
|
|
703
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Credit Card Owner Name', 'CC_OWNER_MIN_LENGTH', '3', 'Minimum length of credit card owner name', '2', '12', now());
|
|
704
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Credit Card Number', 'CC_NUMBER_MIN_LENGTH', '10', 'Minimum length of credit card number', '2', '13', now());
|
|
705
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Review Text', 'REVIEW_TEXT_MIN_LENGTH', '50', 'Minimum length of review text', '2', '14', now());
|
|
706
|
|
|
707
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Address Book Entries', 'MAX_ADDRESS_BOOK_ENTRIES', '5', 'Maximum address book entries a customer is allowed to have', '3', '1', now());
|
|
708
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Search Results', 'MAX_DISPLAY_SEARCH_RESULTS', '20', 'Amount of products to list', '3', '2', now());
|
|
709
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Page Links', 'MAX_DISPLAY_PAGE_LINKS', '5', 'Number of \'number\' links use for page-sets', '3', '3', now());
|
|
710
|
|
|
711
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Categories To List Per Row', 'MAX_DISPLAY_CATEGORIES_PER_ROW', '3', 'How many categories to list per row', '3', '13', now());
|
|
712
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('New Products Listing', 'MAX_DISPLAY_PRODUCTS_NEW', '10', 'Maximum number of new products to display in new products page', '3', '14', now());
|
|
713
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Order History', 'MAX_DISPLAY_ORDER_HISTORY', '10', 'Maximum number of orders to display in the order history page', '3', '18', now());
|
|
714
|
|
|
715
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Small Image Width', 'SMALL_IMAGE_WIDTH', '100', 'The pixel width of small images', '4', '1', now());
|
|
716
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Small Image Height', 'SMALL_IMAGE_HEIGHT', '80', 'The pixel height of small images', '4', '2', now());
|
|
717
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Heading Image Width', 'HEADING_IMAGE_WIDTH', '57', 'The pixel width of heading images', '4', '3', now());
|
|
718
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Heading Image Height', 'HEADING_IMAGE_HEIGHT', '40', 'The pixel height of heading images', '4', '4', now());
|
|
719
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Subcategory Image Width', 'SUBCATEGORY_IMAGE_WIDTH', '100', 'The pixel width of subcategory images', '4', '5', now());
|
|
720
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Subcategory Image Height', 'SUBCATEGORY_IMAGE_HEIGHT', '57', 'The pixel height of subcategory images', '4', '6', now());
|
hpdl
|
758
|
721
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Image Required', 'IMAGE_REQUIRED', '1', 'Enable to display broken images. Good for development.', '4', '8', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
hpdl
|
1
|
722
|
|
hpdl
|
758
|
723
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Gender', 'ACCOUNT_GENDER', '1', 'Ask for or require the customers gender.', '5', '10', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, 0, -1))', now());
|
|
724
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('First Name', 'ACCOUNT_FIRST_NAME', '2', 'Minimum requirement for the customers first name.', '5', '11', 'osc_cfg_set_boolean_value(array(\'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\'))', now());
|
|
725
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Last Name', 'ACCOUNT_LAST_NAME', '2', 'Minimum requirement for the customers last name.', '5', '12', 'osc_cfg_set_boolean_value(array(\'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\'))', now());
|
|
726
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Date Of Birth', 'ACCOUNT_DATE_OF_BIRTH', '1', 'Ask for the customers date of birth.', '5', '13', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
|
727
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('E-Mail Address', 'ACCOUNT_EMAIL_ADDRESS', '6', 'Minimum requirement for the customers e-mail address.', '5', '14', 'osc_cfg_set_boolean_value(array(\'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\'))', now());
|
|
728
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Password', 'ACCOUNT_PASSWORD', '5', 'Minimum requirement for the customers password.', '5', '15', 'osc_cfg_set_boolean_value(array(\'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\'))', now());
|
|
729
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Newsletter', 'ACCOUNT_NEWSLETTER', '1', 'Ask for a newsletter subscription.', '5', '16', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
|
730
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Company Name', 'ACCOUNT_COMPANY', '0', 'Ask for or require the customers company name.', '5', '17', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(\'10\', \'9\', \'8\', \'7\', \'6\', \'5\', \'4\', \'3\', \'2\', \'1\', 0, -1))', now());
|
|
731
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Street Address', 'ACCOUNT_STREET_ADDRESS', '5', 'Minimum requirement for the customers street address.', '5', '18', 'osc_cfg_set_boolean_value(array(\'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\'))', now());
|
|
732
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Suburb', 'ACCOUNT_SUBURB', '0', 'Ask for or require the customers suburb.', '5', '19', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(\'10\', \'9\', \'8\', \'7\', \'6\', \'5\', \'4\', \'3\', \'2\', \'1\', 0, -1))', now());
|
hpdl
|
779
|
733
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Post Code', 'ACCOUNT_POST_CODE', '0', 'Minimum requirement for the customers post code.', '5', '20', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(-1, 0, \'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\'))', now());
|
hpdl
|
758
|
734
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('City', 'ACCOUNT_CITY', '4', 'Minimum requirement for the customers city.', '5', '21', 'osc_cfg_set_boolean_value(array(\'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\'))', now());
|
|
735
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('State', 'ACCOUNT_STATE', '2', 'Ask for or require the customers state.', '5', '22', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(\'10\', \'9\', \'8\', \'7\', \'6\', \'5\', \'4\', \'3\', \'2\', \'1\', 0, -1))', now());
|
|
736
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Country', 'ACCOUNT_COUNTRY', '1', 'Ask for the customers country.', '5', '23', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1))', now());
|
|
737
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Telephone Number', 'ACCOUNT_TELEPHONE', '3', 'Ask for or require the customers telephone number.', '5', '24', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(\'10\', \'9\', \'8\', \'7\', \'6\', \'5\', \'4\', \'3\', \'2\', \'1\', 0, -1))', now());
|
|
738
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Fax Number', 'ACCOUNT_FAX', '0', 'Ask for or require the customers fax number.', '5', '25', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(\'10\', \'9\', \'8\', \'7\', \'6\', \'5\', \'4\', \'3\', \'2\', \'1\', 0, -1))', now());
|
hpdl
|
1
|
739
|
|
|
740
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Default Currency', 'DEFAULT_CURRENCY', 'USD', 'Default Currency', '6', '0', now());
|
hpdl
|
410
|
741
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Default Language', 'DEFAULT_LANGUAGE', 'en_US', 'Default Language', '6', '0', now());
|
hpdl
|
1
|
742
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Default Order Status For New Orders', 'DEFAULT_ORDERS_STATUS_ID', '1', 'When a new order is created, this order status will be assigned to it.', '6', '0', now());
|
hpdl
|
608
|
743
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Default Image Group', 'DEFAULT_IMAGE_GROUP_ID', '2', 'Default image group.', '6', '0', now());
|
hpdl
|
366
|
744
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Default Template', 'DEFAULT_TEMPLATE', 'default', 'Default Template', '6', '0', now());
|
hpdl
|
1
|
745
|
|
hpdl
|
758
|
746
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Country of Origin', 'SHIPPING_ORIGIN_COUNTRY', '223', 'Select the country of origin to be used in shipping quotes.', '7', '1', 'osC_Address::getCountryName', 'osc_cfg_set_countries_pulldown_menu', now());
|
hpdl
|
1
|
747
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Postal Code', 'SHIPPING_ORIGIN_ZIP', 'NONE', 'Enter the Postal Code (ZIP) of the Store to be used in shipping quotes.', '7', '2', now());
|
|
748
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Enter the Maximum Package Weight you will ship', 'SHIPPING_MAX_WEIGHT', '50', 'Carriers have a max weight limit for a single package. This is a common one for all.', '7', '3', now());
|
|
749
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Package Tare weight.', 'SHIPPING_BOX_WEIGHT', '3', 'What is the weight of typical packaging of small to medium packages?', '7', '4', now());
|
|
750
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Larger packages - percentage increase.', 'SHIPPING_BOX_PADDING', '10', 'For 10% enter 10', '7', '5', now());
|
hpdl
|
758
|
751
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Default Shipping Unit', 'SHIPPING_WEIGHT_UNIT',2, 'Select the unit of weight to be used for shipping.', '7', '6', 'osC_Weight::getTitle', 'osc_cfg_set_weight_classes_pulldown_menu', now());
|
hpdl
|
1
|
752
|
|
|
753
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Image', 'PRODUCT_LIST_IMAGE', '1', 'Do you want to display the Product Image?', '8', '1', now());
|
|
754
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Manufaturer Name','PRODUCT_LIST_MANUFACTURER', '0', 'Do you want to display the Product Manufacturer Name?', '8', '2', now());
|
|
755
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Model', 'PRODUCT_LIST_MODEL', '0', 'Do you want to display the Product Model?', '8', '3', now());
|
|
756
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Name', 'PRODUCT_LIST_NAME', '2', 'Do you want to display the Product Name?', '8', '4', now());
|
|
757
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Price', 'PRODUCT_LIST_PRICE', '3', 'Do you want to display the Product Price', '8', '5', now());
|
|
758
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Quantity', 'PRODUCT_LIST_QUANTITY', '0', 'Do you want to display the Product Quantity?', '8', '6', now());
|
|
759
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Weight', 'PRODUCT_LIST_WEIGHT', '0', 'Do you want to display the Product Weight?', '8', '7', now());
|
|
760
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Buy Now column', 'PRODUCT_LIST_BUY_NOW', '4', 'Do you want to display the Buy Now column?', '8', '8', now());
|
|
761
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Category/Manufacturer Filter (0=disable; 1=enable)', 'PRODUCT_LIST_FILTER', '1', 'Do you want to display the Category/Manufacturer Filter?', '8', '9', now());
|
|
762
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Location of Prev/Next Navigation Bar (1-top, 2-bottom, 3-both)', 'PREV_NEXT_BAR_LOCATION', '2', 'Sets the location of the Prev/Next Navigation Bar (1-top, 2-bottom, 3-both)', '8', '10', now());
|
|
763
|
|
hpdl
|
758
|
764
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Check stock level', 'STOCK_CHECK', '1', 'Check to see if sufficent stock is available', '9', '1', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
|
765
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Subtract stock', 'STOCK_LIMITED', '1', 'Subtract product in stock by product orders', '9', '2', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
|
766
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Allow Checkout', 'STOCK_ALLOW_CHECKOUT', '1', 'Allow customer to checkout even if there is insufficient stock', '9', '3', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
hpdl
|
1
|
767
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Mark product out of stock', 'STOCK_MARK_PRODUCT_OUT_OF_STOCK', '***', 'Display something on screen so customer can see which product has insufficient stock', '9', '4', now());
|
|
768
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Stock Re-order level', 'STOCK_REORDER_LEVEL', '5', 'Define when stock needs to be re-ordered', '9', '5', now());
|
|
769
|
|
hpdl
|
758
|
770
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('E-Mail Transport Method', 'EMAIL_TRANSPORT', 'sendmail', 'Defines if this server uses a local connection to sendmail or uses an SMTP connection via TCP/IP. Servers running on Windows and MacOS should change this setting to SMTP.', '12', '1', 'osc_cfg_set_boolean_value(array(\'sendmail\', \'smtp\'))', now());
|
|
771
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('E-Mail Linefeeds', 'EMAIL_LINEFEED', 'LF', 'Defines the character sequence used to separate mail headers.', '12', '2', 'osc_cfg_set_boolean_value(array(\'LF\', \'CRLF\'))', now());
|
|
772
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Use MIME HTML When Sending Emails', 'EMAIL_USE_HTML', '-1', 'Send e-mails in HTML format', '12', '3', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
|
773
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Verify E-Mail Addresses Through DNS', 'ENTRY_EMAIL_ADDRESS_CHECK', '-1', 'Verify e-mail address through a DNS server', '12', '4', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
|
774
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Send E-Mails', 'SEND_EMAILS', '1', 'Send out e-mails', '12', '5', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
hpdl
|
1
|
775
|
|
hpdl
|
758
|
776
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Enable download', 'DOWNLOAD_ENABLED', '-1', 'Enable the products download functions.', '13', '1', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
|
777
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Download by redirect', 'DOWNLOAD_BY_REDIRECT', '-1', 'Use browser redirection for download. Disable on non-Unix systems.', '13', '2', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
hpdl
|
1
|
778
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Expiry delay (days)' ,'DOWNLOAD_MAX_DAYS', '7', 'Set number of days before the download link expires. 0 means no limit.', '13', '3', '', now());
|
|
779
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Maximum number of downloads' ,'DOWNLOAD_MAX_COUNT', '5', 'Set the maximum number of downloads. 0 means no download authorized.', '13', '4', '', now());
|
|
780
|
|
hpdl
|
758
|
781
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Confirm Terms and Conditions During Checkout Procedure', 'DISPLAY_CONDITIONS_ON_CHECKOUT', '-1', 'Show the Terms and Conditions during the checkout procedure which the customer must agree to.', '16', '1', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
|
782
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Confirm Privacy Notice During Account Creation Procedure', 'DISPLAY_PRIVACY_CONDITIONS', '-1', 'Show the Privacy Notice during the account creation procedure which the customer must agree to.', '16', '2', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
hpdl
|
1
|
783
|
|
hpdl
|
758
|
784
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Verify With Regular Expressions', 'CFG_CREDIT_CARDS_VERIFY_WITH_REGEXP', '1', 'Verify credit card numbers with server-side regular expression patterns.', '17', '0', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
|
785
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Verify With Javascript', 'CFG_CREDIT_CARDS_VERIFY_WITH_JS', '1', 'Verify credit card numbers with javascript based regular expression patterns.', '17', '1', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
|
hpdl
|
1
|
786
|
|
hpdl
|
610
|
787
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('cURL', 'CFG_APP_CURL', '/usr/bin/curl', 'The program location to cURL.', '18', '1', now());
|
|
788
|
INSERT INTO osc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('ImageMagick "convert"', 'CFG_APP_IMAGEMAGICK_CONVERT', '/usr/bin/convert', 'The program location to ImageMagicks "convert" to use when manipulating images.', '18', '2', now());
|
hpdl
|
608
|
789
|
|
hpdl
|
1
|
790
|
INSERT INTO osc_configuration_group VALUES ('1', 'My Store', 'General information about my store', '1', '1');
|
|
791
|
INSERT INTO osc_configuration_group VALUES ('2', 'Minimum Values', 'The minimum values for functions / data', '2', '1');
|
|
792
|
INSERT INTO osc_configuration_group VALUES ('3', 'Maximum Values', 'The maximum values for functions / data', '3', '1');
|
|
793
|
INSERT INTO osc_configuration_group VALUES ('4', 'Images', 'Image parameters', '4', '1');
|
|
794
|
INSERT INTO osc_configuration_group VALUES ('5', 'Customer Details', 'Customer account configuration', '5', '1');
|
|
795
|
INSERT INTO osc_configuration_group VALUES ('6', 'Module Options', 'Hidden from configuration', '6', '0');
|
|
796
|
INSERT INTO osc_configuration_group VALUES ('7', 'Shipping/Packaging', 'Shipping options available at my store', '7', '1');
|
|
797
|
INSERT INTO osc_configuration_group VALUES ('8', 'Product Listing', 'Product Listing configuration options', '8', '1');
|
|
798
|
INSERT INTO osc_configuration_group VALUES ('9', 'Stock', 'Stock configuration options', '9', '1');
|
|
799
|
INSERT INTO osc_configuration_group VALUES ('12', 'E-Mail Options', 'General setting for E-Mail transport and HTML E-Mails', '12', '1');
|
|
800
|
INSERT INTO osc_configuration_group VALUES ('13', 'Download', 'Downloadable products options', '13', '1');
|
|
801
|
INSERT INTO osc_configuration_group VALUES ('16', 'Regulations', 'Regulation options', '16', '1');
|
hpdl
|
554
|
802
|
INSERT INTO osc_configuration_group VALUES ('17', 'Credit Cards', 'Credit card options', '17', '1');
|
hpdl
|
608
|
803
|
INSERT INTO osc_configuration_group VALUES ('18', 'Program Locations', 'Locations to certain programs on the server.', '18', '1');
|
hpdl
|
1
|
804
|
|
hpdl
|
757
|
805
|
INSERT INTO osc_countries VALUES (1,'Afghanistan','AF','AFG','');
|
|
806
|
INSERT INTO osc_countries VALUES (2,'Albania','AL','ALB','');
|
|
807
|
INSERT INTO osc_countries VALUES (3,'Algeria','DZ','DZA','');
|
|
808
|
INSERT INTO osc_countries VALUES (4,'American Samoa','AS','ASM','');
|
|
809
|
INSERT INTO osc_countries VALUES (5,'Andorra','AD','AND','');
|
|
810
|
INSERT INTO osc_countries VALUES (6,'Angola','AO','AGO','');
|
|
811
|
INSERT INTO osc_countries VALUES (7,'Anguilla','AI','AIA','');
|
|
812
|
INSERT INTO osc_countries VALUES (8,'Antarctica','AQ','ATA','');
|
|
813
|
INSERT INTO osc_countries VALUES (9,'Antigua and Barbuda','AG','ATG','');
|
|
814
|
INSERT INTO osc_countries VALUES (10,'Argentina','AR','ARG',":name\n:street_address\n:postcode :city\n:country");
|
|
815
|
INSERT INTO osc_countries VALUES (11,'Armenia','AM','ARM','');
|
|
816
|
INSERT INTO osc_countries VALUES (12,'Aruba','AW','ABW','');
|
|
817
|
INSERT INTO osc_countries VALUES (13,'Australia','AU','AUS',":name\n:street_address\n:suburb :state_code :postcode\n:country");
|
|
818
|
INSERT INTO osc_countries VALUES (14,'Austria','AT','AUT',":name\n:street_address\nA-:postcode :city\n:country");
|
|
819
|
INSERT INTO osc_countries VALUES (15,'Azerbaijan','AZ','AZE','');
|
|
820
|
INSERT INTO osc_countries VALUES (16,'Bahamas','BS','BHS','');
|
|
821
|
INSERT INTO osc_countries VALUES (17,'Bahrain','BH','BHR','');
|
|
822
|
INSERT INTO osc_countries VALUES (18,'Bangladesh','BD','BGD','');
|
|
823
|
INSERT INTO osc_countries VALUES (19,'Barbados','BB','BRB','');
|
|
824
|
INSERT INTO osc_countries VALUES (20,'Belarus','BY','BLR','');
|
|
825
|
INSERT INTO osc_countries VALUES (21,'Belgium','BE','BEL',":name\n:street_address\nB-:postcode :city\n:country");
|
|
826
|
INSERT INTO osc_countries VALUES (22,'Belize','BZ','BLZ','');
|
|
827
|
INSERT INTO osc_countries VALUES (23,'Benin','BJ','BEN','');
|
|
828
|
INSERT INTO osc_countries VALUES (24,'Bermuda','BM','BMU','');
|
|
829
|
INSERT INTO osc_countries VALUES (25,'Bhutan','BT','BTN','');
|
|
830
|
INSERT INTO osc_countries VALUES (26,'Bolivia','BO','BOL','');
|
|
831
|
INSERT INTO osc_countries VALUES (27,'Bosnia and Herzegowina','BA','BIH','');
|
|
832
|
INSERT INTO osc_countries VALUES (28,'Botswana','BW','BWA','');
|
|
833
|
INSERT INTO osc_countries VALUES (29,'Bouvet Island','BV','BVT','');
|
|
834
|
INSERT INTO osc_countries VALUES (30,'Brazil','BR','BRA',":name\n:street_address\n:state\n:postcode\n:country");
|
|
835
|
INSERT INTO osc_countries VALUES (31,'British Indian Ocean Territory','IO','IOT','');
|
|
836
|
INSERT INTO osc_countries VALUES (32,'Brunei Darussalam','BN','BRN','');
|
|
837
|
INSERT INTO osc_countries VALUES (33,'Bulgaria','BG','BGR','');
|
|
838
|
INSERT INTO osc_countries VALUES (34,'Burkina Faso','BF','BFA','');
|
|
839
|
INSERT INTO osc_countries VALUES (35,'Burundi','BI','BDI','');
|
|
840
|
INSERT INTO osc_countries VALUES (36,'Cambodia','KH','KHM','');
|
|
841
|
INSERT INTO osc_countries VALUES (37,'Cameroon','CM','CMR','');
|
|
842
|
INSERT INTO osc_countries VALUES (38,'Canada','CA','CAN',":name\n:street_address\n:city :state_code :postcode\n:country");
|
|
843
|
INSERT INTO osc_countries VALUES (39,'Cape Verde','CV','CPV','');
|
|
844
|
INSERT INTO osc_countries VALUES (40,'Cayman Islands','KY','CYM','');
|
|
845
|
INSERT INTO osc_countries VALUES (41,'Central African Republic','CF','CAF','');
|
|
846
|
INSERT INTO osc_countries VALUES (42,'Chad','TD','TCD','');
|
hpdl
|
763
|
847
|
INSERT INTO osc_countries VALUES (43,'Chile','CL','CHL',":name\n:street_address\n:city\n:country");
|
hpdl
|
757
|
848
|
INSERT INTO osc_countries VALUES (44,'China','CN','CHN',":name\n:street_address\n:postcode :city\n:country");
|
|
849
|
INSERT INTO osc_countries VALUES (45,'Christmas Island','CX','CXR','');
|
|
850
|
INSERT INTO osc_countries VALUES (46,'Cocos (Keeling) Islands','CC','CCK','');
|
|
851
|
INSERT INTO osc_countries VALUES (47,'Colombia','CO','COL','');
|
|
852
|
INSERT INTO osc_countries VALUES (48,'Comoros','KM','COM','');
|
|
853
|
INSERT INTO osc_countries VALUES (49,'Congo','CG','COG','');
|
|
854
|
INSERT INTO osc_countries VALUES (50,'Cook Islands','CK','COK','');
|
|
855
|
INSERT INTO osc_countries VALUES (51,'Costa Rica','CR','CRI','');
|
|
856
|
INSERT INTO osc_countries VALUES (52,'Cote D\'Ivoire','CI','CIV','');
|
|
857
|
INSERT INTO osc_countries VALUES (53,'Croatia','HR','HRV','');
|
|
858
|
INSERT INTO osc_countries VALUES (54,'Cuba','CU','CUB','');
|
|
859
|
INSERT INTO&nb | |