Quick Search:

View

Revision:

Diff

Diff from 1111 to:

Annotations

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

Annotated File View

hpdl
6
1 $Idoscommerce.sql 1111 2006-11-06 11:39:48Z hpdl $
hpdl
1
2 #
3 osCommerceOpen Source E-Commerce Solutions
4 http://www.oscommerce.com
5 #
hpdl
410
6 Copyright (c2006 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 structureand 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 databasesuse
17 #         the mysqldiff perl script located in the extras
18 #         directory of the 'catalog' module.
19 #       * Comments should be like thesefull 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(1NOT NULL,
27    entry_company varchar(32),
28    entry_firstname varchar(32NOT NULL,
29    entry_lastname varchar(32NOT NULL,
30    entry_street_address varchar(64NOT NULL,
31    entry_suburb varchar(32),
32    entry_postcode varchar(10NOT NULL,
33    entry_city varchar(32NOT 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(32NOT NULL,
47   user_password varchar(40NOT NULL,
48   PRIMARY KEY (id)
49 );
50
hpdl
1078
51 DROP TABLE IF EXISTS osc_administrators_access;
52 CREATE TABLE osc_administrators_access (
53   administrators_id int NOT NULL,
54   module varchar(255NOT NULL,
55   PRIMARY KEY (administrators_idmodule)
56 );
57
hpdl
1
58 DROP TABLE IF EXISTS osc_banners;
59 CREATE TABLE osc_banners (
60   banners_id int NOT NULL auto_increment,
61   banners_title varchar(64NOT NULL,
62   banners_url varchar(255NOT NULL,
63   banners_image varchar(64NOT NULL,
64   banners_group varchar(10NOT NULL,
65   banners_html_text text,
66   expires_impressions int(7DEFAULT '0',
67   expires_date datetime DEFAULT NULL,
68   date_scheduled datetime DEFAULT NULL,
69   date_added datetime NOT NULL,
70   date_status_change datetime DEFAULT NULL,
71   status int(1DEFAULT '1' NOT NULL,
72   PRIMARY KEY  (banners_id)
73 );
74
75 DROP TABLE IF EXISTS osc_banners_history;
76 CREATE TABLE osc_banners_history (
77   banners_history_id int NOT NULL auto_increment,
78   banners_id int NOT NULL,
79   banners_shown int(5NOT NULL DEFAULT '0',
80   banners_clicked int(5NOT NULL DEFAULT '0',
81   banners_history_date datetime NOT NULL,
82   PRIMARY KEY  (banners_history_id)
83 );
84
85 DROP TABLE IF EXISTS osc_categories;
86 CREATE TABLE osc_categories (
87    categories_id int NOT NULL auto_increment,
88    categories_image varchar(64),
89    parent_id int DEFAULT '0' NOT NULL,
90    sort_order int(3),
91    date_added datetime,
92    last_modified datetime,
93    PRIMARY KEY (categories_id),
94    KEY idx_categories_parent_id (parent_id)
95 );
96
97 DROP TABLE IF EXISTS osc_categories_description;
98 CREATE TABLE osc_categories_description (
99    categories_id int DEFAULT '0' NOT NULL,
100    language_id int DEFAULT '1' NOT NULL,
101    categories_name varchar(32NOT NULL,
102    PRIMARY KEY (categories_idlanguage_id),
103    KEY idx_categories_name (categories_name)
104 );
105
106 DROP TABLE IF EXISTS osc_configuration;
107 CREATE TABLE osc_configuration (
108   configuration_id int NOT NULL auto_increment,
109   configuration_title varchar(64NOT NULL,
110   configuration_key varchar(64NOT NULL,
111   configuration_value varchar(255NOT NULL,
112   configuration_description varchar(255NOT NULL,
113   configuration_group_id int NOT NULL,
114   sort_order int(5NULL,
115   last_modified datetime NULL,
116   date_added datetime NOT NULL,
117   use_function varchar(255NULL,
118   set_function varchar(255NULL,
119   PRIMARY KEY (configuration_id)
120 );
121
122 DROP TABLE IF EXISTS osc_configuration_group;
123 CREATE TABLE osc_configuration_group (
124   configuration_group_id int NOT NULL auto_increment,
125   configuration_group_title varchar(64NOT NULL,
126   configuration_group_description varchar(255NOT NULL,
127   sort_order int(5NULL,
128   visible int(1DEFAULT '1' NULL,
129   PRIMARY KEY (configuration_group_id)
130 );
131
132 DROP TABLE IF EXISTS osc_counter;
133 CREATE TABLE osc_counter (
hpdl
410
134   startdate datetime,
135   counter int
hpdl
1
136 );
137
138 DROP TABLE IF EXISTS osc_countries;
139 CREATE TABLE osc_countries (
140   countries_id int NOT NULL auto_increment,
141   countries_name varchar(64NOT NULL,
142   countries_iso_code_2 char(2NOT NULL,
143   countries_iso_code_3 char(3NOT NULL,
hpdl
757
144   address_format varchar(255NULL,
hpdl
1
145   PRIMARY KEY (countries_id),
146   KEY IDX_COUNTRIES_NAME (countries_name)
147 );
148
149 DROP TABLE IF EXISTS osc_credit_cards;
150 CREATE TABLE osc_credit_cards (
hpdl
554
151   id int NOT NULL auto_increment,
152   credit_card_name varchar(32NOT NULL,
153   pattern varchar(64NOT NULL,
154   credit_card_status char(1NOT NULL,
155   sort_order int default '0',
156   PRIMARY KEY (id)
hpdl
1
157 );
158
159 DROP TABLE IF EXISTS osc_currencies;
160 CREATE TABLE osc_currencies (
161   currencies_id int NOT NULL auto_increment,
162   title varchar(32NOT NULL,
163   code char(3NOT NULL,
164   symbol_left varchar(12),
165   symbol_right varchar(12),
166   decimal_places char(1),
167   value float(13,8),
168   last_updated datetime NULL,
169   PRIMARY KEY (currencies_id)
170 );
171
172 DROP TABLE IF EXISTS osc_customers;
173 CREATE TABLE osc_customers (
hpdl
814
174   customers_id int NOT NULL auto_increment,
175   customers_gender char(1NOT NULL,
176   customers_firstname varchar(32NOT NULL,
177   customers_lastname varchar(32NOT NULL,
178   customers_dob datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
179   customers_email_address varchar(96NOT NULL,
180   customers_default_address_id int NOT NULL,
181   customers_telephone varchar(32NOT NULL,
182   customers_fax varchar(32),
183   customers_password varchar(40NOT NULL,
184   customers_newsletter char(1),
185   customers_status int(1DEFAULT '0',
186   customers_ip_address varchar(15),
187   date_last_logon datetime,
188   number_of_logons int(5),
189   date_account_created datetime,
190   date_account_last_modified datetime,
191   global_product_notifications int(1DEFAULT '0',
192   PRIMARY KEY (customers_id)
hpdl
1
193 );
194
195 DROP TABLE IF EXISTS osc_customers_basket;
196 CREATE TABLE osc_customers_basket (
197   customers_basket_id int NOT NULL auto_increment,
198   customers_id int NOT NULL,
199   products_id tinytext NOT NULL,
hpdl
410
200   customers_basket_quantity int NOT NULL,
hpdl
1
201   final_price decimal(15,4NOT NULL,
hpdl
410
202   customers_basket_date_added datetime,
hpdl
1
203   PRIMARY KEY (customers_basket_id)
204 );
205
206 DROP TABLE IF EXISTS osc_languages;
207 CREATE TABLE osc_languages (
208   languages_id int NOT NULL auto_increment,
209   name varchar(32)  NOT NULL,
hpdl
410
210   code char(5NOT NULL,
211   locale varchar(255NOT NULL,
212   charset varchar(32NOT NULL,
213   date_format_short varchar(32NOT NULL,
214   date_format_long varchar(32NOT NULL,
215   time_format varchar(32NOT NULL,
216   text_direction varchar(12NOT NULL,
217   currencies_id int NOT NULL,
218   numeric_separator_decimal varchar(12NOT NULL,
219   numeric_separator_thousands varchar(12NOT NULL,
hpdl
1
220   sort_order int(3),
hpdl
410
221   PRIMARY KEY (languages_id)
hpdl
1
222 );
223
hpdl
410
224 DROP TABLE IF EXISTS osc_languages_definitions;
225 CREATE TABLE osc_languages_definitions (
226   id int NOT NULL auto_increment,
227   languages_id int NOT NULL,
228   content_group varchar(32NOT NULL,
229   definition_key varchar(255NOT NULL,
230   definition_value text NOT NULL,
231   PRIMARY KEY (id),
232   KEY IDX_LANGUAGES_DEFINITIONS_LANGUAGES (languages_id),
233   KEY IDX_LANGUAGES_DEFINITIONS (languages_idcontent_group),
234   KEY IDX_LANGUAGES_DEFINITIONS_GROUPS (content_group)
235 );
236
hpdl
1
237 DROP TABLE IF EXISTS osc_manufacturers;
238 CREATE TABLE osc_manufacturers (
239   manufacturers_id int NOT NULL auto_increment,
240   manufacturers_name varchar(32NOT NULL,
241   manufacturers_image varchar(64),
242   date_added datetime NULL,
243   last_modified datetime NULL,
244   PRIMARY KEY (manufacturers_id),
245   KEY IDX_MANUFACTURERS_NAME (manufacturers_name)
246 );
247
248 DROP TABLE IF EXISTS osc_manufacturers_info;
249 CREATE TABLE osc_manufacturers_info (
250   manufacturers_id int NOT NULL,
251   languages_id int NOT NULL,
252   manufacturers_url varchar(255NOT NULL,
253   url_clicked int(5NOT NULL default '0',
254   date_last_click datetime NULL,
255   PRIMARY KEY (manufacturers_idlanguages_id)
256 );
257
258 DROP TABLE IF EXISTS osc_newsletters;
259 CREATE TABLE osc_newsletters (
260   newsletters_id int NOT NULL auto_increment,
261   title varchar(255NOT NULL,
262   content text NOT NULL,
263   module varchar(255NOT NULL,
264   date_added datetime NOT NULL,
265   date_sent datetime,
266   status int(1),
267   locked int(1DEFAULT '0',
268   PRIMARY KEY (newsletters_id)
269 );
270
271 DROP TABLE IF EXISTS osc_newsletters_log;
272 CREATE TABLE osc_newsletters_log (
273   newsletters_id int NOT NULL,
274   email_address varchar(255NOT NULL,
275   date_sent datetime,
276   KEY IDX_NEWSLETTERS_LOG_NEWSLETTERS_ID (newsletters_id),
277   KEY IDX_NEWSLETTERS_LOG_EMAIL_ADDRESS (email_address)
278 );
279
280 DROP TABLE IF EXISTS osc_orders;
281 CREATE TABLE osc_orders (
282   orders_id int NOT NULL auto_increment,
283   customers_id int NOT NULL,
284   customers_name varchar(64NOT NULL,
285   customers_company varchar(32),
286   customers_street_address varchar(64NOT NULL,
287   customers_suburb varchar(32),
288   customers_city varchar(32NOT NULL,
289   customers_postcode varchar(10NOT NULL,
290   customers_state varchar(32),
hpdl
757
291   customers_state_code varchar(32),
hpdl
758
292   customers_country varchar(64NOT NULL,
hpdl
757
293   customers_country_iso2 char(2NOT NULL,
294   customers_country_iso3 char(3NOT NULL,
hpdl
1
295   customers_telephone varchar(32NOT NULL,
296   customers_email_address varchar(96NOT NULL,
hpdl
757
297   customers_address_format varchar(255NOT NULL,
hpdl
1
298   customers_ip_address varchar(15),
299   delivery_name varchar(64NOT NULL,
300   delivery_company varchar(32),
301   delivery_street_address varchar(64NOT NULL,
302   delivery_suburb varchar(32),
303   delivery_city varchar(32NOT NULL,
304   delivery_postcode varchar(10NOT NULL,
305   delivery_state varchar(32),
hpdl
757
306   delivery_state_code varchar(32),
hpdl
758
307   delivery_country varchar(64NOT NULL,
hpdl
757
308   delivery_country_iso2 char(2NOT NULL,
309   delivery_country_iso3 char(3NOT NULL,
310   delivery_address_format varchar(255NOT NULL,
hpdl
1
311   billing_name varchar(64NOT NULL,
312   billing_company varchar(32),
313   billing_street_address varchar(64NOT NULL,
314   billing_suburb varchar(32),
315   billing_city varchar(32NOT NULL,
316   billing_postcode varchar(10NOT NULL,
317   billing_state varchar(32),
hpdl
757
318   billing_state_code varchar(32),
hpdl
758
319   billing_country varchar(64NOT NULL,
hpdl
757
320   billing_country_iso2 char(2NOT NULL,
321   billing_country_iso3 char(3NOT NULL,
322   billing_address_format varchar(255NOT NULL,
hpdl
554
323   payment_method varchar(255NOT NULL,
324   payment_module varchar(255NOT NULL,
hpdl
1
325   last_modified datetime,
326   date_purchased datetime,
327   orders_status int(5NOT NULL,
328   orders_date_finished datetime,
329   currency char(3),
330   currency_value decimal(14,6),
331   PRIMARY KEY (orders_id)
332 );
333
334 DROP TABLE IF EXISTS osc_orders_products;
335 CREATE TABLE osc_orders_products (
336   orders_products_id int NOT NULL auto_increment,
337   orders_id int NOT NULL,
338   products_id int NOT NULL,
339   products_model varchar(12),
340   products_name varchar(64NOT NULL,
341   products_price decimal(15,4NOT NULL,
342   final_price decimal(15,4NOT NULL,
343   products_tax decimal(7,4NOT NULL,
344   products_quantity int(2NOT NULL,
345   PRIMARY KEY (orders_products_id)
346 );
347
348 DROP TABLE IF EXISTS osc_orders_status;
349 CREATE TABLE osc_orders_status (
350    orders_status_id int DEFAULT '0' NOT NULL,
351    language_id int DEFAULT '1' NOT NULL,
352    orders_status_name varchar(32NOT NULL,
353    PRIMARY KEY (orders_status_idlanguage_id),
354    KEY idx_orders_status_name (orders_status_name)
355 );
356
357 DROP TABLE IF EXISTS osc_orders_status_history;
358 CREATE TABLE osc_orders_status_history (
359    orders_status_history_id int NOT NULL auto_increment,
360    orders_id int NOT NULL,
361    orders_status_id int(5NOT NULL,
362    date_added datetime NOT NULL,
363    customer_notified int(1DEFAULT '0',
364    comments text,
365    PRIMARY KEY (orders_status_history_id)
366 );
367
368 DROP TABLE IF EXISTS osc_orders_products_attributes;
369 CREATE TABLE osc_orders_products_attributes (
370   orders_products_attributes_id int NOT NULL auto_increment,
371   orders_id int NOT NULL,
372   orders_products_id int NOT NULL,
373   products_options varchar(32NOT NULL,
374   products_options_values varchar(32NOT NULL,
375   options_values_price decimal(15,4NOT NULL,
376   price_prefix char(1NOT NULL,
377   PRIMARY KEY (orders_products_attributes_id)
378 );
379
380 DROP TABLE IF EXISTS osc_orders_products_download;
381 CREATE TABLE osc_orders_products_download (
382   orders_products_download_id int NOT NULL auto_increment,
383   orders_id int NOT NULL default '0',
384   orders_products_id int NOT NULL default '0',
385   orders_products_filename varchar(255NOT NULL default '',
386   download_maxdays int(2NOT NULL default '0',
387   download_count int(2NOT NULL default '0',
388   PRIMARY KEY  (orders_products_download_id)
389 );
390
391 DROP TABLE IF EXISTS osc_orders_total;
392 CREATE TABLE osc_orders_total (
393   orders_total_id int unsigned NOT NULL auto_increment,
394   orders_id int NOT NULL,
395   title varchar(255NOT NULL,
396   text varchar(255NOT NULL,
397   value decimal(15,4NOT NULL,
398   class varchar(32NOT NULL,
399   sort_order int NOT NULL,
400   PRIMARY KEY (orders_total_id),
401   KEY idx_orders_total_orders_id (orders_id)
402 );
403
hpdl
554
404 DROP TABLE IF EXISTS osc_orders_transactions_history;
405 CREATE TABLE osc_orders_transactions_history (
406   id int unsigned not null auto_increment,
407   orders_id int unsigned not null,
408   transaction_code int not null,
409   transaction_return_value text not null,
410   transaction_return_status int not null,
411   date_added datetime,
412   PRIMARY KEY (id),
413   KEY idx_orders_transactions_history_orders_id (orders_id)
414 );
415
416 DROP TABLE IF EXISTS osc_orders_transactions_status;
417 CREATE TABLE osc_orders_transactions_status (
418    id int unsigned NOT NULL,
419    language_id int unsigned NOT NULL,
420    status_name varchar(32NOT NULL,
421    PRIMARY KEY (idlanguage_id),
422    KEY idx_orders_transactions_status_name (status_name)
423 );
424
hpdl
1
425 DROP TABLE IF EXISTS osc_products;
426 CREATE TABLE osc_products (
427   products_id int NOT NULL auto_increment,
428   products_quantity int(4NOT NULL,
429   products_price decimal(15,4NOT NULL,
430   products_date_added datetime NOT NULL,
431   products_last_modified datetime,
432   products_date_available datetime,
433   products_weight decimal(5,2NOT NULL,
434   products_weight_class int NOT NULL,
435   products_status tinyint(1NOT NULL,
436   products_tax_class_id int NOT NULL,
437   manufacturers_id int NULL,
438   products_ordered int NOT NULL default '0',
439   PRIMARY KEY (products_id),
440   KEY idx_products_date_added (products_date_added)
441 );
442
443 DROP TABLE IF EXISTS osc_products_attributes;
444 CREATE TABLE osc_products_attributes (
445   products_attributes_id int NOT NULL auto_increment,
446   products_id int NOT NULL,
447   options_id int NOT NULL,
448   options_values_id int NOT NULL,
449   options_values_price decimal(15,4NOT NULL,
450   price_prefix char(1NOT NULL,
451   PRIMARY KEY (products_attributes_id)
452 );
453
454 DROP TABLE IF EXISTS osc_products_attributes_download;
455 CREATE TABLE osc_products_attributes_download (
456   products_attributes_id int NOT NULL,
457   products_attributes_filename varchar(255NOT NULL default '',
458   products_attributes_maxdays int(2default '0',
459   products_attributes_maxcount int(2default '0',
460   PRIMARY KEY  (products_attributes_id)
461 );
462
463 DROP TABLE IF EXISTS osc_products_description;
464 CREATE TABLE osc_products_description (
465   products_id int NOT NULL auto_increment,
466   language_id int NOT NULL default '1',
467   products_name varchar(64NOT NULL default '',
468   products_description text,
hpdl
366
469   products_model varchar(16),
470   products_keyword varchar(64),
471   products_tags varchar(255),
472   products_url varchar(255),
hpdl
1
473   products_viewed int(5default '0',
474   PRIMARY KEY  (products_id,language_id),
hpdl
366
475   KEY products_name (products_name),
476   KEY products_description_keyword (products_keyword)
hpdl
1
477 );
478
hpdl
608
479 DROP TABLE IF EXISTS osc_products_images;
480 CREATE TABLE osc_products_images (
481   id int NOT NULL auto_increment,
482   products_id int NOT NULL,
483   image varchar(255NOT NULL,
484   default_flag tinyint(1NOT NULL,
485   sort_order int NOT NULL,
486   date_added datetime NOT NULL,
487   PRIMARY KEY (id),
488   KEY products_images_products_id (products_id)
489 );
490
491 DROP TABLE IF EXISTS osc_products_images_groups;
492 CREATE TABLE osc_products_images_groups (
hpdl
971
493   id int NOT NULL,
hpdl
608
494   language_id int NOT NULL,
495   title varchar(255not null,
496   code varchar(32not null,
497   size_width int,
498   size_height int,
499   force_size tinyint(1default 0,
500   PRIMARY KEY (idlanguage_id)
501 );
502
hpdl
1
503 DROP TABLE IF EXISTS osc_products_notifications;
504 CREATE TABLE osc_products_notifications (
505   products_id int NOT NULL,
506   customers_id int NOT NULL,
507   date_added datetime NOT NULL,
508   PRIMARY KEY (products_idcustomers_id)
509 );
510
511 DROP TABLE IF EXISTS osc_products_options;
512 CREATE TABLE osc_products_options (
513   products_options_id int NOT NULL default '0',
514   language_id int NOT NULL default '1',
515   products_options_name varchar(32NOT NULL default '',
516   PRIMARY KEY  (products_options_id,language_id)
517 );
518
519 DROP TABLE IF EXISTS osc_products_options_values;
520 CREATE TABLE osc_products_options_values (
521   products_options_values_id int NOT NULL default '0',
522   language_id int NOT NULL default '1',
523   products_options_values_name varchar(64NOT NULL default '',
524   PRIMARY KEY  (products_options_values_id,language_id)
525 );
526
527 DROP TABLE IF EXISTS osc_products_options_values_to_products_options;
528 CREATE TABLE osc_products_options_values_to_products_options (
529   products_options_values_to_products_options_id int NOT NULL auto_increment,
530   products_options_id int NOT NULL,
531   products_options_values_id int NOT NULL,
532   PRIMARY KEY (products_options_values_to_products_options_id)
533 );
534
535 DROP TABLE IF EXISTS osc_products_to_categories;
536 CREATE TABLE osc_products_to_categories (
537   products_id int NOT NULL,
538   categories_id int NOT NULL,
539   PRIMARY KEY (products_id,categories_id)
540 );
541
542 DROP TABLE IF EXISTS osc_reviews;
543 CREATE TABLE osc_reviews (
544   reviews_id int NOT NULL auto_increment,
545   products_id int NOT NULL,
546   customers_id int,
547   customers_name varchar(64NOT NULL,
548   reviews_rating int(1),
549   languages_id int NOT NULL,
550   reviews_text text NOT NULL,
551   date_added datetime,
552   last_modified datetime,
553   reviews_read int(5NOT NULL default '0',
hpdl
6
554   reviews_status tinyint(1NOT NULL,
hpdl
1
555   PRIMARY KEY (reviews_id)
556 );
557
558 DROP TABLE IF EXISTS osc_sessions;
559 CREATE TABLE osc_sessions (
560   sesskey varchar(32NOT NULL,
561   expiry int(11unsigned NOT NULL,
562   value text NOT NULL,
563   PRIMARY KEY (sesskey)
564 );
565
566 DROP TABLE IF EXISTS osc_specials;
567 CREATE TABLE osc_specials (
568   specials_id int NOT NULL auto_increment,
569   products_id int NOT NULL,
570   specials_new_products_price decimal(15,4NOT NULL,
571   specials_date_added datetime,
572   specials_last_modified datetime,
573   start_date datetime,
574   expires_date datetime,
575   date_status_change datetime,
576   status int(1NOT NULL DEFAULT '1',
577   PRIMARY KEY (specials_id)
578 );
579
580 DROP TABLE IF EXISTS osc_tax_class;
581 CREATE TABLE osc_tax_class (
582   tax_class_id int NOT NULL auto_increment,
583   tax_class_title varchar(32NOT NULL,
584   tax_class_description varchar(255NOT NULL,
585   last_modified datetime NULL,
586   date_added datetime NOT NULL,
587   PRIMARY KEY (tax_class_id)
588 );
589
590 DROP TABLE IF EXISTS osc_tax_rates;
591 CREATE TABLE osc_tax_rates (
592   tax_rates_id int NOT NULL auto_increment,
593   tax_zone_id int NOT NULL,
594   tax_class_id int NOT NULL,
595   tax_priority int(5DEFAULT 1,
596   tax_rate decimal(7,4NOT NULL,
597   tax_description varchar(255NOT NULL,
598   last_modified datetime NULL,
599   date_added datetime NOT NULL,
600   PRIMARY KEY (tax_rates_id)
601 );
602
603 DROP TABLE IF EXISTS osc_geo_zones;
604 CREATE TABLE osc_geo_zones (
605   geo_zone_id int NOT NULL auto_increment,
606   geo_zone_name varchar(32NOT NULL,
607   geo_zone_description varchar(255NOT NULL,
608   last_modified datetime NULL,
609   date_added datetime NOT NULL,
610   PRIMARY KEY (geo_zone_id)
611 );
612
hpdl
366
613 DROP TABLE IF EXISTS osc_templates;
614 CREATE TABLE osc_templates (
615   id int NOT NULL auto_increment,
616   title varchar(64not null,
617   code varchar(32not null,
618   author_name varchar(64not null,
619   author_www varchar(255),
620   markup_version varchar(32),
621   css_based tinyint,
622   medium varchar(32),
623   PRIMARY KEY (id)
624 );
625
626 DROP TABLE IF EXISTS osc_templates_boxes;
627 CREATE TABLE osc_templates_boxes (
628   id int NOT NULL auto_increment,
629   title varchar(64not null,
630   code varchar(32not null,
631   author_name varchar(64not null,
632   author_www varchar(255),
633   modules_group varchar(32not null,
634   PRIMARY KEY (id)
635 );
636
637 DROP TABLE IF EXISTS osc_templates_boxes_to_pages;
638 CREATE TABLE osc_templates_boxes_to_pages (
639   id int NOT NULL auto_increment,
640   templates_boxes_id int not null,
641   templates_id int not null,
642   content_page varchar(255not null,
643   boxes_group varchar(32not null,
644   sort_order int default 0,
645   page_specific int default 0,
646   PRIMARY KEY (id),
647   INDEX (templates_boxes_idtemplates_idcontent_pageboxes_group)
648 );
649
hpdl
1
650 DROP TABLE IF EXISTS osc_weight_classes;
651 CREATE TABLE osc_weight_classes (
652   weight_class_id int NOT NULL default '0',
653   weight_class_key varchar(4NOT NULL default '',
654   language_id int NOT NULL default '0',
655   weight_class_title varchar(32NOT NULL default '',
656   PRIMARY KEY (weight_class_idlanguage_id)
657 );
658
659 DROP TABLE IF EXISTS osc_weight_classes_rules;
660 CREATE TABLE osc_weight_classes_rules (
661   weight_class_from_id int(11NOT NULL default '0',
662   weight_class_to_id int(11NOT NULL default '0',
663   weight_class_rule decimal(15,4NOT NULL default '0.0000'
664 );
665 DROP TABLE IF EXISTS osc_whos_online;
666 CREATE TABLE osc_whos_online (
667   customer_id int,
668   full_name varchar(64NOT NULL,
669   session_id varchar(128NOT NULL,
670   ip_address varchar(15NOT NULL,
671   time_entry varchar(14NOT NULL,
672   time_last_click varchar(14NOT NULL,
673   last_page_url varchar(255NOT NULL
674 );
675
676 DROP TABLE IF EXISTS osc_zones;
677 CREATE TABLE osc_zones (
678   zone_id int NOT NULL auto_increment,
679   zone_country_id int NOT NULL,
680   zone_code varchar(32NOT NULL,
hpdl
758
681   zone_name varchar(64NOT NULL,
hpdl
1
682   PRIMARY KEY (zone_id)
683 );
684
685 DROP TABLE IF EXISTS osc_zones_to_geo_zones;
686 CREATE TABLE osc_zones_to_geo_zones (
687    association_id int NOT NULL auto_increment,
688    zone_country_id int NOT NULL,
689    zone_id int NULL,
690    geo_zone_id int NULL,
691    last_modified datetime NULL,
692    date_added datetime NOT NULL,
693    PRIMARY KEY (association_id)
694 );
695
696 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
697 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
698 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
699 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
700 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
1076
701 INSERT INTO osc_configuration (configuration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderuse_functionset_functiondate_addedVALUES ('Zone''STORE_ZONE''176''The zone my store is located in''1''7''osC_Address::getZoneName''osc_cfg_set_zones_pulldown_menu'now());
hpdl
1
702 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
703 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());
704 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
705 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
706 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
707
708 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());
709 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());
710 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());
711
712 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());
713 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());
714 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());
715
716 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());
717 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());
718 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());
719
720 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());
721 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
722 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
723
hpdl
758
724 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());
725 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());
726 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());
727 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());
728 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());
729 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());
730 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());
731 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());
732 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());
733 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
734 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
735 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());
736 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());
737 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());
738 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());
739 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
740
741 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
742 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
743 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
744 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
745 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
746
hpdl
758
747 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
748 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());
749 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());
750 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());
751 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
752 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
753
754 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());
755 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());
756 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());
757 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());
758 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());
759 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());
760 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());
761 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());
762 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());
763 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());
764
hpdl
758
765 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());
766 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());
767 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
768 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());
769 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());
770
hpdl
758
771 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());
772 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());
773 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());
774 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());
775 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
776
hpdl
758
777 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());
778 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
779 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());
780 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());
781
hpdl
758
782 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());
783 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
784
hpdl
758
785 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());
786 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
787
hpdl
610
788 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''1'now());
789 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''2'now());
hpdl
608
790
hpdl
1
791 INSERT INTO osc_configuration_group VALUES ('1''My Store''General information about my store''1''1');
792 INSERT INTO osc_configuration_group VALUES ('2''Minimum Values''The minimum values for functions / data''2''1');
793 INSERT INTO osc_configuration_group VALUES ('3''Maximum Values''The maximum values for functions / data''3''1');
794 INSERT INTO osc_configuration_group VALUES ('4''Images''Image parameters''4''1');
795 INSERT INTO osc_configuration_group VALUES ('5''Customer Details''Customer account configuration''5''1');
796 INSERT INTO osc_configuration_group VALUES ('6''Module Options''Hidden from configuration''6''0');
797 INSERT INTO osc_configuration_group VALUES ('7''Shipping/Packaging''Shipping options available at my store''7''1');
798 INSERT INTO osc_configuration_group VALUES ('8''Product Listing''Product Listing    configuration options''8''1');
799 INSERT INTO osc_configuration_group VALUES ('9''Stock''Stock configuration options''9''1');
800 INSERT INTO osc_configuration_group VALUES ('12''E-Mail Options''General setting for E-Mail transport and HTML E-Mails''12''1');
801 INSERT INTO osc_configuration_group VALUES ('13''Download''Downloadable products options''13''1');
802 INSERT INTO osc_configuration_group VALUES ('16''Regulations''Regulation options''16''1');
hpdl
554
803 INSERT INTO osc_configuration_group VALUES ('17''Credit Cards''Credit card options''17''1');
hpdl
608
804 INSERT INTO osc_configuration_group VALUES ('18''Program Locations''Locations to certain programs on the server.''18''1');
hpdl
1
805
hpdl
757
806 INSERT INTO osc_countries VALUES (1,'Afghanistan','AF','AFG','');
807 INSERT INTO osc_countries VALUES (2,'Albania','AL','ALB','');
808 INSERT INTO osc_countries VALUES (3,'Algeria','DZ','DZA','');
809 INSERT INTO osc_countries VALUES (4,'American Samoa','AS','ASM','');
810 INSERT INTO osc_countries VALUES (5,'Andorra','AD','AND','');
811 INSERT INTO osc_countries VALUES (6,'Angola','AO','AGO','');
812 INSERT INTO osc_countries VALUES (7,'Anguilla','AI','AIA','');
813 INSERT INTO osc_countries VALUES (8,'Antarctica','AQ','ATA','');
814 INSERT INTO osc_countries VALUES (9,'Antigua and Barbuda','AG','ATG','');
815 INSERT INTO osc_countries VALUES (10,'Argentina','AR','ARG',":name\n:street_address\n:postcode :city\n:country");
816 INSERT INTO osc_countries VALUES (11,'Armenia','AM','ARM','');
817 INSERT INTO osc_countries VALUES (12,'Aruba','AW','ABW','');
818 INSERT INTO osc_countries VALUES (13,'Australia','AU','AUS',":name\n:street_address\n:suburb :state_code :postcode\n:country");
819 INSERT INTO osc_countries VALUES (14,'Austria','AT','AUT',":name\n:street_address\nA-:postcode :city\n:country");
820 INSERT INTO osc_countries VALUES (15,'Azerbaijan','AZ','AZE','');
821 INSERT INTO osc_countries VALUES (16,'Bahamas','BS','BHS','');
822 INSERT INTO osc_countries VALUES (17,'Bahrain','BH','BHR','');
823 INSERT INTO osc_countries VALUES (18,'Bangladesh','BD','BGD','');
824 INSERT INTO osc_countries VALUES (19,'Barbados','BB','BRB','');
825 INSERT INTO osc_countries VALUES (20,'Belarus','BY','BLR','');
826 INSERT INTO osc_countries VALUES (21,'Belgium','BE','BEL',":name\n:street_address\nB-:postcode :city\n:country");
827 INSERT INTO osc_countries VALUES (22,'Belize','BZ','BLZ','');
828 INSERT INTO osc_countries VALUES (23,'Benin','BJ','BEN','');
829 INSERT INTO osc_countries VALUES (24,'Bermuda','BM','BMU','');
830 INSERT INTO osc_countries VALUES (25,'Bhutan','BT','BTN','');
831 INSERT INTO osc_countries VALUES (26,'Bolivia','BO','BOL','');
832 INSERT INTO osc_countries VALUES (27,'Bosnia and Herzegowina','BA','BIH','');
833 INSERT INTO osc_countries VALUES (28,'Botswana','BW','BWA','');
834 INSERT INTO osc_countries VALUES (29,'Bouvet Island','BV','BVT','');
835 INSERT INTO osc_countries VALUES (30,'Brazil','BR','BRA',":name\n:street_address\n:state\n:postcode\n:country");
836 INSERT INTO osc_countries VALUES (31,'British Indian Ocean Territory','IO','IOT','');
837 INSERT INTO osc_countries VALUES (32,'Brunei Darussalam','BN','BRN','');
838 INSERT INTO osc_countries VALUES (33,'Bulgaria','BG','BGR','');
839 INSERT INTO osc_countries VALUES (34,'Burkina Faso','BF','BFA','');
840 INSERT INTO osc_countries VALUES (35,'Burundi','BI','BDI','');
841 INSERT INTO osc_countries VALUES (36,'Cambodia','KH','KHM','');
842 INSERT INTO osc_countries VALUES (37,'Cameroon','CM','CMR','');
843 INSERT INTO osc_countries VALUES (38,'Canada','CA','CAN',":name\n:street_address\n:city :state_code :postcode\n:country");
844 INSERT INTO osc_countries VALUES (39,'Cape Verde','CV','CPV','');
845 INSERT INTO osc_countries VALUES (40,'Cayman Islands','KY','CYM','');
846 INSERT INTO osc_countries VALUES (41,'Central African Republic','CF','CAF','');
847 INSERT INTO osc_countries VALUES (42,'Chad','TD','TCD','');
hpdl
763
848 INSERT INTO osc_countries VALUES (43,'Chile','CL','CHL',":name\n:street_address\n:city\n:country");
hpdl
757
849 INSERT INTO osc_countries VALUES (44,'China','CN','CHN',":name\n:street_address\n:postcode :city\n:country");
850 INSERT INTO osc_countries VALUES (45,'Christmas Island','CX','CXR','');
851 INSERT INTO osc_countries VALUES (46,'Cocos (Keeling) Islands','CC','CCK','');
852 INSERT INTO osc_countries VALUES (47,'Colombia','CO','COL','');
853 INSERT INTO osc_countries VALUES (48,'Comoros','KM','COM','');
854 INSERT INTO osc_countries VALUES (49,'Congo','CG','COG','');
855 INSERT INTO osc_countries VALUES (50,'Cook Islands','CK','COK','');
856 INSERT INTO osc_countries VALUES (51,'Costa Rica','CR','CRI','');
857 INSERT INTO osc_countries VALUES (52,'Cote D\'Ivoire','CI','CIV','');
858 INSERT INTO osc_countries VALUES (53,'Croatia','HR','HRV','');
859