Quick Search:

View

Revision:

Diff

Diff from 757 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/osCommerce/branches/frank/osc-tickets/install/oscommerce.sql

Annotated File View

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