Quick Search:

View

Revision:

Diff

Diff from 1865 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/osCommerce/trunk/oscommerce/install/oscommerce.sql

Annotated File View

hpdl
1157
1 $Idoscommerce.sql 1865 2009-03-08 22:00:36Z hpdl $
hpdl
1
2 #
3 osCommerceOpen Source E-Commerce Solutions
4 http://www.oscommerce.com
5 #
hpdl
1316
6 Copyright (c2007 osCommerce
hpdl
1
7 #
hpdl
1498
8 This program is free softwareyou can redistribute it and/or modify
9 it under the terms of the GNU General Public License v2 (1991)
10 as published by the Free Software Foundation.
hpdl
1
11
12 DROP TABLE IF EXISTS osc_address_book;
13 CREATE TABLE osc_address_book (
14    address_book_id int NOT NULL auto_increment,
15    customers_id int NOT NULL,
16    entry_gender char(1NOT NULL,
17    entry_company varchar(32),
18    entry_firstname varchar(32NOT NULL,
19    entry_lastname varchar(32NOT NULL,
20    entry_street_address varchar(64NOT NULL,
21    entry_suburb varchar(32),
22    entry_postcode varchar(10NOT NULL,
23    entry_city varchar(32NOT NULL,
24    entry_state varchar(32),
25    entry_country_id int DEFAULT '0' NOT NULL,
26    entry_zone_id int DEFAULT '0' NOT NULL,
27    entry_telephone varchar(32),
28    entry_fax varchar(32),
29    PRIMARY KEY (address_book_id),
30    KEY idx_address_book_customers_id (customers_id)
31 );
32
hpdl
366
33 DROP TABLE IF EXISTS osc_administrators;
34 CREATE TABLE osc_administrators (
35   id int NOT NULL auto_increment,
hpdl
1390
36   user_name varchar(32binary NOT NULL,
hpdl
366
37   user_password varchar(40NOT NULL,
38   PRIMARY KEY (id)
39 );
40
hpdl
1078
41 DROP TABLE IF EXISTS osc_administrators_access;
42 CREATE TABLE osc_administrators_access (
43   administrators_id int NOT NULL,
44   module varchar(255NOT NULL,
45   PRIMARY KEY (administrators_idmodule)
46 );
47
hpdl
1372
48 DROP TABLE IF EXISTS osc_administrators_log;
49 CREATE TABLE osc_administrators_log (
50   id int NOT NULL,
51   module varchar(255NOT NULL,
52   module_action varchar(32),
53   module_id int,
54   field_key varchar(255NOT NULL,
55   old_value text,
56   new_value text,
57   action varchar(255NOT NULL,
58   administrators_id int NOT NULL,
59   datestamp datetime NOT NULL,
60   KEY idx_administrators_log_id (id)
61 );
62
hpdl
1
63 DROP TABLE IF EXISTS osc_banners;
64 CREATE TABLE osc_banners (
65   banners_id int NOT NULL auto_increment,
66   banners_title varchar(64NOT NULL,
67   banners_url varchar(255NOT NULL,
68   banners_image varchar(64NOT NULL,
69   banners_group varchar(10NOT NULL,
70   banners_html_text text,
71   expires_impressions int(7DEFAULT '0',
72   expires_date datetime DEFAULT NULL,
73   date_scheduled datetime DEFAULT NULL,
74   date_added datetime NOT NULL,
75   date_status_change datetime DEFAULT NULL,
76   status int(1DEFAULT '1' NOT NULL,
77   PRIMARY KEY  (banners_id)
78 );
79
80 DROP TABLE IF EXISTS osc_banners_history;
81 CREATE TABLE osc_banners_history (
82   banners_history_id int NOT NULL auto_increment,
83   banners_id int NOT NULL,
84   banners_shown int(5NOT NULL DEFAULT '0',
85   banners_clicked int(5NOT NULL DEFAULT '0',
86   banners_history_date datetime NOT NULL,
87   PRIMARY KEY  (banners_history_id)
88 );
89
90 DROP TABLE IF EXISTS osc_categories;
91 CREATE TABLE osc_categories (
92    categories_id int NOT NULL auto_increment,
93    categories_image varchar(64),
94    parent_id int DEFAULT '0' NOT NULL,
95    sort_order int(3),
96    date_added datetime,
97    last_modified datetime,
98    PRIMARY KEY (categories_id),
99    KEY idx_categories_parent_id (parent_id)
100 );
101
102 DROP TABLE IF EXISTS osc_categories_description;
103 CREATE TABLE osc_categories_description (
104    categories_id int DEFAULT '0' NOT NULL,
105    language_id int DEFAULT '1' NOT NULL,
106    categories_name varchar(32NOT NULL,
107    PRIMARY KEY (categories_idlanguage_id),
108    KEY idx_categories_name (categories_name)
109 );
110
111 DROP TABLE IF EXISTS osc_configuration;
112 CREATE TABLE osc_configuration (
113   configuration_id int NOT NULL auto_increment,
114   configuration_title varchar(64NOT NULL,
115   configuration_key varchar(64NOT NULL,
116   configuration_value varchar(255NOT NULL,
117   configuration_description varchar(255NOT NULL,
118   configuration_group_id int NOT NULL,
119   sort_order int(5NULL,
120   last_modified datetime NULL,
121   date_added datetime NOT NULL,
122   use_function varchar(255NULL,
123   set_function varchar(255NULL,
124   PRIMARY KEY (configuration_id)
125 );
126
127 DROP TABLE IF EXISTS osc_configuration_group;
128 CREATE TABLE osc_configuration_group (
129   configuration_group_id int NOT NULL auto_increment,
130   configuration_group_title varchar(64NOT NULL,
131   configuration_group_description varchar(255NOT NULL,
132   sort_order int(5NULL,
133   visible int(1DEFAULT '1' NULL,
134   PRIMARY KEY (configuration_group_id)
135 );
136
137 DROP TABLE IF EXISTS osc_counter;
138 CREATE TABLE osc_counter (
hpdl
410
139   startdate datetime,
140   counter int
hpdl
1
141 );
142
143 DROP TABLE IF EXISTS osc_countries;
144 CREATE TABLE osc_countries (
145   countries_id int NOT NULL auto_increment,
146   countries_name varchar(64NOT NULL,
147   countries_iso_code_2 char(2NOT NULL,
148   countries_iso_code_3 char(3NOT NULL,
hpdl
757
149   address_format varchar(255NULL,
hpdl
1
150   PRIMARY KEY (countries_id),
151   KEY IDX_COUNTRIES_NAME (countries_name)
152 );
153
154 DROP TABLE IF EXISTS osc_credit_cards;
155 CREATE TABLE osc_credit_cards (
hpdl
554
156   id int NOT NULL auto_increment,
157   credit_card_name varchar(32NOT NULL,
158   pattern varchar(64NOT NULL,
159   credit_card_status char(1NOT NULL,
160   sort_order int default '0',
161   PRIMARY KEY (id)
hpdl
1
162 );
163
164 DROP TABLE IF EXISTS osc_currencies;
165 CREATE TABLE osc_currencies (
166   currencies_id int NOT NULL auto_increment,
167   title varchar(32NOT NULL,
168   code char(3NOT NULL,
169   symbol_left varchar(12),
170   symbol_right varchar(12),
171   decimal_places char(1),
172   value float(13,8),
173   last_updated datetime NULL,
174   PRIMARY KEY (currencies_id)
175 );
176
177 DROP TABLE IF EXISTS osc_customers;
178 CREATE TABLE osc_customers (
hpdl
814
179   customers_id int NOT NULL auto_increment,
hpdl
1316
180   customers_gender char(1),
hpdl
814
181   customers_firstname varchar(32NOT NULL,
182   customers_lastname varchar(32NOT NULL,
hpdl
1316
183   customers_dob datetime,
hpdl
814
184   customers_email_address varchar(96NOT NULL,
hpdl
1316
185   customers_default_address_id int,
186   customers_telephone varchar(32),
hpdl
814
187   customers_fax varchar(32),
hpdl
1316
188   customers_password varchar(40),
hpdl
814
189   customers_newsletter char(1),
190   customers_status int(1DEFAULT '0',
191   customers_ip_address varchar(15),
192   date_last_logon datetime,
193   number_of_logons int(5),
194   date_account_created datetime,
195   date_account_last_modified datetime,
196   global_product_notifications int(1DEFAULT '0',
197   PRIMARY KEY (customers_id)
hpdl
1
198 );
199
200 DROP TABLE IF EXISTS osc_languages;
201 CREATE TABLE osc_languages (
202   languages_id int NOT NULL auto_increment,
203   name varchar(32)  NOT NULL,
hpdl
410
204   code char(5NOT NULL,
205   locale varchar(255NOT NULL,
206   charset varchar(32NOT NULL,
207   date_format_short varchar(32NOT NULL,
208   date_format_long varchar(32NOT NULL,
209   time_format varchar(32NOT NULL,
210   text_direction varchar(12NOT NULL,
211   currencies_id int NOT NULL,
212   numeric_separator_decimal varchar(12NOT NULL,
213   numeric_separator_thousands varchar(12NOT NULL,
hpdl
1512
214   parent_id int DEFAULT 0,
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(32NOT NULL,
224   definition_key varchar(255NOT 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_idcontent_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(32NOT 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(255NOT NULL,
248   url_clicked int(5NOT NULL default '0',
249   date_last_click datetime NULL,
250   PRIMARY KEY (manufacturers_idlanguages_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(255NOT NULL,
257   content text NOT NULL,
258   module varchar(255NOT NULL,
259   date_added datetime NOT NULL,
260   date_sent datetime,
261   status int(1),
262   locked int(1DEFAULT '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(255NOT 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(64NOT NULL,
280   customers_company varchar(32),
281   customers_street_address varchar(64NOT NULL,
282   customers_suburb varchar(32),
283   customers_city varchar(32NOT NULL,
284   customers_postcode varchar(10NOT NULL,
285   customers_state varchar(32),
hpdl
757
286   customers_state_code varchar(32),
hpdl
758
287   customers_country varchar(64NOT NULL,
hpdl
757
288   customers_country_iso2 char(2NOT NULL,
289   customers_country_iso3 char(3NOT NULL,
hpdl
1
290   customers_telephone varchar(32NOT NULL,
291   customers_email_address varchar(96NOT NULL,
hpdl
757
292   customers_address_format varchar(255NOT NULL,
hpdl
1
293   customers_ip_address varchar(15),
294   delivery_name varchar(64NOT NULL,
295   delivery_company varchar(32),
296   delivery_street_address varchar(64NOT NULL,
297   delivery_suburb varchar(32),
298   delivery_city varchar(32NOT NULL,
299   delivery_postcode varchar(10NOT NULL,
300   delivery_state varchar(32),
hpdl
757
301   delivery_state_code varchar(32),
hpdl
758
302   delivery_country varchar(64NOT NULL,
hpdl
757
303   delivery_country_iso2 char(2NOT NULL,
304   delivery_country_iso3 char(3NOT NULL,
305   delivery_address_format varchar(255NOT NULL,
hpdl
1
306   billing_name varchar(64NOT NULL,
307   billing_company varchar(32),
308   billing_street_address varchar(64NOT NULL,
309   billing_suburb varchar(32),
310   billing_city varchar(32NOT NULL,
311   billing_postcode varchar(10NOT NULL,
312   billing_state varchar(32),
hpdl
757
313   billing_state_code varchar(32),
hpdl
758
314   billing_country varchar(64NOT NULL,
hpdl
757
315   billing_country_iso2 char(2NOT NULL,
316   billing_country_iso3 char(3NOT NULL,
317   billing_address_format varchar(255NOT NULL,
hpdl
554
318   payment_method varchar(255NOT NULL,
319   payment_module varchar(255NOT NULL,
hpdl
1
320   last_modified datetime,
321   date_purchased datetime,
322   orders_status int(5NOT 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(64NOT NULL,
336   products_price decimal(15,4NOT NULL,
337   products_tax decimal(7,4NOT NULL,
338   products_quantity int(2NOT NULL,
339   PRIMARY KEY (orders_products_id)
340 );
341
342 DROP TABLE IF EXISTS osc_orders_status;
343 CREATE TABLE osc_orders_status (
344    orders_status_id int DEFAULT '0' NOT NULL,
345    language_id int DEFAULT '1' NOT NULL,
346    orders_status_name varchar(32NOT NULL,
347    PRIMARY KEY (orders_status_idlanguage_id),
348    KEY idx_orders_status_name (orders_status_name)
349 );
350
351 DROP TABLE IF EXISTS osc_orders_status_history;
352 CREATE TABLE osc_orders_status_history (
353    orders_status_history_id int NOT NULL auto_increment,
354    orders_id int NOT NULL,
355    orders_status_id int(5NOT NULL,
356    date_added datetime NOT NULL,
357    customer_notified int(1DEFAULT '0',
358    comments text,
359    PRIMARY KEY (orders_status_history_id)
360 );
361
hpdl
1862
362 DROP TABLE IF EXISTS osc_orders_products_variants;
363 CREATE TABLE osc_orders_products_variants (
364   id int NOT NULL auto_increment,
hpdl
1
365   orders_id int NOT NULL,
366   orders_products_id int NOT NULL,
hpdl
1862
367   group_title varchar(255NOT NULL,
368   value_title text NOT NULL,
369   PRIMARY KEY (id),
370   KEY idx_orders_products_variants_orders_products_ids (orders_idorders_products_id)
hpdl
1
371 );
372
373 DROP TABLE IF EXISTS osc_orders_products_download;
374 CREATE TABLE osc_orders_products_download (
375   orders_products_download_id int NOT NULL auto_increment,
376   orders_id int NOT NULL default '0',
377   orders_products_id int NOT NULL default '0',
378   orders_products_filename varchar(255NOT NULL default '',
379   download_maxdays int(2NOT NULL default '0',
380   download_count int(2NOT NULL default '0',
381   PRIMARY KEY  (orders_products_download_id)
382 );
383
384 DROP TABLE IF EXISTS osc_orders_total;
385 CREATE TABLE osc_orders_total (
386   orders_total_id int unsigned NOT NULL auto_increment,
387   orders_id int NOT NULL,
388   title varchar(255NOT NULL,
389   text varchar(255NOT NULL,
390   value decimal(15,4NOT NULL,
391   class varchar(32NOT NULL,
392   sort_order int NOT NULL,
393   PRIMARY KEY (orders_total_id),
394   KEY idx_orders_total_orders_id (orders_id)
395 );
396
hpdl
554
397 DROP TABLE IF EXISTS osc_orders_transactions_history;
398 CREATE TABLE osc_orders_transactions_history (
399   id int unsigned not null auto_increment,
400   orders_id int unsigned not null,
401   transaction_code int not null,
402   transaction_return_value text not null,
403   transaction_return_status int not null,
404   date_added datetime,
405   PRIMARY KEY (id),
406   KEY idx_orders_transactions_history_orders_id (orders_id)
407 );
408
409 DROP TABLE IF EXISTS osc_orders_transactions_status;
410 CREATE TABLE osc_orders_transactions_status (
411    id int unsigned NOT NULL,
412    language_id int unsigned NOT NULL,
413    status_name varchar(32NOT NULL,
414    PRIMARY KEY (idlanguage_id),
415    KEY idx_orders_transactions_status_name (status_name)
416 );
417
hpdl
1862
418 DROP TABLE IF EXISTS osc_product_attributes;
419 CREATE TABLE osc_product_attributes (
420   id INT UNSIGNED NOT NULL,
421   products_id INT UNSIGNED NOT NULL,
422   languages_id INT UNSIGNED NOT NULL,
423   value TEXT NOT NULL,
424   KEY idx_pa_id_products_id (idproducts_id),
425   KEY idx_pa_languages_id (languages_id)
426 );
427
hpdl
1
428 DROP TABLE IF EXISTS osc_products;
429 CREATE TABLE osc_products (
430   products_id int NOT NULL auto_increment,
hpdl
1862
431   parent_id int NOT NULL DEFAULT 0,
432   products_quantity int NOT NULL,
hpdl
1
433   products_price decimal(15,4NOT NULL,
hpdl
1862
434   products_model varchar(255NOT NULL,
hpdl
1
435   products_date_added datetime NOT NULL,
436   products_last_modified datetime,
437   products_weight decimal(5,2NOT NULL,
438   products_weight_class int NOT NULL,
439   products_status tinyint(1NOT NULL,
440   products_tax_class_id int NOT NULL,
441   manufacturers_id int NULL,
442   products_ordered int NOT NULL default '0',
hpdl
1862
443   has_children int default 0,
hpdl
1
444   PRIMARY KEY (products_id),
445   KEY idx_products_date_added (products_date_added)
446 );
447
448 DROP TABLE IF EXISTS osc_products_description;
449 CREATE TABLE osc_products_description (
450   products_id int NOT NULL auto_increment,
451   language_id int NOT NULL default '1',
452   products_name varchar(64NOT NULL default '',
453   products_description text,
hpdl
366
454   products_keyword varchar(64),
455   products_tags varchar(255),
456   products_url varchar(255),
hpdl
1
457   products_viewed int(5default '0',
458   PRIMARY KEY  (products_id,language_id),
hpdl
366
459   KEY products_name (products_name),
460   KEY products_description_keyword (products_keyword)
hpdl
1
461 );
462
hpdl
608
463 DROP TABLE IF EXISTS osc_products_images;
464 CREATE TABLE osc_products_images (
465   id int NOT NULL auto_increment,
466   products_id int NOT NULL,
467   image varchar(255NOT NULL,
468   default_flag tinyint(1NOT NULL,
469   sort_order int NOT NULL,
470   date_added datetime NOT NULL,
471   PRIMARY KEY (id),
472   KEY products_images_products_id (products_id)
473 );
474
475 DROP TABLE IF EXISTS osc_products_images_groups;
476 CREATE TABLE osc_products_images_groups (
hpdl
971
477   id int NOT NULL,
hpdl
608
478   language_id int NOT NULL,
479   title varchar(255not null,
480   code varchar(32not null,
481   size_width int,
482   size_height int,
483   force_size tinyint(1default 0,
484   PRIMARY KEY (idlanguage_id)
485 );
486
hpdl
1
487 DROP TABLE IF EXISTS osc_products_notifications;
488 CREATE TABLE osc_products_notifications (
489   products_id int NOT NULL,
490   customers_id int NOT NULL,
491   date_added datetime NOT NULL,
492   PRIMARY KEY (products_idcustomers_id)
493 );
494
hpdl
1862
495 DROP TABLE IF EXISTS osc_products_to_categories;
496 CREATE TABLE osc_products_to_categories (
497   products_id int NOT NULL,
498   categories_id int NOT NULL,
499   PRIMARY KEY (products_id,categories_id)
hpdl
1
500 );
501
hpdl
1862
502 DROP TABLE IF EXISTS osc_products_variants;
503 CREATE TABLE osc_products_variants (
504   products_id INT UNSIGNED NOT NULL,
505   products_variants_values_id INT UNSIGNED NOT NULL,
506   default_combo TINYINT UNSIGNED DEFAULT 0,
507   PRIMARY KEY (products_idproducts_variants_values_id)
hpdl
1
508 );
509
hpdl
1862
510 DROP TABLE IF EXISTS osc_products_variants_groups;
511 CREATE TABLE osc_products_variants_groups (
512   id int NOT NULL auto_increment,
513   languages_id int NOT NULL,
514   title varchar(255NOT NULL,
515   sort_order int NOT NULL,
516   module varchar(255NOT NULL,
517   PRIMARY KEY (idlanguages_id)
hpdl
1
518 );
519
hpdl
1862
520 DROP TABLE IF EXISTS osc_products_variants_values;
521 CREATE TABLE osc_products_variants_values (
522   id int NOT NULL auto_increment,
523   languages_id int NOT NULL,
524   products_variants_groups_id int NOT NULL,
525   title varchar(255NOT NULL,
526   sort_order int NOT NULL,
527   PRIMARY KEY (idlanguages_id),
528   KEY idx_products_variants_values_groups_id (products_variants_groups_id)
hpdl
1
529 );
530
531 DROP TABLE IF EXISTS osc_reviews;
532 CREATE TABLE osc_reviews (
533   reviews_id int NOT NULL auto_increment,
534   products_id int NOT NULL,
535   customers_id int,
536   customers_name varchar(64NOT NULL,
537   reviews_rating int(1),
538   languages_id int NOT NULL,
539   reviews_text text NOT NULL,
540   date_added datetime,
541   last_modified datetime,
542   reviews_read int(5NOT NULL default '0',
hpdl
6
543   reviews_status tinyint(1NOT NULL,
hpdl
1
544   PRIMARY KEY (reviews_id)
545 );
546
547 DROP TABLE IF EXISTS osc_sessions;
548 CREATE TABLE osc_sessions (
549   sesskey varchar(32NOT NULL,
550   expiry int(11unsigned NOT NULL,
551   value text NOT NULL,
552   PRIMARY KEY (sesskey)
553 );
554
hpdl
1862
555 DROP TABLE IF EXISTS osc_shipping_availability;
556 CREATE TABLE osc_shipping_availability (
557   id INT UNSIGNED NOT NULL,
558   languages_id INT UNSIGNED NOT NULL,
559   title varchar(255NOT NULL,
560   css_key varchar(255),
561   PRIMARY KEY (idlanguages_id)
562 );
563
564 DROP TABLE IF EXISTS osc_shopping_carts;
565 CREATE TABLE osc_shopping_carts (
566   customers_id INT UNSIGNED NOT NULL,
567   item_id SMALLINT UNSIGNED NOT NULL,
568   products_id INT UNSIGNED NOT NULL,
569   quantity SMALLINT UNSIGNED NOT NULL,
570   date_added DATETIME,
571   KEY idx_sc_customers_id (customers_id),
572   KEY idx_sc_customers_id_products_id (customers_idproducts_id)
573 );
574
575 DROP TABLE IF EXISTS osc_shopping_carts_custom_variants_values;
576 CREATE TABLE osc_shopping_carts_custom_variants_values (
577   shopping_carts_item_id SMALLINT UNSIGNED NOT NULL,
578   customers_id INT UNSIGNED NOT NULL,
579   products_id INT UNSIGNED NOT NULL,
580   products_variants_values_id INT UNSIGNED NOT NULL,
581   products_variants_values_text TEXT NOT NULL,
582   KEY idx_sccvv_customers_id_products_id (customers_idproducts_id)
583 );
584
hpdl
1
585 DROP TABLE IF EXISTS osc_specials;
586 CREATE TABLE osc_specials (
587   specials_id int NOT NULL auto_increment,
588   products_id int NOT NULL,
589   specials_new_products_price decimal(15,4NOT NULL,
590   specials_date_added datetime,
591   specials_last_modified datetime,
592   start_date datetime,
593   expires_date datetime,
594   date_status_change datetime,
595   status int(1NOT NULL DEFAULT '1',
596   PRIMARY KEY (specials_id)
597 );
598
599 DROP TABLE IF EXISTS osc_tax_class;
600 CREATE TABLE osc_tax_class (
601   tax_class_id int NOT NULL auto_increment,
602   tax_class_title varchar(32NOT NULL,
603   tax_class_description varchar(255NOT NULL,
604   last_modified datetime NULL,
605   date_added datetime NOT NULL,
606   PRIMARY KEY (tax_class_id)
607 );
608
609 DROP TABLE IF EXISTS osc_tax_rates;
610 CREATE TABLE osc_tax_rates (
611   tax_rates_id int NOT NULL auto_increment,
612   tax_zone_id int NOT NULL,
613   tax_class_id int NOT NULL,
614   tax_priority int(5DEFAULT 1,
615   tax_rate decimal(7,4NOT NULL,
616   tax_description varchar(255NOT NULL,
617   last_modified datetime NULL,
618   date_added datetime NOT NULL,
619   PRIMARY KEY (tax_rates_id)
620 );
621
622 DROP TABLE IF EXISTS osc_geo_zones;
623 CREATE TABLE osc_geo_zones (
624   geo_zone_id int NOT NULL auto_increment,
625   geo_zone_name varchar(32NOT NULL,
626   geo_zone_description varchar(255NOT NULL,
627   last_modified datetime NULL,
628   date_added datetime NOT NULL,
629   PRIMARY KEY (geo_zone_id)
630 );
631
hpdl
366
632 DROP TABLE IF EXISTS osc_templates;
633 CREATE TABLE osc_templates (
634   id int NOT NULL auto_increment,
635   title varchar(64not null,
636   code varchar(32not null,
637   author_name varchar(64not null,
638   author_www varchar(255),
639   markup_version varchar(32),
640   css_based tinyint,
641   medium varchar(32),
642   PRIMARY KEY (id)
643 );
644
645 DROP TABLE IF EXISTS osc_templates_boxes;
646 CREATE TABLE osc_templates_boxes (
647   id int NOT NULL auto_increment,
648   title varchar(64not null,
649   code varchar(32not null,
650   author_name varchar(64not null,
651   author_www varchar(255),
652   modules_group varchar(32not null,
653   PRIMARY KEY (id)
654 );
655
656 DROP TABLE IF EXISTS osc_templates_boxes_to_pages;
657 CREATE TABLE osc_templates_boxes_to_pages (
658   id int NOT NULL auto_increment,
659   templates_boxes_id int not null,
660   templates_id int not null,
661   content_page varchar(255not null,
662   boxes_group varchar(32not null,
663   sort_order int default 0,
664   page_specific int default 0,
665   PRIMARY KEY (id),
666   INDEX (templates_boxes_idtemplates_idcontent_pageboxes_group)
667 );
668
hpdl
1
669 DROP TABLE IF EXISTS osc_weight_classes;
670 CREATE TABLE osc_weight_classes (
671   weight_class_id int NOT NULL default '0',
672   weight_class_key varchar(4NOT NULL default '',
673   language_id int NOT NULL default '0',
674   weight_class_title varchar(32NOT NULL default '',
675   PRIMARY KEY (weight_class_idlanguage_id)
676 );
677
678 DROP TABLE IF EXISTS osc_weight_classes_rules;
679 CREATE TABLE osc_weight_classes_rules (
680   weight_class_from_id int(11NOT NULL default '0',
681   weight_class_to_id int(11NOT NULL default '0',
682   weight_class_rule decimal(15,4NOT NULL default '0.0000'
683 );
684 DROP TABLE IF EXISTS osc_whos_online;
685 CREATE TABLE osc_whos_online (
686   customer_id int,
687   full_name varchar(64NOT NULL,
688   session_id varchar(128NOT NULL,
689   ip_address varchar(15NOT NULL,
690   time_entry varchar(14NOT NULL,
691   time_last_click varchar(14NOT NULL,
692   last_page_url varchar(255NOT NULL
693 );
694
695 DROP TABLE IF EXISTS osc_zones;
696 CREATE TABLE osc_zones (
697   zone_id int NOT NULL auto_increment,
698   zone_country_id int NOT NULL,
699   zone_code varchar(32NOT NULL,
hpdl
1865
700   zone_name varchar(255NOT NULL,
hpdl
1
701   PRIMARY KEY (zone_id)
702 );
703
704 DROP TABLE IF EXISTS osc_zones_to_geo_zones;
705 CREATE TABLE osc_zones_to_geo_zones (
706    association_id int NOT NULL auto_increment,
707    zone_country_id int NOT NULL,
708    zone_id int NULL,
709    geo_zone_id int NULL,
710    last_modified datetime NULL,
711    date_added datetime NOT NULL,
712    PRIMARY KEY (association_id)
713 );
714
715 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Store Name''STORE_NAME''osCommerce''The name of my store''1''1'now());
hpdl
366
716 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Store Owner''STORE_OWNER''Store Owner''The name of my store owner''1''2'now());
hpdl
1
717 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('E-Mail Address''STORE_OWNER_EMAIL_ADDRESS''root@localhost''The e-mail address of my store owner''1''3'now());
hpdl
366
718 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('E-Mail From''EMAIL_FROM''"Store Owner" <root@localhost>''The e-mail address used in (sent) e-mails''1''4'now());
hpdl
758
719 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
hpdl
1862
720 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('Zone''STORE_ZONE''4031''The zone my store is located in''1''7''osC_Address::getZoneName''osc_cfg_set_zones_pulldown_menu'now());
hpdl
1
721 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Send Extra Order Emails To''SEND_EXTRA_ORDER_EMAILS_TO''''Send extra order emails to the following email addresses, in this format: Name 1 &lt;email@address1&gt;, Name 2 &lt;email@address2&gt;''1''11'now());
hpdl
758
722 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
723 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderset_functiondate_addedVALUES ('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
724 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Tax Decimal Places''TAX_DECIMAL_PLACES''0''Pad the tax value this amount of decimal places''1''20'now());
hpdl
758
725 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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
726
727 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Credit Card Owner Name''CC_OWNER_MIN_LENGTH''3''Minimum length of credit card owner name''2''12'now());
728 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Credit Card Number''CC_NUMBER_MIN_LENGTH''10''Minimum length of credit card number''2''13'now());
729 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Review Text''REVIEW_TEXT_MIN_LENGTH''50''Minimum length of review text''2''14'now());
730
731 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Address Book Entries''MAX_ADDRESS_BOOK_ENTRIES''5''Maximum address book entries a customer is allowed to have''3''1'now());
732 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Search Results''MAX_DISPLAY_SEARCH_RESULTS''20''Amount of products to list''3''2'now());
733 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Page Links''MAX_DISPLAY_PAGE_LINKS''5''Number of \'number\' links use for page-sets''3''3'now());
734
735 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Categories To List Per Row''MAX_DISPLAY_CATEGORIES_PER_ROW''3''How many categories to list per row''3''13'now());
736 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('New Products Listing''MAX_DISPLAY_PRODUCTS_NEW''10''Maximum number of new products to display in new products page''3''14'now());
737 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Order History''MAX_DISPLAY_ORDER_HISTORY''10''Maximum number of orders to display in the order history page''3''18'now());
738
739 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Heading Image Width''HEADING_IMAGE_WIDTH''57''The pixel width of heading images''4''3'now());
740 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Heading Image Height''HEADING_IMAGE_HEIGHT''40''The pixel height of heading images''4''4'now());
hpdl
758
741 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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
742
hpdl
758
743 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
744 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderset_functiondate_addedVALUES ('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());
745 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderset_functiondate_addedVALUES ('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());
746 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
747 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderset_functiondate_addedVALUES ('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());
748 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderset_functiondate_addedVALUES ('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());
749 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
750 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
751 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderset_functiondate_addedVALUES ('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());
752 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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
753 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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
754 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderset_functiondate_addedVALUES ('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());
755 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
756 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
757 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
758 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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
759
760 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Default Currency''DEFAULT_CURRENCY''USD''Default Currency''6''0'now());
hpdl
410
761 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Default Language''DEFAULT_LANGUAGE''en_US''Default Language''6''0'now());
hpdl
1
762 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('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
763 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Default Image Group''DEFAULT_IMAGE_GROUP_ID''2''Default image group.''6''0'now());
hpdl
366
764 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Default Template''DEFAULT_TEMPLATE''default''Default Template''6''0'now());
hpdl
1
765
hpdl
758
766 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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
767 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Postal Code''SHIPPING_ORIGIN_ZIP''NONE''Enter the Postal Code (ZIP) of the Store to be used in shipping quotes.''7''2'now());
768 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('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());
769 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Package Tare weight.''SHIPPING_BOX_WEIGHT''3''What is the weight of typical packaging of small to medium packages?''7''4'now());
770 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Larger packages - percentage increase.''SHIPPING_BOX_PADDING''10''For 10% enter 10''7''5'now());
hpdl
758
771 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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
772
773 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Display Product Image''PRODUCT_LIST_IMAGE''1''Do you want to display the Product Image?''8''1'now());
774 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Display Product Manufaturer Name','PRODUCT_LIST_MANUFACTURER''0''Do you want to display the Product Manufacturer Name?''8''2'now());
775 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Display Product Model''PRODUCT_LIST_MODEL''0''Do you want to display the Product Model?''8''3'now());
776 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Display Product Name''PRODUCT_LIST_NAME''2''Do you want to display the Product Name?''8''4'now());
777 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Display Product Price''PRODUCT_LIST_PRICE''3''Do you want to display the Product Price''8''5'now());
778 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Display Product Quantity''PRODUCT_LIST_QUANTITY''0''Do you want to display the Product Quantity?''8''6'now());
779 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Display Product Weight''PRODUCT_LIST_WEIGHT''0''Do you want to display the Product Weight?''8''7'now());
780 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Display Buy Now column''PRODUCT_LIST_BUY_NOW''4''Do you want to display the Buy Now column?''8''8'now());
781 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Display Category/Manufacturer Filter (0=disable; 1=enable)''PRODUCT_LIST_FILTER''1''Do you want to display the Category/Manufacturer Filter?''8''9'now());
782 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('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());
783
hpdl
758
784 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
785 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
786 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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
787 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('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());
788 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('Stock Re-order level''STOCK_REORDER_LEVEL''5''Define when stock needs to be re-ordered''9''5'now());
789
hpdl
758
790 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderset_functiondate_addedVALUES ('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());
791 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderset_functiondate_addedVALUES ('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());
792 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
793 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
794 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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
795
hpdl
758
796 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
797 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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
798 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderset_functiondate_addedVALUES ('Expiry delay (days)' ,'DOWNLOAD_MAX_DAYS''7''Set number of days before the download link expires. 0 means no limit.''13''3'''now());
799 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderset_functiondate_addedVALUES ('Maximum number of downloads' ,'DOWNLOAD_MAX_COUNT''5''Set the maximum number of downloads. 0 means no download authorized.''13''4'''now());
800
hpdl
758
801 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
802 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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
803
hpdl
758
804 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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());
805 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('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
806
hpdl
1536
807 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('GZIP''CFG_APP_GZIP''/usr/bin/gzip''The program location to gzip.''18''1'now());
808 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('GUNZIP''CFG_APP_GUNZIP''/usr/bin/gunzip''The program location to gunzip.''18''2'now());
809 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('ZIP''CFG_APP_ZIP''/usr/bin/zip''The program location to zip.''18''3'now());
810 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('UNZIP''CFG_APP_UNZIP''/usr/bin/unzip''The program location to unzip.''18''4'now());
811 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('cURL''CFG_APP_CURL''/usr/bin/curl''The program location to cURL.''18''5'now());
812 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addedVALUES ('ImageMagick "convert"''CFG_APP_IMAGEMAGICK_CONVERT''/usr/bin/convert''The program location to ImageMagicks "convert" to use when manipulating images.''18''6'now());
hpdl
608
813
hpdl
1
814 INSERT INTO osc_configuration_group VALUES ('1''My Store''General information about my store''1''1');
815 INSERT INTO osc_configuration_group VALUES ('2''Minimum Values''The minimum values for functions / data''2''1');
816 INSERT INTO osc_configuration_group VALUES ('3''Maximum Values''The maximum values for functions / data''3''1');
817 INSERT INTO osc_configuration_group VALUES ('4''Images''Image parameters''4''1');
818 INSERT INTO osc_configuration_group VALUES ('5''Customer Details''Customer account configuration''5''1');
819 INSERT INTO osc_configuration_group VALUES ('6''Module Options''Hidden from configuration''6''0');
820 INSERT INTO osc_configuration_group VALUES ('7''Shipping/Packaging''Shipping options available at my store''7''1');
821 INSERT INTO osc_configuration_group VALUES ('8''Product Listing''Product Listing    configuration options''8''1');
822 INSERT INTO osc_configuration_group VALUES ('9''Stock''Stock configuration options''9''1');
823 INSERT INTO osc_configuration_group VALUES ('12''E-Mail Options''General setting for E-Mail transport and HTML E-Mails''12''1');
824 INSERT INTO osc_configuration_group VALUES ('13''Download''Downloadable products options''13''1');
825 INSERT INTO osc_configuration_group VALUES ('16''Regulations''Regulation options''16''1');
hpdl
554
826 INSERT INTO osc_configuration_group VALUES ('17''Credit Cards''Credit card options''17''1');
hpdl
608
827 INSERT INTO osc_configuration_group VALUES ('18''Program Locations''Locations to certain programs on the server.''18''1');
hpdl
1
828
tech2000
1156
829 INSERT INTO osc_countries VALUES (1,'Afghanistan','AF','AFG','');
hpdl
1546
830
831 INSERT INTO osc_zones (zone_country_idzone_codezone_nameVALUES (1,'BDS','بد خشان');
832 INSERT INTO osc_zones (zone_country_idzone_codezone_nameVALUES (1,'BDG','بادغیس');
833 INSERT INTO osc_zones (zone_country_idzone_codezone_nameVALUES (1,'BGL','بغلان');
834 INSERT INTO osc_zones (zone_country_idzone_codezone_nameVALUES (1,'BAL','بلخ');
835 INSERT INTO osc_zones (zone_country_idzone_codezone_nameVALUES (1,'BAM','بامیان');
836 INSERT INTO osc_zones (zone_country_idzone_codezone_nameVALUES (1,'DAY','دایکندی');
837 INSERT INTO osc_zones (zone_country_idzone_codezone_nameVALUES (1,'FRA','فراه');
838 INSERT INTO osc_zones (zone_country_idzone_codezone_nameVALUES (1,'FYB','فارياب');
839 INSERT INTO osc_zones (zone_country_idzone_codezone_nameVALUES (1,'GHA','غزنى');
840 INSERT INTO osc_zones (zone_country_idzone_codezone_nameVALUES (1,'GHO','غور');
841 INSERT INTO osc_zones (zone_country_idzone_codezone_nameVALUES (1,'HEL','هلمند');
842 INSERT INTO osc_zones (zone_country_idzone_codezone_nameVALUES (1,'HER','هرات');