####################################################################
#
# Squirrelcart v2.1.3 Database Install File
# (c) Lighthouse Development
#
# Release date: January 09, 2006 15:32
#
####################################################################
CREATE TABLE `DB_History` (
`record_number` int(11) unsigned NOT NULL auto_increment,
`Name` varchar(50) NOT NULL default '',
`Description` text NOT NULL,
`Release_Date` datetime NOT NULL default '0000-00-00 00:00:00',
`Import_Date` datetime NOT NULL default '0000-00-00 00:00:00',
`Status` varchar(10) NOT NULL default '',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=2 ;
INSERT INTO DB_History VALUES (
''
,'v2.1.3 initial install'
,'Initial database structure and records for a new installation of Squirrelcart v2.1.3.'
,'2006-01-09 15:32:00' # this is the release date
,NOW()
,'Incomplete'
);
-- --------------------------------------------------------
--
-- Table structure for table `Address_Form_Settings`
--
CREATE TABLE `Address_Form_Settings` (
`record_number` int(11) NOT NULL auto_increment,
`Billing_Fields` text NOT NULL,
`Required_Billing_Fields` text NOT NULL,
`Shipping_Fields` text NOT NULL,
`Required_Shipping_Fields` text NOT NULL,
`Default_for_Address_Is` tinyint(4) NOT NULL default '0',
`Account_Fields` text NOT NULL,
`Required_Account_Fields` text NOT NULL,
`Countries` text NOT NULL,
`First_Country` int(11) NOT NULL default '0',
`Default_Country` int(11) NOT NULL default '0',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=2 ;
--
-- Dumping data for table `Address_Form_Settings`
--
INSERT INTO `Address_Form_Settings` VALUES (1, 'First_Name^^Last_Name^^Company^^Street^^Street_2^^City^^State_or_Province^^State_Other^^Postal_Code^^Country^^Email_Address^^Email_Preference^^Phone^^Fax', 'First_Name^^Last_Name^^Street^^City^^State_or_Province^^Postal_Code^^Country^^Email_Address^^Email_Preference', 'First_Name^^Last_Name^^Company^^Street^^Street_2^^City^^State_or_Province^^State_Other^^Postal_Code^^Country^^Email_Address^^Phone^^Fax^^Address_Is^^Special_Instructions', 'First_Name^^Last_Name^^Street^^City^^State_or_Province^^Postal_Code^^Country', 1, 'First_Name^^Last_Name^^Company^^Street^^Street_2^^City^^State_or_Province^^State_Other^^Postal_Code^^Country^^Email_Address^^Email_Preference^^Phone^^Fax^^Username^^Password', 'First_Name^^Last_Name^^Street^^City^^State_or_Province^^Postal_Code^^Email_Address^^Username^^Password', '180', 180, 180);
-- --------------------------------------------------------
--
-- Table structure for table `Cart_Images`
--
CREATE TABLE `Cart_Images` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(255) NOT NULL default '',
`Image` varchar(255) NOT NULL default '',
`Description` varchar(255) NOT NULL default '',
`Alt` text NOT NULL,
`Class` int(3) NOT NULL default '0',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM PACK_KEYS=0 AUTO_INCREMENT=157 ;
--
-- Dumping data for table `Cart_Images`
--
INSERT INTO `Cart_Images` VALUES (6, 'delete', 'squirrelcart/images/cart/delete.gif', 'delete option image', 'delete', 0);
INSERT INTO `Cart_Images` VALUES (24, 'Squirrelcart Logo', 'squirrelcart/images/cart/sc_logo_tiny.gif', 'squirrelcart logo', 'Squirrelcart - your complete PHP/MySQL e-commerce solution', 0);
INSERT INTO `Cart_Images` VALUES (74, 'Squirrelcart Slogan', 'squirrelcart/images/cart/squirrelcart_slogan.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (75, 'new_record', 'squirrelcart/images/cart/new_record.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (153, 'db_backup', 'squirrelcart/images/cart/create_db_backup.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (82, 'calc_bg', 'squirrelcart/images/cart/calc_bg.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (66, 'edit record', 'squirrelcart/images/cart/pen_blue.gif', '', 'Edit', 0);
INSERT INTO `Cart_Images` VALUES (67, 'copy record', 'squirrelcart/images/cart/copy.gif', '', 'Copy', 0);
INSERT INTO `Cart_Images` VALUES (85, 'PayPal Button', 'squirrelcart/images/cart/x-click-but6.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (86, 'checked', 'squirrelcart/images/cart/checked.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (87, 'unchecked', 'squirrelcart/images/cart/unchecked.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (89, 'small_checked_box', 'squirrelcart/images/cart/small_checked_box.gif', '', 'Check All', 0);
INSERT INTO `Cart_Images` VALUES (90, 'small_unchecked_box', 'squirrelcart/images/cart/small_unchecked_box.gif', '', 'Uncheck All', 0);
INSERT INTO `Cart_Images` VALUES (91, 'ups_logo', 'squirrelcart/images/cart/ups_logo.gif', 'logo for use in UPS OnLine Tools', 'UPS', 0);
INSERT INTO `Cart_Images` VALUES (92, 'wait_dots', 'squirrelcart/images/cart/wait_dots.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (93, 'powered by sc 1', 'squirrelcart/images/cart/powered_by_sc_1.gif', '', 'Powered by Squirrelcart', 0);
INSERT INTO `Cart_Images` VALUES (94, 'powered by sc 2', 'squirrelcart/images/cart/powered_by_sc_2.gif', '', 'Powered by Squirrelcart', 0);
INSERT INTO `Cart_Images` VALUES (95, 'powered by sc 3', 'squirrelcart/images/cart/powered_by_sc_3.gif', '', 'Powered by Squirrels!', 0);
INSERT INTO `Cart_Images` VALUES (96, 'eraser', 'squirrelcart/images/cart/eraser.gif', '', 'click here to clear field', 0);
INSERT INTO `Cart_Images` VALUES (97, 'Open Folder', 'squirrelcart/images/cart/open_folder.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (105, 'link', 'squirrelcart/images/cart/link.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (106, 'download', 'squirrelcart/images/cart/download.gif', '', 'download', 0);
INSERT INTO `Cart_Images` VALUES (107, 'db import', 'squirrelcart/images/cart/database_import.gif', '', 'import database backup file', 0);
INSERT INTO `Cart_Images` VALUES (108, 'calendar', 'squirrelcart/images/cart/calendar.gif', 'default description', '', 0);
INSERT INTO `Cart_Images` VALUES (109, 'calendar_mo', 'squirrelcart/images/cart/calendar_mo.gif', 'default description', '', 0);
INSERT INTO `Cart_Images` VALUES (110, 'balloon tip', 'squirrelcart/images/cart/balloon_tip.gif', 'default description', '', 0);
INSERT INTO `Cart_Images` VALUES (111, 'powered by sc 5', 'squirrelcart/images/cart/powered_by_sc_5.gif', '', 'Powered by Squirrelcart PHP Shopping Cart Software', 0);
INSERT INTO `Cart_Images` VALUES (112, 'powered by sc 6', 'squirrelcart/images/cart/powered_by_sc_6.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (113, 'Help', 'squirrelcart/images/cart/help.gif', 'help icon', '', 0);
INSERT INTO `Cart_Images` VALUES (114, 'Sort ASC', 'squirrelcart/images/cart/sort_asc_arrow.gif', '', 'sorted asc', 0);
INSERT INTO `Cart_Images` VALUES (115, 'Sort DESC', 'squirrelcart/images/cart/sort_desc_arrow.gif', '', 'sorted desc', 0);
INSERT INTO `Cart_Images` VALUES (116, 'table header bg', 'squirrelcart/images/cart/table_header_bg.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (117, 'save icon', 'squirrelcart/images/cart/save_icon.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (118, 'add icon', 'squirrelcart/images/cart/pluse_sign.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (119, 'image icon', 'squirrelcart/images/cart/image_icon.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (120, 'image x icon', 'squirrelcart/images/cart/image_x_icon.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (121, 'History', 'squirrelcart/images/cart/history1.gif', '', 'History', 0);
INSERT INTO `Cart_Images` VALUES (122, 'funnel', 'squirrelcart/images/cart/funnel.gif', '', 'Filter', 0);
INSERT INTO `Cart_Images` VALUES (123, 'search', 'squirrelcart/images/cart/search.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (124, 'small down arrow', 'squirrelcart/images/cart/small_down_arrow.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (125, 'tiny check', 'squirrelcart/images/cart/tiny_check.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (127, 'horizontal separator', 'squirrelcart/images/cart/horiz_separator.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (128, 'close x', 'squirrelcart/images/cart/close_x.gif', '', 'close', 0);
INSERT INTO `Cart_Images` VALUES (129, 'funnel check', 'squirrelcart/images/cart/funnel_check.gif', '', 'filter options', 0);
INSERT INTO `Cart_Images` VALUES (130, 'funnel x', 'squirrelcart/images/cart/funnel_off.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (131, 'equal', 'squirrelcart/images/cart/equal.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (132, 'not equal', 'squirrelcart/images/cart/not_equal.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (133, 'greater than', 'squirrelcart/images/cart/greater_than.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (134, 'less than', 'squirrelcart/images/cart/less_than.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (135, 'greater than or equal to', 'squirrelcart/images/cart/greater_than_equal_to.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (136, 'less than or equal to', 'squirrelcart/images/cart/less_than_equal_to.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (137, 'back arrow', 'squirrelcart/images/cart/back_arrow.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (138, 'cancel', 'squirrelcart/images/cart/cancel.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (139, 'warning', 'squirrelcart/images/cart/warning.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (140, 'upload', 'squirrelcart/images/cart/green_up_arrow.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (141, 'mysql query', 'squirrelcart/images/cart/mysql_query.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (142, 'product options', 'squirrelcart/images/cart/prod_options.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (143, 'plus', 'squirrelcart/images/cart/plus.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (144, 'minus', 'squirrelcart/images/cart/minus.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (145, 'move up', 'squirrelcart/images/cart/move_up.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (146, 'move down', 'squirrelcart/images/cart/move_down.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (147, 'bomb', 'squirrelcart/images/cart/bomb.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (148, 'ok', 'squirrelcart/images/cart/ok.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (149, 'add_shipment', 'squirrelcart/images/cart/add_shipment.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (150, 'folder open', 'squirrelcart/images/cart/folder_open.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (151, 'folder closed', 'squirrelcart/images/cart/folder_closed.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (152, 'zoom', 'squirrelcart/images/cart/zoom_in.gif', '', '', 0);
INSERT INTO `Cart_Images` VALUES (154, 'information', 'squirrelcart/images/cart/info_big.gif', '', 'info', 0);
INSERT INTO `Cart_Images` VALUES (155, 'error', 'squirrelcart/images/cart/error.gif', '', 'error', 0);
INSERT INTO `Cart_Images` VALUES (156, 'close x tiny', 'squirrelcart/images/cart/close_x_tiny.gif', '', 'close', 0);
-- --------------------------------------------------------
--
-- Table structure for table `Categories`
--
CREATE TABLE `Categories` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(100) NOT NULL default '',
`Display_Name` varchar(100) NOT NULL default '',
`Do_not_display` tinyint(4) NOT NULL default '0',
`Tax_Items` varchar(25) NOT NULL default 'yes',
`VAT_Rate` tinyint(1) NOT NULL default '0',
`Position` varchar(100) NOT NULL default '',
`Display_In_Navigation` tinyint(1) NOT NULL default '1',
`Display_In_Content` tinyint(1) NOT NULL default '1',
`Description` text NOT NULL,
`Brief_Description` text NOT NULL,
`Page_Title_Choice` tinyint(4) NOT NULL default '0',
`Page_Title` varchar(255) NOT NULL default '',
`Meta_Keywords` text NOT NULL,
`Additional_Text` blob NOT NULL,
`Sort_Index` int(11) NOT NULL default '0',
`Show_Category_Detail` varchar(25) NOT NULL default '0',
`Order_Products_By` varchar(30) NOT NULL default '',
`Order_Products_How` varchar(15) NOT NULL default '',
`Show_Products_When` tinyint(4) NOT NULL default '0',
`View_Show_Products_As` tinyint(4) NOT NULL default '0',
`View_Display_Mode` tinyint(4) NOT NULL default '0',
`View_Products_per_Row` char(3) NOT NULL default '',
`View_Products_per_View` char(3) NOT NULL default '',
`View_Randomize_Products` tinyint(4) NOT NULL default '0',
`Show_Products_As` tinyint(4) NOT NULL default '0',
`Products_per_Row` varchar(4) NOT NULL default '0',
`Products_per_Page` varchar(4) NOT NULL default 'DEFA',
`Parent_Category` int(11) NOT NULL default '0',
`Image_of_Name` varchar(255) NOT NULL default '',
`Image` text NOT NULL,
`Thumbnail_Image` text NOT NULL,
`Discounts` int(11) NOT NULL default '0',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=199 ;
--
-- Dumping data for table `Categories`
--
INSERT INTO `Categories` VALUES (197, 'Televisions', '', 0, 'yes', 0, 'null', 1, 1, '', '', 1, '', '', '', 0, 'when clicked^^when viewed', 'Store Default', '', 1, 1, 1, '', '', 1, 1, '0', 'DEFA', 0, '', '', '', 0);
INSERT INTO `Categories` VALUES (50, 'Speakers', '', 0, 'yes', 0, 'null', 1, 1, 'Speakers off all shapes and sizes.', '', 1, '', '', '', 0, 'when clicked^^when viewed', 'Store Default', 'Store Default', 2, 1, 1, '3', '3', 0, 1, '2', '6', 43, '', '', '', 35);
INSERT INTO `Categories` VALUES (174, 'DVD Players & Recorders', '', 0, 'yes', 0, 'null', 1, 1, 'State of the art DVD players to take advantage of the latest video technology.', '', 1, '', '', '', 0, 'when clicked^^when viewed', 'Store Default', 'Store Default', 1, 1, 1, '', '', 0, 1, '0', '', 44, '', '', '', 0);
INSERT INTO `Categories` VALUES (43, 'Home Audio', '', 0, 'yes', 0, 'null', 1, 1, '', '', 1, '', '', '', 0, 'when clicked^^when viewed', 'Store Default', 'Store Default', 1, 1, 1, '', '', 0, 1, '2', '2', 0, 'categories/43_image_of_name.gif', 'categories/43_image.jpg', '', 0);
INSERT INTO `Categories` VALUES (1, 'New Products', '', 0, 'yes', 0, 'first category', 1, 0, 'These products are the latest addition to our store.', '', 1, '', '', '', 0, 'when clicked^^when viewed', 'Base_Price', 'Descending', 1, 1, 1, '', '', 0, 1, '0', '', 0, 'categories/1_image_of_name.gif', '', '', 0);
INSERT INTO `Categories` VALUES (59, 'Video Cameras', '', 0, 'yes', 0, 'null', 1, 1, 'Video cameras for both home and professional use.', '', 1, '', '', '', 0, 'when clicked^^when viewed', 'Store Default', 'Store Default', 1, 1, 1, '', '', 0, 1, '', '', 44, '', '', '', 0);
INSERT INTO `Categories` VALUES (49, 'Components', '', 0, 'yes', 0, 'null', 1, 1, 'Audio components to mix and match for the perfect sound.\r\n', '', 2, '', '', '', 0, 'when clicked^^when viewed', 'Base_Price', 'Descending', 1, 1, 1, '2', '3', 1, 1, '', '', 43, '', '', '', 0);
INSERT INTO `Categories` VALUES (44, 'Video', '', 0, 'yes', 1, 'null', 1, 1, 'State of the art video equipment to build your dream home theater system.', '', 1, '', '', '', 0, 'when clicked^^when viewed', 'Store Default', 'Store Default', 1, 1, 1, '2', '2', 0, 1, '', '', 0, 'categories/44_image_of_name.gif', 'categories/44_image.jpg', '', 0);
INSERT INTO `Categories` VALUES (181, 'Digital Cameras', '', 0, 'yes', 0, 'null', 1, 1, '', '', 1, '', '', '', 0, 'when clicked^^when viewed', 'Store Default', '', 1, 1, 1, '', '', 1, 1, '0', 'DEFA', 0, '', '', '', 0);
INSERT INTO `Categories` VALUES (180, ' Feature Examples', 'Feature Examples', 0, 'yes', 0, 'null', 1, 1, 'The items within this category will demonstrate some of Squirrelcart''s functionality. ', '', 1, '', '', '', 99, 'when clicked^^when viewed', 'Store Default', 'Store Default', 1, 1, 1, '', '', 1, 1, '2', '9', 0, 'categories/180_image_of_name.gif', 'categories/180_image.jpg', '', 0);
INSERT INTO `Categories` VALUES (188, 'Computers', '', 0, 'yes', 0, 'null', 1, 1, '', '', 1, '', '', '', 0, 'when clicked^^when viewed', 'Store Default', '', 1, 1, 1, '', '', 1, 1, '0', 'DEFA', 0, 'categories/188_image_of_name.gif', 'categories/188_image.gif', '', 0);
INSERT INTO `Categories` VALUES (189, 'Desktops', '', 0, 'yes', 0, 'null', 1, 1, '', '', 1, '', '', '', 0, 'when clicked^^when viewed', 'Store Default', '', 1, 1, 1, '', '', 1, 1, '0', 'DEFA', 0, '', '', '', 0);
INSERT INTO `Categories` VALUES (187, 'Digital Video Recorders', '', 0, 'yes', 0, 'null', 1, 1, '', '', 1, '', '', '', 0, 'when clicked^^when viewed', 'Store Default', '', 1, 1, 1, '', '', 1, 1, '0', 'DEFA', 0, '', '', '', 0);
INSERT INTO `Categories` VALUES (190, 'Laptops', '', 0, 'yes', 0, 'null', 1, 1, '', '', 1, '', '', '', 0, 'when clicked^^when viewed', 'Store Default', '', 1, 1, 1, '', '', 1, 1, '0', 'DEFA', 0, '', '', '', 0);
-- --------------------------------------------------------
--
-- Table structure for table `Choices`
--
CREATE TABLE `Choices` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(45) NOT NULL default '',
`Default_Price` decimal(10,2) NOT NULL default '0.00',
`Default_Price_Operator` varchar(5) NOT NULL default '0',
`Default_Weight` decimal(10,2) NOT NULL default '0.00',
`Default_Weight_Operator` varchar(5) NOT NULL default '0',
`Description` text NOT NULL,
`Image` varchar(255) NOT NULL default '',
`Large_Image` varchar(255) NOT NULL default '',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=119 ;
--
-- Dumping data for table `Choices`
--
INSERT INTO `Choices` VALUES (1, 'Balloons', 1.50, 'plus', 20.00, 'plus', '', 'option_choices/1_image.jpg', '');
INSERT INTO `Choices` VALUES (107, 'No Thanks', 0.00, 'plus', 0.00, 'plus', '', '', '');
INSERT INTO `Choices` VALUES (3, 'Birthday #02', 1.50, 'plus', 5.00, 'plus', '', 'option_choices/3_image.jpg', '');
INSERT INTO `Choices` VALUES (4, 'Swirls', 1.50, 'plus', 0.00, 'plus', '', 'option_choices/4_image.jpg', '');
INSERT INTO `Choices` VALUES (110, 'ASP Tires', 185.00, 'plus', 0.00, 'plus', 'P225/40ZR18 front and P255/35ZR19 Rear All Season Performance tires', '', '');
INSERT INTO `Choices` VALUES (111, 'Alpine IVA-D310', 1499.99, 'plus', 0.00, 'plus', 'Alpine IVA-D310 7" Wide DVD/MP3 Receiver \r\n \r\nFully-motorized 7" LCD monitor \r\n ? PulseTouch? display \r\n ? DVD/CD playback \r\n ? MP3 & CD-R/RW compatible \r\n ? 18 watts RMS x 4 \r\n ? Bass Engine Plus \r\n ? A/V inputs \r\n ? A/V outputs \r\n ? XM and SIRIUS Satellite Radio controls \r\n ? changer control \r\n ? Alpine iPod? control adapter compatibility\r\n', 'option_choices/111_image.jpg', '');
INSERT INTO `Choices` VALUES (109, 'Performance Tires (standard)', 0.00, 'plus', 0.00, 'plus', 'P225/40ZR18 front and P255/35ZR19 Rear All Season Performance tires', '', '');
INSERT INTO `Choices` VALUES (15, 'Christmas', 1.50, 'plus', 0.00, 'plus', '', 'option_choices/15_image.jpg', '');
INSERT INTO `Choices` VALUES (17, 'Birthday #01', 1.50, 'plus', 0.00, 'plus', '', 'option_choices/17_image.jpg', '');
INSERT INTO `Choices` VALUES (19, 'Map', 2.25, 'plus', 0.00, 'plus', '', 'option_choices/19_image.jpg', '');
INSERT INTO `Choices` VALUES (108, 'Yes', 9.95, 'plus', 0.00, 'plus', '', 'option_choices/108_image.jpg', '');
INSERT INTO `Choices` VALUES (22, 'Smilies', 1.50, 'plus', 0.00, 'plus', '', 'option_choices/22_image.jpg', '');
INSERT INTO `Choices` VALUES (24, 'Squares', 1.50, 'plus', 0.00, 'plus', '', 'option_choices/24_image.jpg', '');
INSERT INTO `Choices` VALUES (90, 'New', 0.00, 'plus', 0.00, 'plus', '', '', '');
INSERT INTO `Choices` VALUES (91, 'Refurbished', 0.00, 'plus', 0.00, 'plus', '', 'option_choices/5_blades.jpg', '');
INSERT INTO `Choices` VALUES (100, '40 Hour', 99.00, 'plus', 0.00, 'plus', '', '', '');
INSERT INTO `Choices` VALUES (101, '80 Hour', 199.00, 'plus', 0.00, 'plus', '', '', '');
INSERT INTO `Choices` VALUES (102, '140 Hour', 249.00, 'plus', 0.00, 'plus', '', '', '');
INSERT INTO `Choices` VALUES (103, 'Large', 0.00, 'plus', 0.00, 'plus', '', '', '');
INSERT INTO `Choices` VALUES (104, 'Medium', 0.00, 'plus', 0.00, 'plus', '', '', '');
INSERT INTO `Choices` VALUES (105, 'Small', 0.00, 'plus', 0.00, 'plus', '', '', '');
INSERT INTO `Choices` VALUES (106, 'Extra Large', 0.00, 'plus', 0.00, 'plus', '', '', '');
INSERT INTO `Choices` VALUES (112, 'Alpine DVA-9860 (standard)', 0.00, 'plus', 0.00, 'plus', 'Alpine DVA-9860 AM/FM/CD/DVD/MP3 Player New! \r\n DVD/CD player \r\n ? MP3/WMA playback \r\n ? video output \r\n ? Bass Engine ? BBE sound processing ? three sets of preamp outputs ? 16 watts RMS x 4 ? remote\r\n', 'option_choices/112_image.jpg', '');
INSERT INTO `Choices` VALUES (113, 'JVC KD-DV5100', 249.00, 'minus', 0.00, 'plus', 'DVD/MP3/CD Receiver Featured Product \r\n Coupon for FREE Blockbuster membership and rentals\r\nDVD/CD player \r\n
? MP3/WMA playback ? auxiliary input ? audio/video outputs ? Custom EQ ? one set of preamp outputs ? 20 watts RMS x 4 ? remote\r\n', 'option_choices/113_image.jpg', '');
INSERT INTO `Choices` VALUES (114, 'Colorful', 1.75, 'plus', 0.00, 'plus', '', 'option_choices/23_image.jpg', '');
INSERT INTO `Choices` VALUES (115, '20GB', 299.00, 'plus', 0.00, 'plus', '', '', '');
INSERT INTO `Choices` VALUES (116, '30GB', 299.00, 'plus', 0.00, 'plus', '', '', '');
INSERT INTO `Choices` VALUES (117, '60GB', 399.00, 'plus', 0.00, 'plus', '', '', '');
INSERT INTO `Choices` VALUES (118, 'test', 0.00, 'plus', 0.00, 'plus', 'blah', '', '');
-- --------------------------------------------------------
--
-- Table structure for table `Choices_Custom`
--
CREATE TABLE `Choices_Custom` (
`record_number` int(11) unsigned NOT NULL auto_increment,
`REL_rn` int(11) unsigned NOT NULL default '0',
`Source_Table` varchar(10) NOT NULL default '',
`Choices_rn` int(11) unsigned NOT NULL default '0',
`Price` decimal(10,2) NOT NULL default '0.00',
`Price_Operator` varchar(5) NOT NULL default '0',
`Weight` decimal(10,2) NOT NULL default '0.00',
`Weight_Operator` varchar(5) NOT NULL default '0',
`Position` tinyint(3) unsigned NOT NULL default '0',
`Stock` int(11) unsigned NOT NULL default '0',
PRIMARY KEY (`record_number`),
KEY `REL_rn` (`REL_rn`),
KEY `Choices_rn` (`Choices_rn`)
) TYPE=MyISAM AUTO_INCREMENT=454 ;
--
-- Dumping data for table `Choices_Custom`
--
INSERT INTO `Choices_Custom` VALUES (128, 4, 'Products', 4, 0.00, 'plus', 120.00, 'minus', 1, 0);
INSERT INTO `Choices_Custom` VALUES (127, 4, 'Products', 1, 10.00, 'plus', 20.00, 'plus', 0, 0);
INSERT INTO `Choices_Custom` VALUES (126, 3, 'Products', 8, 12.50, 'minus', 13.75, 'plus', 0, 12);
INSERT INTO `Choices_Custom` VALUES (129, 4, 'Products', 2, 0.00, 'plus', 0.00, 'plus', 2, 0);
INSERT INTO `Choices_Custom` VALUES (258, 323, 'Products', 23, 0.00, 'plus', 0.00, 'plus', 4, 222);
INSERT INTO `Choices_Custom` VALUES (259, 323, 'Products', 21, 0.00, 'plus', 0.00, 'plus', 5, 0);
INSERT INTO `Choices_Custom` VALUES (257, 323, 'Products', 22, 15.00, 'plus', 2.00, 'plus', 3, 13);
INSERT INTO `Choices_Custom` VALUES (255, 323, 'Products', 19, 0.00, 'plus', 1.00, 'plus', 1, 5000);
INSERT INTO `Choices_Custom` VALUES (256, 323, 'Products', 24, 0.00, 'plus', 0.00, 'plus', 2, 5);
INSERT INTO `Choices_Custom` VALUES (254, 323, 'Products', 20, 300.00, 'plus', 0.50, 'minus', 0, 123456789);
INSERT INTO `Choices_Custom` VALUES (260, 324, 'Products', 3, 30.00, 'plus', 255.00, 'plus', 0, 0);
INSERT INTO `Choices_Custom` VALUES (261, 324, 'Products', 4, 0.00, 'plus', 0.00, 'plus', 1, 0);
INSERT INTO `Choices_Custom` VALUES (262, 326, 'Products', 9, 4.50, 'plus', 123.45, 'plus', 0, 26);
INSERT INTO `Choices_Custom` VALUES (336, 410, 'Products', 9, 0.00, 'plus', 0.00, 'plus', 4, 9);
INSERT INTO `Choices_Custom` VALUES (334, 410, 'Products', 11, 0.00, 'plus', 0.00, 'plus', 2, 4);
INSERT INTO `Choices_Custom` VALUES (335, 410, 'Products', 10, 0.00, 'plus', 0.00, 'plus', 3, 6);
INSERT INTO `Choices_Custom` VALUES (333, 410, 'Products', 23, 1.75, 'plus', 0.00, 'plus', 1, 0);
INSERT INTO `Choices_Custom` VALUES (332, 410, 'Products', 8, 0.00, 'plus', 0.00, 'plus', 0, 0);
INSERT INTO `Choices_Custom` VALUES (393, 443, 'Products', 9, 10.00, 'plus', 0.00, 'plus', 3, 0);
INSERT INTO `Choices_Custom` VALUES (392, 443, 'Products', 10, 10.00, 'plus', 0.00, 'plus', 2, 0);
INSERT INTO `Choices_Custom` VALUES (391, 443, 'Products', 23, 1.75, 'plus', 0.00, 'plus', 1, 0);
INSERT INTO `Choices_Custom` VALUES (390, 443, 'Products', 8, 10.00, 'plus', 0.00, 'plus', 0, 0);
INSERT INTO `Choices_Custom` VALUES (435, 456, 'Products', 10, 0.00, 'plus', 0.00, 'plus', 3, 0);
INSERT INTO `Choices_Custom` VALUES (434, 456, 'Products', 9, 0.00, 'plus', 0.00, 'plus', 2, 0);
INSERT INTO `Choices_Custom` VALUES (433, 456, 'Products', 8, 0.00, 'plus', 0.00, 'plus', 1, 0);
INSERT INTO `Choices_Custom` VALUES (432, 456, 'Products', 23, 1.75, 'plus', 10.00, 'plus', 0, 0);
INSERT INTO `Choices_Custom` VALUES (443, 518, 'Products', 91, 0.00, 'plus', 0.00, 'plus', 1, 0);
INSERT INTO `Choices_Custom` VALUES (442, 518, 'Products', 90, 0.00, 'plus', 0.00, 'plus', 0, 0);
INSERT INTO `Choices_Custom` VALUES (453, 530, 'Products', 91, 65.99, 'plus', 65.99, 'plus', 1, 0);
INSERT INTO `Choices_Custom` VALUES (452, 530, 'Products', 90, 79.99, 'plus', 79.99, 'plus', 0, 0);
INSERT INTO `Choices_Custom` VALUES (398, 446, 'Products', 98, 0.99, 'plus', 0.99, 'plus', 0, 0);
INSERT INTO `Choices_Custom` VALUES (399, 446, 'Products', 99, 15.99, 'plus', 15.99, 'plus', 0, 0);
INSERT INTO `Choices_Custom` VALUES (451, 522, 'Products', 91, 7.00, 'plus', 0.00, 'plus', 1, 0);
INSERT INTO `Choices_Custom` VALUES (450, 522, 'Products', 90, 10.00, 'plus', 0.00, 'plus', 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `Countries`
--
CREATE TABLE `Countries` (
`record_number` int(11) NOT NULL auto_increment,
`Name` char(255) NOT NULL default '',
`Alpha_2` char(2) NOT NULL default '',
`Alpha_3` char(3) NOT NULL default '',
`Numeric_Code` int(3) NOT NULL default '0',
`UPS_Online_Tools_Support` tinyint(4) NOT NULL default '0',
`EU_Member` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=242 ;
--
-- Dumping data for table `Countries`
--
INSERT INTO `Countries` VALUES (2, 'Afghanistan', 'AF', 'AFG', 4, 0, 0);
INSERT INTO `Countries` VALUES (3, 'Albania', 'AL', 'ALB', 8, 0, 0);
INSERT INTO `Countries` VALUES (4, 'Algeria', 'DZ', 'DZA', 12, 0, 0);
INSERT INTO `Countries` VALUES (5, 'Andorra', 'AD', 'AND', 20, 0, 0);
INSERT INTO `Countries` VALUES (6, 'Angola', 'AO', 'AGO', 24, 0, 0);
INSERT INTO `Countries` VALUES (7, 'Antigua And Barbuda', 'AG', 'ATG', 28, 0, 0);
INSERT INTO `Countries` VALUES (8, 'Argentina', 'AR', 'ARG', 32, 1, 0);
INSERT INTO `Countries` VALUES (9, 'Armenia', 'AM', 'ARM', 51, 0, 0);
INSERT INTO `Countries` VALUES (10, 'Australia', 'AU', 'AUS', 36, 1, 0);
INSERT INTO `Countries` VALUES (11, 'Austria', 'AT', 'AUT', 40, 1, 1);
INSERT INTO `Countries` VALUES (12, 'Azerbaijan', 'AZ', 'AZE', 31, 0, 0);
INSERT INTO `Countries` VALUES (13, 'Bahamas', 'BS', 'BHS', 44, 0, 0);
INSERT INTO `Countries` VALUES (14, 'Bahrain', 'BH', 'BHR', 48, 0, 0);
INSERT INTO `Countries` VALUES (15, 'Bangladesh', 'BD', 'BGD', 50, 0, 0);
INSERT INTO `Countries` VALUES (16, 'Barbados', 'BB', 'BRB', 52, 0, 0);
INSERT INTO `Countries` VALUES (17, 'Belarus', 'BY', 'BLR', 112, 0, 0);
INSERT INTO `Countries` VALUES (18, 'Belgium', 'BE', 'BEL', 56, 1, 1);
INSERT INTO `Countries` VALUES (19, 'Belize', 'BZ', 'BLZ', 84, 0, 0);
INSERT INTO `Countries` VALUES (20, 'Benin', 'BJ', 'BEN', 204, 0, 0);
INSERT INTO `Countries` VALUES (21, 'Bhutan', 'BT', 'BTN', 64, 0, 0);
INSERT INTO `Countries` VALUES (22, 'Bolivia', 'BO', 'BOL', 68, 0, 0);
INSERT INTO `Countries` VALUES (23, 'Bosnia And Herzegowina', 'BA', 'BIH', 70, 0, 0);
INSERT INTO `Countries` VALUES (24, 'Botswana', 'BW', 'BWA', 72, 0, 0);
INSERT INTO `Countries` VALUES (25, 'Brazil', 'BR', 'BRA', 76, 1, 0);
INSERT INTO `Countries` VALUES (26, 'Brunei Darussalam', 'BN', 'BRN', 96, 0, 0);
INSERT INTO `Countries` VALUES (27, 'Bulgaria', 'BG', 'BGR', 100, 0, 0);
INSERT INTO `Countries` VALUES (28, 'Burkina Faso', 'BF', 'BFA', 854, 0, 0);
INSERT INTO `Countries` VALUES (29, 'Burundi', 'BI', 'BDI', 108, 0, 0);
INSERT INTO `Countries` VALUES (30, 'Cambodia', 'KH', 'KHM', 116, 0, 0);
INSERT INTO `Countries` VALUES (31, 'Cameroon', 'CM', 'CMR', 120, 0, 0);
INSERT INTO `Countries` VALUES (32, 'Canada', 'CA', 'CAN', 124, 1, 0);
INSERT INTO `Countries` VALUES (33, 'Cape Verde', 'CV', 'CPV', 132, 0, 0);
INSERT INTO `Countries` VALUES (34, 'Central African Republic', 'CF', 'CAF', 140, 0, 0);
INSERT INTO `Countries` VALUES (35, 'Chad', 'TD', 'TCD', 148, 0, 0);
INSERT INTO `Countries` VALUES (36, 'Chile', 'CL', 'CHL', 152, 1, 0);
INSERT INTO `Countries` VALUES (37, 'China', 'CN', 'CHN', 156, 1, 0);
INSERT INTO `Countries` VALUES (38, 'Colombia', 'CO', 'COL', 170, 1, 0);
INSERT INTO `Countries` VALUES (39, 'Comoros', 'KM', 'COM', 174, 0, 0);
INSERT INTO `Countries` VALUES (40, 'Congo', 'CG', 'COG', 178, 0, 0);
INSERT INTO `Countries` VALUES (41, 'Costa Rica', 'CR', 'CRI', 188, 1, 0);
INSERT INTO `Countries` VALUES (42, 'Cote D''Ivoire', 'CI', 'CIV', 384, 0, 0);
INSERT INTO `Countries` VALUES (43, 'Croatia (Local Name: Hrvatska)', 'HR', 'HRV', 191, 0, 0);
INSERT INTO `Countries` VALUES (44, 'Cuba', 'CU', 'CUB', 192, 0, 0);
INSERT INTO `Countries` VALUES (45, 'Cyprus', 'CY', 'CYP', 196, 0, 1);
INSERT INTO `Countries` VALUES (46, 'Czech Republic', 'CZ', 'CZE', 203, 0, 1);
INSERT INTO `Countries` VALUES (47, 'Denmark', 'DK', 'DNK', 208, 1, 1);
INSERT INTO `Countries` VALUES (48, 'Djibouti', 'DJ', 'DJI', 262, 0, 0);
INSERT INTO `Countries` VALUES (49, 'Dominica', 'DM', 'DMA', 212, 0, 0);
INSERT INTO `Countries` VALUES (50, 'Dominican Republic', 'DO', 'DOM', 214, 1, 0);
INSERT INTO `Countries` VALUES (51, 'Ecuador', 'EC', 'ECU', 218, 0, 0);
INSERT INTO `Countries` VALUES (52, 'Egypt', 'EG', 'EGY', 818, 0, 0);
INSERT INTO `Countries` VALUES (53, 'El Salvador', 'SV', 'SLV', 222, 0, 0);
INSERT INTO `Countries` VALUES (54, 'Equatorial Guinea', 'GQ', 'GNQ', 226, 0, 0);
INSERT INTO `Countries` VALUES (55, 'Eritrea', 'ER', 'ERI', 232, 0, 0);
INSERT INTO `Countries` VALUES (56, 'Estonia', 'EE', 'EST', 233, 0, 1);
INSERT INTO `Countries` VALUES (57, 'Ethiopia', 'ET', 'ETH', 231, 0, 0);
INSERT INTO `Countries` VALUES (58, 'Fiji', 'FJ', 'FJI', 242, 0, 0);
INSERT INTO `Countries` VALUES (59, 'Finland', 'FI', 'FIN', 246, 1, 1);
INSERT INTO `Countries` VALUES (60, 'France', 'FR', 'FRA', 250, 1, 1);
INSERT INTO `Countries` VALUES (61, 'French Southern Territories', 'TF', 'ATF', 260, 0, 0);
INSERT INTO `Countries` VALUES (62, 'Gabon', 'GA', 'GAB', 266, 0, 0);
INSERT INTO `Countries` VALUES (63, 'Gambia', 'GM', 'GMB', 270, 0, 0);
INSERT INTO `Countries` VALUES (64, 'Georgia', 'GE', 'GEO', 268, 0, 0);
INSERT INTO `Countries` VALUES (65, 'Germany', 'DE', 'DEU', 276, 1, 1);
INSERT INTO `Countries` VALUES (66, 'Ghana', 'GH', 'GHA', 288, 0, 0);
INSERT INTO `Countries` VALUES (67, 'Greece', 'GR', 'GRC', 300, 1, 1);
INSERT INTO `Countries` VALUES (68, 'Grenada', 'GD', 'GRD', 308, 0, 0);
INSERT INTO `Countries` VALUES (69, 'Guatemala', 'GT', 'GTM', 320, 1, 0);
INSERT INTO `Countries` VALUES (70, 'Guinea', 'GN', 'GIN', 324, 0, 0);
INSERT INTO `Countries` VALUES (71, 'Guinea-Bissau', 'GW', 'GNB', 624, 0, 0);
INSERT INTO `Countries` VALUES (72, 'Guyana', 'GY', 'GUY', 328, 0, 0);
INSERT INTO `Countries` VALUES (73, 'Haiti', 'HT', 'HTI', 332, 0, 0);
INSERT INTO `Countries` VALUES (74, 'Honduras', 'HN', 'HND', 340, 0, 0);
INSERT INTO `Countries` VALUES (75, 'Hungary', 'HU', 'HUN', 348, 0, 1);
INSERT INTO `Countries` VALUES (76, 'Iceland', 'IS', 'ISL', 352, 0, 0);
INSERT INTO `Countries` VALUES (77, 'India', 'IN', 'IND', 356, 1, 0);
INSERT INTO `Countries` VALUES (78, 'Indonesia', 'ID', 'IDN', 360, 0, 0);
INSERT INTO `Countries` VALUES (79, 'Iran (Islamic Republic Of)', 'IR', 'IRN', 364, 0, 0);
INSERT INTO `Countries` VALUES (80, 'Iraq', 'IQ', 'IRQ', 368, 0, 0);
INSERT INTO `Countries` VALUES (81, 'Ireland', 'IE', 'IRL', 372, 1, 1);
INSERT INTO `Countries` VALUES (82, 'Israel', 'IL', 'ISR', 376, 1, 0);
INSERT INTO `Countries` VALUES (83, 'Italy', 'IT', 'ITA', 380, 1, 1);
INSERT INTO `Countries` VALUES (84, 'Jamaica', 'JM', 'JAM', 388, 0, 0);
INSERT INTO `Countries` VALUES (85, 'Japan', 'JP', 'JPN', 392, 1, 0);
INSERT INTO `Countries` VALUES (86, 'Jordan', 'JO', 'JOR', 400, 0, 0);
INSERT INTO `Countries` VALUES (87, 'Kazakhstan', 'KZ', 'KAZ', 398, 0, 0);
INSERT INTO `Countries` VALUES (88, 'Kenya', 'KE', 'KEN', 404, 0, 0);
INSERT INTO `Countries` VALUES (89, 'Kiribati', 'KI', 'KIR', 296, 0, 0);
INSERT INTO `Countries` VALUES (90, 'Kuwait', 'KW', 'KWT', 414, 0, 0);
INSERT INTO `Countries` VALUES (91, 'Kyrgyzstan', 'KG', 'KGZ', 417, 0, 0);
INSERT INTO `Countries` VALUES (92, 'Lao People''S Democratic Republic', 'LA', 'LAO', 418, 0, 0);
INSERT INTO `Countries` VALUES (93, 'Latvia', 'LV', 'LVA', 428, 0, 1);
INSERT INTO `Countries` VALUES (94, 'Lebanon', 'LB', 'LBN', 422, 0, 0);
INSERT INTO `Countries` VALUES (95, 'Lesotho', 'LS', 'LSO', 426, 0, 0);
INSERT INTO `Countries` VALUES (96, 'Liberia', 'LR', 'LBR', 430, 0, 0);
INSERT INTO `Countries` VALUES (97, 'Libyan Arab Jamahiriya', 'LY', 'LBY', 434, 0, 0);
INSERT INTO `Countries` VALUES (98, 'Liechtenstein', 'LI', 'LIE', 438, 0, 0);
INSERT INTO `Countries` VALUES (99, 'Lithuania', 'LT', 'LTU', 440, 0, 1);
INSERT INTO `Countries` VALUES (100, 'Luxembourg', 'LU', 'LUX', 442, 0, 1);
INSERT INTO `Countries` VALUES (101, 'Madagascar', 'MG', 'MDG', 450, 0, 0);
INSERT INTO `Countries` VALUES (102, 'Malawi', 'MW', 'MWI', 454, 0, 0);
INSERT INTO `Countries` VALUES (103, 'Malaysia', 'MY', 'MYS', 458, 1, 0);
INSERT INTO `Countries` VALUES (104, 'Maldives', 'MV', 'MDV', 462, 0, 0);
INSERT INTO `Countries` VALUES (105, 'Mali', 'ML', 'MLI', 466, 0, 0);
INSERT INTO `Countries` VALUES (106, 'Malta', 'MT', 'MLT', 470, 0, 1);
INSERT INTO `Countries` VALUES (107, 'Marshall Islands', 'MH', 'MHL', 584, 0, 0);
INSERT INTO `Countries` VALUES (108, 'Mauritania', 'MR', 'MRT', 478, 0, 0);
INSERT INTO `Countries` VALUES (109, 'Mauritius', 'MU', 'MUS', 480, 0, 0);
INSERT INTO `Countries` VALUES (110, 'Mexico', 'MX', 'MEX', 484, 1, 0);
INSERT INTO `Countries` VALUES (111, 'Micronesia, Federated States Of', 'FM', 'FSM', 583, 0, 0);
INSERT INTO `Countries` VALUES (112, 'Moldova, Republic Of', 'MD', 'MDA', 498, 0, 0);
INSERT INTO `Countries` VALUES (113, 'Mongolia', 'MN', 'MNG', 496, 0, 0);
INSERT INTO `Countries` VALUES (114, 'Morocco', 'MA', 'MAR', 504, 0, 0);
INSERT INTO `Countries` VALUES (115, 'Mozambique', 'MZ', 'MOZ', 508, 0, 0);
INSERT INTO `Countries` VALUES (116, 'Myanmar', 'MM', 'MMR', 104, 0, 0);
INSERT INTO `Countries` VALUES (117, 'Namibia', 'NA', 'NAM', 516, 0, 0);
INSERT INTO `Countries` VALUES (118, 'Nauru', 'NR', 'NRU', 520, 0, 0);
INSERT INTO `Countries` VALUES (119, 'Nepal', 'NP', 'NPL', 524, 0, 0);
INSERT INTO `Countries` VALUES (120, 'Netherlands', 'NL', 'NLD', 528, 1, 1);
INSERT INTO `Countries` VALUES (121, 'New Zealand', 'NZ', 'NZL', 554, 1, 0);
INSERT INTO `Countries` VALUES (122, 'Nicaragua', 'NI', 'NIC', 558, 0, 0);
INSERT INTO `Countries` VALUES (123, 'Niger', 'NE', 'NER', 562, 0, 0);
INSERT INTO `Countries` VALUES (124, 'Nigeria', 'NG', 'NGA', 566, 0, 0);
INSERT INTO `Countries` VALUES (125, 'Norfolk Island', 'NF', 'NFK', 574, 0, 0);
INSERT INTO `Countries` VALUES (126, 'Norway', 'NO', 'NOR', 578, 1, 0);
INSERT INTO `Countries` VALUES (127, 'Oman', 'OM', 'OMN', 512, 0, 0);
INSERT INTO `Countries` VALUES (128, 'Pakistan', 'PK', 'PAK', 586, 0, 0);
INSERT INTO `Countries` VALUES (129, 'Palau', 'PW', 'PLW', 585, 0, 0);
INSERT INTO `Countries` VALUES (130, 'Panama', 'PA', 'PAN', 591, 1, 0);
INSERT INTO `Countries` VALUES (131, 'Papua New Guinea', 'PG', 'PNG', 598, 0, 0);
INSERT INTO `Countries` VALUES (132, 'Paraguay', 'PY', 'PRY', 600, 0, 0);
INSERT INTO `Countries` VALUES (133, 'Peru', 'PE', 'PER', 604, 0, 0);
INSERT INTO `Countries` VALUES (134, 'Philippines', 'PH', 'PHL', 608, 1, 0);
INSERT INTO `Countries` VALUES (135, 'Poland', 'PL', 'POL', 616, 0, 1);
INSERT INTO `Countries` VALUES (136, 'Portugal', 'PT', 'PRT', 620, 1, 1);
INSERT INTO `Countries` VALUES (137, 'Qatar', 'QA', 'QAT', 634, 0, 0);
INSERT INTO `Countries` VALUES (138, 'Reunion', 'RE', 'REU', 638, 0, 0);
INSERT INTO `Countries` VALUES (139, 'Romania', 'RO', 'ROM', 642, 0, 0);
INSERT INTO `Countries` VALUES (140, 'Russian Federation', 'RU', 'RUS', 643, 0, 0);
INSERT INTO `Countries` VALUES (141, 'Rwanda', 'RW', 'RWA', 646, 0, 0);
INSERT INTO `Countries` VALUES (142, 'Saint Kitts And Nevis', 'KN', 'KNA', 659, 0, 0);
INSERT INTO `Countries` VALUES (143, 'Saint Lucia', 'LC', 'LCA', 662, 0, 0);
INSERT INTO `Countries` VALUES (144, 'Saint Vincent And The Grenadines', 'VC', 'VCT', 670, 0, 0);
INSERT INTO `Countries` VALUES (145, 'Samoa', 'WS', 'WSM', 882, 0, 0);
INSERT INTO `Countries` VALUES (146, 'San Marino', 'SM', 'SMR', 674, 0, 0);
INSERT INTO `Countries` VALUES (147, 'Sao Tome And Principe', 'ST', 'STP', 678, 0, 0);
INSERT INTO `Countries` VALUES (148, 'Saudi Arabia', 'SA', 'SAU', 682, 0, 0);
INSERT INTO `Countries` VALUES (149, 'Senegal', 'SN', 'SEN', 686, 0, 0);
INSERT INTO `Countries` VALUES (150, 'Seychelles', 'SC', 'SYC', 690, 0, 0);
INSERT INTO `Countries` VALUES (151, 'Sierra Leone', 'SL', 'SLE', 694, 0, 0);
INSERT INTO `Countries` VALUES (152, 'Slovakia (Slovak Republic)', 'SK', 'SVK', 703, 0, 1);
INSERT INTO `Countries` VALUES (153, 'Slovenia', 'SI', 'SVN', 705, 0, 1);
INSERT INTO `Countries` VALUES (154, 'Solomon Islands', 'SB', 'SLB', 90, 0, 0);
INSERT INTO `Countries` VALUES (155, 'Somalia', 'SO', 'SOM', 706, 0, 0);
INSERT INTO `Countries` VALUES (156, 'South Africa', 'ZA', 'ZAF', 710, 0, 0);
INSERT INTO `Countries` VALUES (157, 'South Georgia And The South Sandwich Islands', 'GS', 'SGS', 239, 0, 0);
INSERT INTO `Countries` VALUES (158, 'Spain', 'ES', 'ESP', 724, 1, 1);
INSERT INTO `Countries` VALUES (159, 'Sri Lanka', 'LK', 'LKA', 144, 0, 0);
INSERT INTO `Countries` VALUES (160, 'Sudan', 'SD', 'SDN', 736, 0, 0);
INSERT INTO `Countries` VALUES (161, 'Suriname', 'SR', 'SUR', 740, 0, 0);
INSERT INTO `Countries` VALUES (162, 'Swaziland', 'SZ', 'SWZ', 748, 0, 0);
INSERT INTO `Countries` VALUES (163, 'Sweden', 'SE', 'SWE', 752, 1, 1);
INSERT INTO `Countries` VALUES (164, 'Switzerland', 'CH', 'CHE', 756, 1, 0);
INSERT INTO `Countries` VALUES (165, 'Syrian Arab Republic', 'SY', 'SYR', 760, 0, 0);
INSERT INTO `Countries` VALUES (166, 'Tajikistan', 'TJ', 'TJK', 762, 0, 0);
INSERT INTO `Countries` VALUES (167, 'Tanzania, United Republic Of', 'TZ', 'TZA', 834, 0, 0);
INSERT INTO `Countries` VALUES (168, 'Thailand', 'TH', 'THA', 764, 1, 0);
INSERT INTO `Countries` VALUES (169, 'Togo', 'TG', 'TGO', 768, 0, 0);
INSERT INTO `Countries` VALUES (170, 'Tonga', 'TO', 'TON', 776, 0, 0);
INSERT INTO `Countries` VALUES (171, 'Trinidad And Tobago', 'TT', 'TTO', 780, 0, 0);
INSERT INTO `Countries` VALUES (172, 'Tunisia', 'TN', 'TUN', 788, 0, 0);
INSERT INTO `Countries` VALUES (173, 'Turkey', 'TR', 'TUR', 792, 0, 0);
INSERT INTO `Countries` VALUES (174, 'Turkmenistan', 'TM', 'TKM', 795, 0, 0);
INSERT INTO `Countries` VALUES (175, 'Tuvalu', 'TV', 'TUV', 798, 0, 0);
INSERT INTO `Countries` VALUES (176, 'United Arab Emirates', 'AE', 'ARE', 784, 0, 0);
INSERT INTO `Countries` VALUES (177, 'Uganda', 'UG', 'UGA', 800, 0, 0);
INSERT INTO `Countries` VALUES (178, 'Ukraine', 'UA', 'UKR', 804, 0, 0);
INSERT INTO `Countries` VALUES (179, 'United Kingdom', 'GB', 'GBR', 826, 1, 1);
INSERT INTO `Countries` VALUES (180, 'United States', 'US', 'USA', 840, 1, 0);
INSERT INTO `Countries` VALUES (181, 'Uruguay', 'UY', 'URY', 858, 0, 0);
INSERT INTO `Countries` VALUES (182, 'Uzbekistan', 'UZ', 'UZB', 860, 0, 0);
INSERT INTO `Countries` VALUES (183, 'Vanuatu', 'VU', 'VUT', 548, 0, 0);
INSERT INTO `Countries` VALUES (184, 'Venezuela', 'VE', 'VEN', 862, 0, 0);
INSERT INTO `Countries` VALUES (185, 'Viet Nam', 'VN', 'VNM', 704, 0, 0);
INSERT INTO `Countries` VALUES (186, 'Yemen', 'YE', 'YEM', 887, 0, 0);
INSERT INTO `Countries` VALUES (187, 'Yugoslavia', 'YU', 'YUG', 891, 0, 0);
INSERT INTO `Countries` VALUES (188, 'Zambia', 'ZM', 'ZMB', 894, 0, 0);
INSERT INTO `Countries` VALUES (189, 'Zimbabwe', 'ZW', 'ZWE', 716, 0, 0);
INSERT INTO `Countries` VALUES (190, 'Not in list', '', '', 0, 0, 0);
INSERT INTO `Countries` VALUES (191, 'American Samoa', 'AS', 'ASM', 16, 0, 0);
INSERT INTO `Countries` VALUES (192, 'Anguilla', 'AI', 'AIA', 660, 0, 0);
INSERT INTO `Countries` VALUES (193, 'Antarctica', 'AQ', 'ATA', 10, 0, 0);
INSERT INTO `Countries` VALUES (194, 'Aruba', 'AW', 'ABW', 533, 0, 0);
INSERT INTO `Countries` VALUES (195, 'Bermuda', 'BM', 'BMU', 60, 0, 0);
INSERT INTO `Countries` VALUES (196, 'Bouvet Island', 'BV', 'BVT', 74, 0, 0);
INSERT INTO `Countries` VALUES (197, 'British Indian Ocean Territory', 'IO', 'IOT', 86, 0, 0);
INSERT INTO `Countries` VALUES (198, 'Cayman Islands', 'KY', 'CYM', 136, 0, 0);
INSERT INTO `Countries` VALUES (199, 'Christmas Island', 'CX', 'CXR', 162, 0, 0);
INSERT INTO `Countries` VALUES (200, 'Cocos (Keeling) Islands', 'CC', 'CCK', 166, 0, 0);
INSERT INTO `Countries` VALUES (201, 'Cook Islands', 'CK', 'COK', 184, 0, 0);
INSERT INTO `Countries` VALUES (202, 'East Timor', 'TP', 'TMP', 626, 0, 0);
INSERT INTO `Countries` VALUES (203, 'Falkland Islands (Malvinas)', 'FK', 'FLK', 238, 0, 0);
INSERT INTO `Countries` VALUES (204, 'Faroe Islands', 'FO', 'FRO', 234, 0, 0);
INSERT INTO `Countries` VALUES (205, 'France, Metropolitan', 'FX', 'FXX', 249, 0, 0);
INSERT INTO `Countries` VALUES (206, 'French Guiana', 'GF', 'GUF', 254, 0, 0);
INSERT INTO `Countries` VALUES (207, 'French Polynesia', 'PF', 'PYF', 258, 0, 0);
INSERT INTO `Countries` VALUES (208, 'Gibraltar', 'GI', 'GIB', 292, 0, 0);
INSERT INTO `Countries` VALUES (209, 'Greenland', 'GL', 'GRL', 304, 0, 0);
INSERT INTO `Countries` VALUES (210, 'Guadeloupe', 'GP', 'GLP', 312, 0, 0);
INSERT INTO `Countries` VALUES (211, 'Guam', 'GU', 'GUM', 316, 0, 0);
INSERT INTO `Countries` VALUES (212, 'Heard And Mc Donald Islands', 'HM', 'HMD', 334, 0, 0);
INSERT INTO `Countries` VALUES (213, 'Holy See (Vatican City State)', 'VA', 'VAT', 336, 0, 0);
INSERT INTO `Countries` VALUES (214, 'Hong Kong', 'HK', 'HKG', 344, 1, 0);
INSERT INTO `Countries` VALUES (215, 'Korea, Democratic People''s Republic Of', 'KP', 'PRK', 408, 0, 0);
INSERT INTO `Countries` VALUES (216, 'Korea, Republic Of', 'KR', 'KOR', 410, 1, 0);
INSERT INTO `Countries` VALUES (217, 'Macau', 'MO', 'MAC', 446, 0, 0);
INSERT INTO `Countries` VALUES (218, 'Macedonia, The Former Yugoslav Republic Of', 'MK', 'MKD', 807, 0, 0);
INSERT INTO `Countries` VALUES (219, 'Martinique', 'MQ', 'MTQ', 474, 0, 0);
INSERT INTO `Countries` VALUES (220, 'Mayotte', 'YT', 'MYT', 175, 0, 0);
INSERT INTO `Countries` VALUES (221, 'Monaco', 'MC', 'MCO', 492, 0, 0);
INSERT INTO `Countries` VALUES (222, 'Montserrat', 'MS', 'MSR', 500, 0, 0);
INSERT INTO `Countries` VALUES (223, 'Netherlands Antilles', 'AN', 'ANT', 530, 0, 0);
INSERT INTO `Countries` VALUES (224, 'New Caledonia', 'NC', 'NCL', 540, 0, 0);
INSERT INTO `Countries` VALUES (225, 'Niue', 'NU', 'NIU', 570, 0, 0);
INSERT INTO `Countries` VALUES (226, 'Northern Mariana Islands', 'MP', 'MNP', 580, 0, 0);
INSERT INTO `Countries` VALUES (227, 'Pitcairn', 'PN', 'PCN', 612, 0, 0);
INSERT INTO `Countries` VALUES (228, 'Puerto Rico', 'PR', 'PRI', 630, 1, 0);
INSERT INTO `Countries` VALUES (229, 'Singapore', 'SG', 'SGP', 702, 1, 0);
INSERT INTO `Countries` VALUES (230, 'St. Helena', 'SH', 'SHN', 654, 0, 0);
INSERT INTO `Countries` VALUES (231, 'St. Pierre And Miquelon', 'PM', 'SPM', 666, 0, 0);
INSERT INTO `Countries` VALUES (232, 'Svalbard And Jan Mayen Islands', 'SJ', 'SJM', 744, 0, 0);
INSERT INTO `Countries` VALUES (233, 'Taiwan, Republic Of China', 'TW', 'TWN', 158, 1, 0);
INSERT INTO `Countries` VALUES (234, 'Tokelau', 'TK', 'TKL', 772, 0, 0);
INSERT INTO `Countries` VALUES (235, 'Turks And Caicos Islands', 'TC', 'TCA', 796, 0, 0);
INSERT INTO `Countries` VALUES (236, 'United States Minor Outlying Islands', 'UM', 'UMI', 581, 0, 0);
INSERT INTO `Countries` VALUES (237, 'Virgin Islands (British)', 'VG', 'VGB', 92, 0, 0);
INSERT INTO `Countries` VALUES (238, 'Virgin Islands (U.S.)', 'VI', 'VIR', 850, 0, 0);
INSERT INTO `Countries` VALUES (239, 'Wallis And Futuna Islands', 'WF', 'WLF', 876, 0, 0);
INSERT INTO `Countries` VALUES (240, 'Western Sahara', 'EH', 'ESH', 732, 0, 0);
INSERT INTO `Countries` VALUES (241, 'Zaire', 'ZR', 'ZAR', 180, 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `Currency_Codes`
--
CREATE TABLE `Currency_Codes` (
`record_number` int(11) unsigned NOT NULL auto_increment,
`Code` char(3) NOT NULL default '',
`Currency` varchar(40) NOT NULL default '',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=325 ;
--
-- Dumping data for table `Currency_Codes`
--
INSERT INTO `Currency_Codes` VALUES (1, 'AED', 'United Arab Emirates dirh');
INSERT INTO `Currency_Codes` VALUES (2, 'AFN', 'Afghan afghani');
INSERT INTO `Currency_Codes` VALUES (3, 'ALL', 'Albanian lek');
INSERT INTO `Currency_Codes` VALUES (4, 'AMD', 'Armenian dram');
INSERT INTO `Currency_Codes` VALUES (5, 'ANG', 'Netherlands Antillian gui');
INSERT INTO `Currency_Codes` VALUES (6, 'AOA', 'Angolan kwanza');
INSERT INTO `Currency_Codes` VALUES (7, 'ARS', 'Argentine peso');
INSERT INTO `Currency_Codes` VALUES (8, 'AUD', 'Australian dollar');
INSERT INTO `Currency_Codes` VALUES (9, 'AWG', 'Aruban guilder');
INSERT INTO `Currency_Codes` VALUES (10, 'AZM', 'Azerbaijani manat');
INSERT INTO `Currency_Codes` VALUES (11, 'BAM', 'Bosnia-Herzegovina conver');
INSERT INTO `Currency_Codes` VALUES (12, 'BBD', 'Barbadian dollar');
INSERT INTO `Currency_Codes` VALUES (13, 'BDT', 'Bangladeshi taka');
INSERT INTO `Currency_Codes` VALUES (14, 'BGN', 'Bulgarian lev (since 1999-07-05)');
INSERT INTO `Currency_Codes` VALUES (15, 'BHD', 'Bahraini dinar');
INSERT INTO `Currency_Codes` VALUES (16, 'BIF', 'Burundi franc');
INSERT INTO `Currency_Codes` VALUES (17, 'BMD', 'Bermuda dollar');
INSERT INTO `Currency_Codes` VALUES (18, 'BND', 'Brunei dollar');
INSERT INTO `Currency_Codes` VALUES (19, 'BOB', 'Bolivian boliviano');
INSERT INTO `Currency_Codes` VALUES (20, 'BOV', 'Bolivian Mvdol (Funds code)');
INSERT INTO `Currency_Codes` VALUES (21, 'BRL', 'Brazilian real');
INSERT INTO `Currency_Codes` VALUES (22, 'BSD', 'Bahamian dollar');
INSERT INTO `Currency_Codes` VALUES (23, 'BTN', 'Bhutan ngultrum');
INSERT INTO `Currency_Codes` VALUES (24, 'BWP', 'Botswana pula');
INSERT INTO `Currency_Codes` VALUES (25, 'BYR', 'Belarusian ruble');
INSERT INTO `Currency_Codes` VALUES (26, 'BZD', 'Belize dollar');
INSERT INTO `Currency_Codes` VALUES (27, 'CAD', 'Canadian dollar');
INSERT INTO `Currency_Codes` VALUES (28, 'CDF', 'Congolese franc');
INSERT INTO `Currency_Codes` VALUES (29, 'CHF', 'Swiss franc');
INSERT INTO `Currency_Codes` VALUES (30, 'CLF', 'Chilean Unidades de fomento');
INSERT INTO `Currency_Codes` VALUES (31, 'CLP', 'Chilean peso');
INSERT INTO `Currency_Codes` VALUES (32, 'CNY', 'Yuan renminbi (PR China)');
INSERT INTO `Currency_Codes` VALUES (33, 'COP', 'Colombian peso');
INSERT INTO `Currency_Codes` VALUES (34, 'COU', 'Colombian unidad de valor real');
INSERT INTO `Currency_Codes` VALUES (35, 'CRC', 'Costa Rican colón');
INSERT INTO `Currency_Codes` VALUES (36, 'CSD', 'Serbian dinar');
INSERT INTO `Currency_Codes` VALUES (37, 'CUC', 'Cuban convertible peso');
INSERT INTO `Currency_Codes` VALUES (38, 'CUP', 'Cuban peso (still in use)');
INSERT INTO `Currency_Codes` VALUES (39, 'CVE', 'Cape Verde escudo');
INSERT INTO `Currency_Codes` VALUES (40, 'CYP', 'Cyprus pound');
INSERT INTO `Currency_Codes` VALUES (41, 'CZK', 'Czech koruna');
INSERT INTO `Currency_Codes` VALUES (42, 'DJF', 'Djibouti franc');
INSERT INTO `Currency_Codes` VALUES (43, 'DKK', 'Danish krone');
INSERT INTO `Currency_Codes` VALUES (44, 'DOP', 'Dominican peso');
INSERT INTO `Currency_Codes` VALUES (45, 'DZD', 'Algerian dinar');
INSERT INTO `Currency_Codes` VALUES (46, 'EEK', 'Estonian kroon');
INSERT INTO `Currency_Codes` VALUES (47, 'EGP', 'Egyptian pound');
INSERT INTO `Currency_Codes` VALUES (48, 'ERN', 'Eritrea nakfa');
INSERT INTO `Currency_Codes` VALUES (49, 'ETB', 'Ethiopian birr');
INSERT INTO `Currency_Codes` VALUES (50, 'EUR', 'European Union euro');
INSERT INTO `Currency_Codes` VALUES (51, 'FJD', 'Fijian dollar');
INSERT INTO `Currency_Codes` VALUES (52, 'FKP', 'Falkland Islands pound');
INSERT INTO `Currency_Codes` VALUES (53, 'GBP', 'Great British Pound');
INSERT INTO `Currency_Codes` VALUES (54, 'GEL', 'Georgian lari');
INSERT INTO `Currency_Codes` VALUES (55, 'GHC', 'Ghana cedi');
INSERT INTO `Currency_Codes` VALUES (56, 'GIP', 'Gibraltar pound');
INSERT INTO `Currency_Codes` VALUES (57, 'GMD', 'Gambian dalasi');
INSERT INTO `Currency_Codes` VALUES (58, 'GNF', 'Guinea franc');
INSERT INTO `Currency_Codes` VALUES (59, 'GTQ', 'Guatemalan quetzal');
INSERT INTO `Currency_Codes` VALUES (60, 'GYD', 'Guyanese dollar');
INSERT INTO `Currency_Codes` VALUES (61, 'HKD', 'Hong Kong dollar');
INSERT INTO `Currency_Codes` VALUES (62, 'HNL', 'Honduran lempira');
INSERT INTO `Currency_Codes` VALUES (63, 'HRK', 'Croatian kuna');
INSERT INTO `Currency_Codes` VALUES (64, 'HTG', 'Haitian gourde');
INSERT INTO `Currency_Codes` VALUES (65, 'HUF', 'Hungarian forint');
INSERT INTO `Currency_Codes` VALUES (66, 'IDR', 'Indonesian rupiah');
INSERT INTO `Currency_Codes` VALUES (67, 'ILS', 'New Israeli shekel');
INSERT INTO `Currency_Codes` VALUES (68, 'INR', 'Indian rupee');
INSERT INTO `Currency_Codes` VALUES (69, 'IQD', 'Iraqi dinar');
INSERT INTO `Currency_Codes` VALUES (70, 'IRR', 'Iranian Rial');
INSERT INTO `Currency_Codes` VALUES (71, 'ISK', 'Icelandic króna');
INSERT INTO `Currency_Codes` VALUES (72, 'JMD', 'Jamaican dollar');
INSERT INTO `Currency_Codes` VALUES (73, 'JOD', 'Jordanian dinar');
INSERT INTO `Currency_Codes` VALUES (74, 'JPY', 'Japanese yen');
INSERT INTO `Currency_Codes` VALUES (75, 'KES', 'Kenyan shilling');
INSERT INTO `Currency_Codes` VALUES (76, 'KGS', 'Kyrgyzstan som');
INSERT INTO `Currency_Codes` VALUES (77, 'KHR', 'Cambodian riel');
INSERT INTO `Currency_Codes` VALUES (78, 'KMF', 'Comorian franc');
INSERT INTO `Currency_Codes` VALUES (79, 'KPW', 'North Korean won');
INSERT INTO `Currency_Codes` VALUES (80, 'KRW', 'South Korean won');
INSERT INTO `Currency_Codes` VALUES (81, 'KWD', 'Kuwaiti dinar');
INSERT INTO `Currency_Codes` VALUES (82, 'KYD', 'Cayman Islands dollar');
INSERT INTO `Currency_Codes` VALUES (83, 'KZT', 'Kazakhstan tenge');
INSERT INTO `Currency_Codes` VALUES (84, 'LAK', 'Lao kip');
INSERT INTO `Currency_Codes` VALUES (85, 'LBP', 'Lebanese pound');
INSERT INTO `Currency_Codes` VALUES (86, 'LKR', 'Sri Lankan rupee');
INSERT INTO `Currency_Codes` VALUES (87, 'LRD', 'Liberian dollar');
INSERT INTO `Currency_Codes` VALUES (88, 'LSL', 'Lesotho loti');
INSERT INTO `Currency_Codes` VALUES (89, 'LTL', 'Lithuanian litas');
INSERT INTO `Currency_Codes` VALUES (90, 'LVL', 'Latvian lat');
INSERT INTO `Currency_Codes` VALUES (91, 'LYD', 'Libyan dinar');
INSERT INTO `Currency_Codes` VALUES (92, 'MAD', 'Moroccan dirham');
INSERT INTO `Currency_Codes` VALUES (93, 'MDL', 'Moldovan leu');
INSERT INTO `Currency_Codes` VALUES (94, 'MGA', 'Malagasy ariary');
INSERT INTO `Currency_Codes` VALUES (95, 'MKD', 'Macedonian denar');
INSERT INTO `Currency_Codes` VALUES (96, 'MMK', 'Myanmar kyat');
INSERT INTO `Currency_Codes` VALUES (97, 'MNT', 'Mongolian tugrik');
INSERT INTO `Currency_Codes` VALUES (98, 'MOP', 'Macau pataca');
INSERT INTO `Currency_Codes` VALUES (99, 'MRO', 'Mauritanian ouguiya');
INSERT INTO `Currency_Codes` VALUES (100, 'MTL', 'Maltese lira');
INSERT INTO `Currency_Codes` VALUES (101, 'MUR', 'Mauritius rupee');
INSERT INTO `Currency_Codes` VALUES (102, 'MVR', 'Maldives rufiyaa');
INSERT INTO `Currency_Codes` VALUES (103, 'MWK', 'Malawi kwacha');
INSERT INTO `Currency_Codes` VALUES (104, 'MXN', 'Mexican peso');
INSERT INTO `Currency_Codes` VALUES (105, 'MXV', 'Mexican Unidad de Inversion');
INSERT INTO `Currency_Codes` VALUES (106, 'MYR', 'Malaysian ringgit');
INSERT INTO `Currency_Codes` VALUES (107, 'MZM', 'Mozambique metical');
INSERT INTO `Currency_Codes` VALUES (108, 'NAD', 'Namibian dollar');
INSERT INTO `Currency_Codes` VALUES (109, 'NGN', 'Nigerian naira');
INSERT INTO `Currency_Codes` VALUES (110, 'NIO', 'Nicaraguan córdoba');
INSERT INTO `Currency_Codes` VALUES (111, 'NOK', 'Norwegian krone');
INSERT INTO `Currency_Codes` VALUES (112, 'NPR', 'Nepalese rupee');
INSERT INTO `Currency_Codes` VALUES (113, 'NZD', 'New Zealand dollar');
INSERT INTO `Currency_Codes` VALUES (114, 'OMR', 'Omani rial');
INSERT INTO `Currency_Codes` VALUES (115, 'PAB', 'Panamanian balboa');
INSERT INTO `Currency_Codes` VALUES (116, 'PEN', 'Peruvian nuevo sol');
INSERT INTO `Currency_Codes` VALUES (117, 'PGK', 'Papua New Guinea kina');
INSERT INTO `Currency_Codes` VALUES (118, 'PHP', 'Philippine peso');
INSERT INTO `Currency_Codes` VALUES (119, 'PKR', 'Pakistani rupee');
INSERT INTO `Currency_Codes` VALUES (120, 'PLN', 'Polish zloty');
INSERT INTO `Currency_Codes` VALUES (121, 'PYG', 'Paraguayan guaraní');
INSERT INTO `Currency_Codes` VALUES (122, 'QAR', 'Qatari rial');
INSERT INTO `Currency_Codes` VALUES (123, 'RON', 'Romanian leu');
INSERT INTO `Currency_Codes` VALUES (124, 'RUB', 'Russian ruble');
INSERT INTO `Currency_Codes` VALUES (125, 'RWF', 'Rwandan franc');
INSERT INTO `Currency_Codes` VALUES (126, 'SAR', 'Saudi Arabian riyal');
INSERT INTO `Currency_Codes` VALUES (127, 'SBD', 'Solomon Islands dollar');
INSERT INTO `Currency_Codes` VALUES (128, 'SCR', 'Seychelles rupee');
INSERT INTO `Currency_Codes` VALUES (129, 'SDD', 'Sudanese dinar');
INSERT INTO `Currency_Codes` VALUES (130, 'SEK', 'Swedish krona');
INSERT INTO `Currency_Codes` VALUES (131, 'SGD', 'Singapore dollar');
INSERT INTO `Currency_Codes` VALUES (132, 'SHP', 'Saint Helena pound');
INSERT INTO `Currency_Codes` VALUES (133, 'SIT', 'Slovene tolar');
INSERT INTO `Currency_Codes` VALUES (134, 'SKK', 'Slovak koruna');
INSERT INTO `Currency_Codes` VALUES (135, 'SLL', 'Sierra Leonean leone');
INSERT INTO `Currency_Codes` VALUES (136, 'SOS', 'Somali shilling');
INSERT INTO `Currency_Codes` VALUES (137, 'SRD', 'Suriname dollar (since 2004-01-01)');
INSERT INTO `Currency_Codes` VALUES (138, 'STD', 'São Tomé and Príncipe dobra');
INSERT INTO `Currency_Codes` VALUES (139, 'SYP', 'Syrian pound');
INSERT INTO `Currency_Codes` VALUES (140, 'SZL', 'Swaziland lilangeni');
INSERT INTO `Currency_Codes` VALUES (141, 'THB', 'Thai baht');
INSERT INTO `Currency_Codes` VALUES (142, 'TJS', 'Tajikistani somoni');
INSERT INTO `Currency_Codes` VALUES (143, 'TMM', 'Turkmen manat');
INSERT INTO `Currency_Codes` VALUES (144, 'TND', 'Tunisian dinar');
INSERT INTO `Currency_Codes` VALUES (145, 'TOP', 'Tongan Pa''anga');
INSERT INTO `Currency_Codes` VALUES (146, 'TRY', 'New Turkish lira');
INSERT INTO `Currency_Codes` VALUES (147, 'TTD', 'Trinidad and Tobago dollar');
INSERT INTO `Currency_Codes` VALUES (148, 'TWD', 'New Taiwan dollar');
INSERT INTO `Currency_Codes` VALUES (149, 'TZS', 'Tanzanian shilling');
INSERT INTO `Currency_Codes` VALUES (150, 'UAH', 'Ukrainian hryvnia');
INSERT INTO `Currency_Codes` VALUES (151, 'UGX', 'Ugandan shilling');
INSERT INTO `Currency_Codes` VALUES (152, 'USD', 'United States dollar');
INSERT INTO `Currency_Codes` VALUES (153, 'UYU', 'Uruguayan peso');
INSERT INTO `Currency_Codes` VALUES (154, 'UZS', 'Uzbekistani som');
INSERT INTO `Currency_Codes` VALUES (155, 'VEB', 'Venezuelan bolívar');
INSERT INTO `Currency_Codes` VALUES (156, 'VND', 'Viet Nam dong');
INSERT INTO `Currency_Codes` VALUES (157, 'VUV', 'Vanuatu vatu');
INSERT INTO `Currency_Codes` VALUES (158, 'WST', 'Samoa Tala');
INSERT INTO `Currency_Codes` VALUES (159, 'YER', 'Yemeni rial');
INSERT INTO `Currency_Codes` VALUES (160, 'ZAR', 'South African rand');
INSERT INTO `Currency_Codes` VALUES (161, 'ZMK', 'Zambian kwacha');
INSERT INTO `Currency_Codes` VALUES (162, 'ZWD', 'Zimbabwe dollar');
INSERT INTO `Currency_Codes` VALUES (163, 'AED', 'United Arab Emirates dirham');
INSERT INTO `Currency_Codes` VALUES (164, 'AFN', 'Afghan afghani');
INSERT INTO `Currency_Codes` VALUES (165, 'ALL', 'Albanian lek');
INSERT INTO `Currency_Codes` VALUES (166, 'AMD', 'Armenian dram');
INSERT INTO `Currency_Codes` VALUES (167, 'ANG', 'Netherlands Antillian guilder');
INSERT INTO `Currency_Codes` VALUES (168, 'AOA', 'Angolan kwanza');
INSERT INTO `Currency_Codes` VALUES (169, 'ARS', 'Argentine peso');
INSERT INTO `Currency_Codes` VALUES (170, 'AUD', 'Australian dollar');
INSERT INTO `Currency_Codes` VALUES (171, 'AWG', 'Aruban guilder');
INSERT INTO `Currency_Codes` VALUES (172, 'AZM', 'Azerbaijani manat');
INSERT INTO `Currency_Codes` VALUES (173, 'BAM', 'Bosnia-Herzegovina convertible mark');
INSERT INTO `Currency_Codes` VALUES (174, 'BBD', 'Barbadian dollar');
INSERT INTO `Currency_Codes` VALUES (175, 'BDT', 'Bangladeshi taka');
INSERT INTO `Currency_Codes` VALUES (176, 'BGN', 'Bulgarian lev (since 1999-07-05)');
INSERT INTO `Currency_Codes` VALUES (177, 'BHD', 'Bahraini dinar');
INSERT INTO `Currency_Codes` VALUES (178, 'BIF', 'Burundi franc');
INSERT INTO `Currency_Codes` VALUES (179, 'BMD', 'Bermuda dollar');
INSERT INTO `Currency_Codes` VALUES (180, 'BND', 'Brunei dollar');
INSERT INTO `Currency_Codes` VALUES (181, 'BOB', 'Bolivian boliviano');
INSERT INTO `Currency_Codes` VALUES (182, 'BOV', 'Bolivian Mvdol (Funds code)');
INSERT INTO `Currency_Codes` VALUES (183, 'BRL', 'Brazilian real');
INSERT INTO `Currency_Codes` VALUES (184, 'BSD', 'Bahamian dollar');
INSERT INTO `Currency_Codes` VALUES (185, 'BTN', 'Bhutan ngultrum');
INSERT INTO `Currency_Codes` VALUES (186, 'BWP', 'Botswana pula');
INSERT INTO `Currency_Codes` VALUES (187, 'BYR', 'Belarusian ruble');
INSERT INTO `Currency_Codes` VALUES (188, 'BZD', 'Belize dollar');
INSERT INTO `Currency_Codes` VALUES (189, 'CAD', 'Canadian dollar');
INSERT INTO `Currency_Codes` VALUES (190, 'CDF', 'Congolese franc');
INSERT INTO `Currency_Codes` VALUES (191, 'CHF', 'Swiss franc');
INSERT INTO `Currency_Codes` VALUES (192, 'CLF', 'Chilean Unidades de fomento (Funds code)');
INSERT INTO `Currency_Codes` VALUES (193, 'CLP', 'Chilean peso');
INSERT INTO `Currency_Codes` VALUES (194, 'CNY', 'Yuan renminbi (PR China)');
INSERT INTO `Currency_Codes` VALUES (195, 'COP', 'Colombian peso');
INSERT INTO `Currency_Codes` VALUES (196, 'COU', 'Colombian unidad de valor real (added to');
INSERT INTO `Currency_Codes` VALUES (197, 'CRC', 'Costa Rican colón');
INSERT INTO `Currency_Codes` VALUES (198, 'CSD', 'Serbian dinar');
INSERT INTO `Currency_Codes` VALUES (199, 'CUC', 'Cuban convertible peso');
INSERT INTO `Currency_Codes` VALUES (200, 'CUP', 'Cuban peso (still in use)');
INSERT INTO `Currency_Codes` VALUES (201, 'CVE', 'Cape Verde escudo');
INSERT INTO `Currency_Codes` VALUES (202, 'CYP', 'Cyprus pound');
INSERT INTO `Currency_Codes` VALUES (203, 'CZK', 'Czech koruna');
INSERT INTO `Currency_Codes` VALUES (204, 'DJF', 'Djibouti franc');
INSERT INTO `Currency_Codes` VALUES (205, 'DKK', 'Danish krone');
INSERT INTO `Currency_Codes` VALUES (206, 'DOP', 'Dominican peso');
INSERT INTO `Currency_Codes` VALUES (207, 'DZD', 'Algerian dinar');
INSERT INTO `Currency_Codes` VALUES (208, 'EEK', 'Estonian kroon');
INSERT INTO `Currency_Codes` VALUES (209, 'EGP', 'Egyptian pound');
INSERT INTO `Currency_Codes` VALUES (210, 'ERN', 'Eritrea nakfa');
INSERT INTO `Currency_Codes` VALUES (211, 'ETB', 'Ethiopian birr');
INSERT INTO `Currency_Codes` VALUES (212, 'EUR', 'European Union euro');
INSERT INTO `Currency_Codes` VALUES (213, 'FJD', 'Fijian dollar');
INSERT INTO `Currency_Codes` VALUES (214, 'FKP', 'Falkland Islands pound');
INSERT INTO `Currency_Codes` VALUES (215, 'GBP', 'Great British Pound');
INSERT INTO `Currency_Codes` VALUES (216, 'GEL', 'Georgian lari');
INSERT INTO `Currency_Codes` VALUES (217, 'GHC', 'Ghana cedi');
INSERT INTO `Currency_Codes` VALUES (218, 'GIP', 'Gibraltar pound');
INSERT INTO `Currency_Codes` VALUES (219, 'GMD', 'Gambian dalasi');
INSERT INTO `Currency_Codes` VALUES (220, 'GNF', 'Guinea franc');
INSERT INTO `Currency_Codes` VALUES (221, 'GTQ', 'Guatemalan quetzal');
INSERT INTO `Currency_Codes` VALUES (222, 'GYD', 'Guyanese dollar');
INSERT INTO `Currency_Codes` VALUES (223, 'HKD', 'Hong Kong dollar');
INSERT INTO `Currency_Codes` VALUES (224, 'HNL', 'Honduran lempira');
INSERT INTO `Currency_Codes` VALUES (225, 'HRK', 'Croatian kuna');
INSERT INTO `Currency_Codes` VALUES (226, 'HTG', 'Haitian gourde');
INSERT INTO `Currency_Codes` VALUES (227, 'HUF', 'Hungarian forint');
INSERT INTO `Currency_Codes` VALUES (228, 'IDR', 'Indonesian rupiah');
INSERT INTO `Currency_Codes` VALUES (229, 'ILS', 'New Israeli shekel');
INSERT INTO `Currency_Codes` VALUES (230, 'INR', 'Indian rupee');
INSERT INTO `Currency_Codes` VALUES (231, 'IQD', 'Iraqi dinar');
INSERT INTO `Currency_Codes` VALUES (232, 'IRR', 'Iranian Rial');
INSERT INTO `Currency_Codes` VALUES (233, 'ISK', 'Icelandic króna');
INSERT INTO `Currency_Codes` VALUES (234, 'JMD', 'Jamaican dollar');
INSERT INTO `Currency_Codes` VALUES (235, 'JOD', 'Jordanian dinar');
INSERT INTO `Currency_Codes` VALUES (236, 'JPY', 'Japanese yen');
INSERT INTO `Currency_Codes` VALUES (237, 'KES', 'Kenyan shilling');
INSERT INTO `Currency_Codes` VALUES (238, 'KGS', 'Kyrgyzstan som');
INSERT INTO `Currency_Codes` VALUES (239, 'KHR', 'Cambodian riel');
INSERT INTO `Currency_Codes` VALUES (240, 'KMF', 'Comorian franc');
INSERT INTO `Currency_Codes` VALUES (241, 'KPW', 'North Korean won');
INSERT INTO `Currency_Codes` VALUES (242, 'KRW', 'South Korean won');
INSERT INTO `Currency_Codes` VALUES (243, 'KWD', 'Kuwaiti dinar');
INSERT INTO `Currency_Codes` VALUES (244, 'KYD', 'Cayman Islands dollar');
INSERT INTO `Currency_Codes` VALUES (245, 'KZT', 'Kazakhstan tenge');
INSERT INTO `Currency_Codes` VALUES (246, 'LAK', 'Lao kip');
INSERT INTO `Currency_Codes` VALUES (247, 'LBP', 'Lebanese pound');
INSERT INTO `Currency_Codes` VALUES (248, 'LKR', 'Sri Lankan rupee');
INSERT INTO `Currency_Codes` VALUES (249, 'LRD', 'Liberian dollar');
INSERT INTO `Currency_Codes` VALUES (250, 'LSL', 'Lesotho loti');
INSERT INTO `Currency_Codes` VALUES (251, 'LTL', 'Lithuanian litas');
INSERT INTO `Currency_Codes` VALUES (252, 'LVL', 'Latvian lat');
INSERT INTO `Currency_Codes` VALUES (253, 'LYD', 'Libyan dinar');
INSERT INTO `Currency_Codes` VALUES (254, 'MAD', 'Moroccan dirham');
INSERT INTO `Currency_Codes` VALUES (255, 'MDL', 'Moldovan leu');
INSERT INTO `Currency_Codes` VALUES (256, 'MGA', 'Malagasy ariary');
INSERT INTO `Currency_Codes` VALUES (257, 'MKD', 'Macedonian denar');
INSERT INTO `Currency_Codes` VALUES (258, 'MMK', 'Myanmar kyat');
INSERT INTO `Currency_Codes` VALUES (259, 'MNT', 'Mongolian tugrik');
INSERT INTO `Currency_Codes` VALUES (260, 'MOP', 'Macau pataca');
INSERT INTO `Currency_Codes` VALUES (261, 'MRO', 'Mauritanian ouguiya');
INSERT INTO `Currency_Codes` VALUES (262, 'MTL', 'Maltese lira');
INSERT INTO `Currency_Codes` VALUES (263, 'MUR', 'Mauritius rupee');
INSERT INTO `Currency_Codes` VALUES (264, 'MVR', 'Maldives rufiyaa');
INSERT INTO `Currency_Codes` VALUES (265, 'MWK', 'Malawi kwacha');
INSERT INTO `Currency_Codes` VALUES (266, 'MXN', 'Mexican peso');
INSERT INTO `Currency_Codes` VALUES (267, 'MXV', 'Mexican Unidad de Inversión (UDI) (Funds');
INSERT INTO `Currency_Codes` VALUES (268, 'MYR', 'Malaysian ringgit');
INSERT INTO `Currency_Codes` VALUES (269, 'MZM', 'Mozambique metical');
INSERT INTO `Currency_Codes` VALUES (270, 'NAD', 'Namibian dollar');
INSERT INTO `Currency_Codes` VALUES (271, 'NGN', 'Nigerian naira');
INSERT INTO `Currency_Codes` VALUES (272, 'NIO', 'Nicaraguan córdoba');
INSERT INTO `Currency_Codes` VALUES (273, 'NOK', 'Norwegian krone');
INSERT INTO `Currency_Codes` VALUES (274, 'NPR', 'Nepalese rupee');
INSERT INTO `Currency_Codes` VALUES (275, 'NZD', 'New Zealand dollar');
INSERT INTO `Currency_Codes` VALUES (276, 'OMR', 'Omani rial');
INSERT INTO `Currency_Codes` VALUES (277, 'PAB', 'Panamanian balboa');
INSERT INTO `Currency_Codes` VALUES (278, 'PEN', 'Peruvian nuevo sol');
INSERT INTO `Currency_Codes` VALUES (279, 'PGK', 'Papua New Guinea kina');
INSERT INTO `Currency_Codes` VALUES (280, 'PHP', 'Philippine peso');
INSERT INTO `Currency_Codes` VALUES (281, 'PKR', 'Pakistani rupee');
INSERT INTO `Currency_Codes` VALUES (282, 'PLN', 'Polish zloty');
INSERT INTO `Currency_Codes` VALUES (283, 'PYG', 'Paraguayan guaraní');
INSERT INTO `Currency_Codes` VALUES (284, 'QAR', 'Qatari rial');
INSERT INTO `Currency_Codes` VALUES (285, 'RON', 'Romanian leu');
INSERT INTO `Currency_Codes` VALUES (286, 'RUB', 'Russian ruble');
INSERT INTO `Currency_Codes` VALUES (287, 'RWF', 'Rwandan franc');
INSERT INTO `Currency_Codes` VALUES (288, 'SAR', 'Saudi Arabian riyal');
INSERT INTO `Currency_Codes` VALUES (289, 'SBD', 'Solomon Islands dollar');
INSERT INTO `Currency_Codes` VALUES (290, 'SCR', 'Seychelles rupee');
INSERT INTO `Currency_Codes` VALUES (291, 'SDD', 'Sudanese dinar');
INSERT INTO `Currency_Codes` VALUES (292, 'SEK', 'Swedish krona');
INSERT INTO `Currency_Codes` VALUES (293, 'SGD', 'Singapore dollar');
INSERT INTO `Currency_Codes` VALUES (294, 'SHP', 'Saint Helena pound');
INSERT INTO `Currency_Codes` VALUES (295, 'SIT', 'Slovene tolar');
INSERT INTO `Currency_Codes` VALUES (296, 'SKK', 'Slovak koruna');
INSERT INTO `Currency_Codes` VALUES (297, 'SLL', 'Sierra Leonean leone');
INSERT INTO `Currency_Codes` VALUES (298, 'SOS', 'Somali shilling');
INSERT INTO `Currency_Codes` VALUES (299, 'SRD', 'Suriname dollar (since 2004-01-01)');
INSERT INTO `Currency_Codes` VALUES (300, 'STD', 'São Tomé and Príncipe dobra');
INSERT INTO `Currency_Codes` VALUES (301, 'SYP', 'Syrian pound');
INSERT INTO `Currency_Codes` VALUES (302, 'SZL', 'Swaziland lilangeni');
INSERT INTO `Currency_Codes` VALUES (303, 'THB', 'Thai baht');
INSERT INTO `Currency_Codes` VALUES (304, 'TJS', 'Tajikistani somoni');
INSERT INTO `Currency_Codes` VALUES (305, 'TMM', 'Turkmen manat');
INSERT INTO `Currency_Codes` VALUES (306, 'TND', 'Tunisian dinar');
INSERT INTO `Currency_Codes` VALUES (307, 'TOP', 'Tongan Pa''anga');
INSERT INTO `Currency_Codes` VALUES (308, 'TRY', 'New Turkish lira');
INSERT INTO `Currency_Codes` VALUES (309, 'TTD', 'Trinidad and Tobago dollar');
INSERT INTO `Currency_Codes` VALUES (310, 'TWD', 'New Taiwan dollar');
INSERT INTO `Currency_Codes` VALUES (311, 'TZS', 'Tanzanian shilling');
INSERT INTO `Currency_Codes` VALUES (312, 'UAH', 'Ukrainian hryvnia');
INSERT INTO `Currency_Codes` VALUES (313, 'UGX', 'Ugandan shilling');
INSERT INTO `Currency_Codes` VALUES (314, 'USD', 'United States dollar');
INSERT INTO `Currency_Codes` VALUES (315, 'UYU', 'Uruguayan peso');
INSERT INTO `Currency_Codes` VALUES (316, 'UZS', 'Uzbekistani som');
INSERT INTO `Currency_Codes` VALUES (317, 'VEB', 'Venezuelan bolívar');
INSERT INTO `Currency_Codes` VALUES (318, 'VND', 'Viet Nam dong');
INSERT INTO `Currency_Codes` VALUES (319, 'VUV', 'Vanuatu vatu');
INSERT INTO `Currency_Codes` VALUES (320, 'WST', 'Samoa Tala');
INSERT INTO `Currency_Codes` VALUES (321, 'YER', 'Yemeni rial');
INSERT INTO `Currency_Codes` VALUES (322, 'ZAR', 'South African rand');
INSERT INTO `Currency_Codes` VALUES (323, 'ZMK', 'Zambian kwacha');
INSERT INTO `Currency_Codes` VALUES (324, 'ZWD', 'Zimbabwe dollar');
-- --------------------------------------------------------
--
-- Table structure for table `Customers`
--
CREATE TABLE `Customers` (
`record_number` int(11) NOT NULL auto_increment,
`First_Name` varchar(50) NOT NULL default '',
`Last_Name` varchar(50) NOT NULL default '',
`Company` varchar(50) NOT NULL default '',
`VAT_Registration` varchar(25) NOT NULL default '',
`Street` varchar(100) NOT NULL default '',
`Street_2` varchar(100) NOT NULL default '',
`City` varchar(100) NOT NULL default '',
`State_or_Province` varchar(100) NOT NULL default '',
`State_Other` varchar(25) NOT NULL default '',
`Postal_Code` varchar(25) NOT NULL default '',
`Country` varchar(100) NOT NULL default '',
`Email_Address` varchar(100) NOT NULL default '',
`Email_Preference` varchar(4) NOT NULL default '',
`Phone` varchar(25) NOT NULL default '0',
`Fax` varchar(25) NOT NULL default '',
`Username` varchar(32) NOT NULL default '',
`Password` varchar(32) NOT NULL default '',
`Group_Membership` text NOT NULL,
`Theme` tinyint(11) NOT NULL default '0',
PRIMARY KEY (`record_number`),
UNIQUE KEY `Email_Address` (`Email_Address`)
) TYPE=MyISAM AUTO_INCREMENT=40 ;
--
-- Dumping data for table `Customers`
--
INSERT INTO `Customers` VALUES (32, 'Admin', 'Account', '', '', '123 Squirrel Drive.', '', 'Beverly Hills', '7', '', '90210', '180', 'youremail@example.com', 'HTML', '555-409-4987', '', 'admin', '5f4dcc3b5aa765d61d8327deb882cf99', '1', 11);
-- --------------------------------------------------------
-- --------------------------------------------------------
--
-- Table structure for table `Discounts`
--
CREATE TABLE `Discounts` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(255) NOT NULL default '',
`Description` text NOT NULL,
`Image` varchar(255) NOT NULL default '',
`Advertise` tinyint(4) NOT NULL default '0',
`Advertise_Conditions` tinyint(4) NOT NULL default '0',
`Discount_What` tinyint(1) NOT NULL default '0',
`Products` text NOT NULL,
`Categories` text NOT NULL,
`Price_Label` varchar(50) NOT NULL default '',
`Display_Products_With` varchar(10) NOT NULL default '',
`Buy_X_Get_Y` tinyint(1) NOT NULL default '0',
`Buy_X` int(6) NOT NULL default '0',
`Get_Y` int(6) NOT NULL default '0',
`Enforce_Y` tinyint(1) NOT NULL default '0',
`Limit_Use` tinyint(1) NOT NULL default '0',
`Limit_Use_To` smallint(2) NOT NULL default '0',
`Limit_Use_Per` varchar(25) NOT NULL default '',
`Price_Is` tinyint(1) NOT NULL default '0',
`Order_Discount` decimal(10,2) NOT NULL default '0.00',
`Order_Discount_Is` tinyint(1) NOT NULL default '0',
`Exact_Price` decimal(10,2) NOT NULL default '0.00',
`Reduced_Price` decimal(10,2) NOT NULL default '0.00',
`Reduced_Price_Is` tinyint(1) NOT NULL default '0',
`Offer_When_1` varchar(35) NOT NULL default '0',
`Operator_1` varchar(8) NOT NULL default '0',
`Start_Value_1` varchar(255) NOT NULL default '',
`End_Value_1` varchar(255) NOT NULL default '',
`Start_Date_1` datetime NOT NULL default '0000-00-00 00:00:00',
`End_Date_1` datetime NOT NULL default '0000-00-00 00:00:00',
`Group_1` text NOT NULL,
`Country_1` text NOT NULL,
`Product_Condition_1` text NOT NULL,
`Category_Condition_1` text NOT NULL,
`State_1` text NOT NULL,
`Offer_When_2` varchar(35) NOT NULL default '',
`Operator_2` varchar(8) NOT NULL default '',
`Start_Value_2` varchar(255) NOT NULL default '',
`End_Value_2` varchar(255) NOT NULL default '',
`Start_Date_2` datetime NOT NULL default '0000-00-00 00:00:00',
`End_Date_2` datetime NOT NULL default '0000-00-00 00:00:00',
`Group_2` text NOT NULL,
`Country_2` text NOT NULL,
`Product_Condition_2` text NOT NULL,
`Category_Condition_2` text NOT NULL,
`State_2` text NOT NULL,
`Offer_When_3` varchar(35) NOT NULL default '',
`Operator_3` varchar(8) NOT NULL default '',
`Start_Value_3` varchar(255) NOT NULL default '',
`End_Value_3` varchar(255) NOT NULL default '',
`Start_Date_3` datetime NOT NULL default '0000-00-00 00:00:00',
`End_Date_3` datetime NOT NULL default '0000-00-00 00:00:00',
`Group_3` text NOT NULL,
`Country_3` text NOT NULL,
`Product_Condition_3` text NOT NULL,
`Category_Condition_3` text NOT NULL,
`State_3` text NOT NULL,
`Offer_When_4` varchar(35) NOT NULL default '',
`Operator_4` varchar(8) NOT NULL default '',
`Start_Value_4` varchar(255) NOT NULL default '',
`End_Value_4` varchar(255) NOT NULL default '',
`Start_Date_4` datetime NOT NULL default '0000-00-00 00:00:00',
`End_Date_4` datetime NOT NULL default '0000-00-00 00:00:00',
`Group_4` text NOT NULL,
`Country_4` text NOT NULL,
`Product_Condition_4` text NOT NULL,
`Category_Condition_4` text NOT NULL,
`State_4` text NOT NULL,
`Offer_When_5` varchar(35) NOT NULL default '',
`Operator_5` varchar(8) NOT NULL default '',
`Start_Value_5` varchar(255) NOT NULL default '',
`End_Value_5` varchar(255) NOT NULL default '',
`Start_Date_5` datetime NOT NULL default '0000-00-00 00:00:00',
`End_Date_5` datetime NOT NULL default '0000-00-00 00:00:00',
`Group_5` text NOT NULL,
`Country_5` text NOT NULL,
`Product_Condition_5` text NOT NULL,
`Category_Condition_5` text NOT NULL,
`State_5` text NOT NULL,
`Show_Condition_1` tinyint(1) NOT NULL default '0',
`Show_Condition_2` tinyint(1) NOT NULL default '0',
`Show_Condition_3` tinyint(1) NOT NULL default '0',
`Show_Condition_4` tinyint(1) NOT NULL default '0',
`Show_Condition_5` tinyint(1) NOT NULL default '0',
`Show_Which_Condition_Formula` tinyint(1) NOT NULL default '0',
`Condition_Formula_Simple` char(3) NOT NULL default '',
`Condition_Formula_Advanced` text NOT NULL,
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=44 ;
--
-- Dumping data for table `Discounts`
--
INSERT INTO `Discounts` VALUES (39, 'Patriots Sale', 'From now until the end of the season, save 15 % on all Patriots apparel when you use the coupon code PATSWIN.', 'discounts/39_image.gif', 1, 0, 2, '282', '', 'Sale Price:', 'discount', 0, 0, 0, 0, 0, 0, 'order', 2, 0.00, 1, 0.00, 15.00, 1, 'coupon', '=', 'PATSWIN', '', '2005-07-06 00:00:00', '2005-07-06 00:00:00', '', '', '', '', '', 'null', '<', '', '', '2005-07-06 00:00:00', '2005-07-06 00:00:00', '', '', '', '', '', 'null', '<', '', '', '2005-07-06 00:00:00', '2005-07-06 00:00:00', '', '', '', '', '', 'null', '<', '', '', '2005-07-06 00:00:00', '2005-07-06 00:00:00', '', '', '', '', '', 'null', '<', '', '', '2005-07-06 00:00:00', '2005-07-06 00:00:00', '', '', '', '', '', 1, 0, 0, 0, 0, 0, 'AND', '');
INSERT INTO `Discounts` VALUES (40, 'Hammermill Paper', 'Save $2.00 per case of Hammermill Paper when you buy three or more cases before December 31, 2010.', 'discounts/40_image.gif', 1, 1, 2, '284', '', 'Sale Price:', 'discount', 0, 0, 0, 0, 0, 0, 'order', 2, 0.00, 1, 7.00, 2.00, 2, 'date', '<', '3', '', '2010-12-31 00:00:00', '2005-07-06 00:00:00', '', '', '284', '', '', 'null', '<', '', '', '2005-07-06 00:00:00', '2005-07-06 00:00:00', '', '', '', '', '', 'null', '<', '', '', '2005-07-06 00:00:00', '2005-07-06 00:00:00', '', '', '', '', '', 'null', '<', '', '', '2005-07-06 00:00:00', '2005-07-06 00:00:00', '', '', '', '', '', 'null', '<', '', '', '2005-07-06 00:00:00', '2005-07-06 00:00:00', '', '', '', '', '', 1, 0, 0, 0, 0, 0, 'AND', '');
INSERT INTO `Discounts` VALUES (41, '20% Off Sale', '20% off anniversary sale! What a deal!\r\n
\r\nLorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed sed nisi vel nibh viverra condimentum. Integer imperdiet. Aenean quam. Nulla ac massa sed ante tincidunt sollicitudin. Curabitur sit amet nisi. Morbi quam. Praesent laoreet, libero eu tincidunt euismod, turpis justo feugiat augue, nec egestas mi arcu in tortor. Pellentesque at pede. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed feugiat mauris quis dui. Suspendisse congue facilisis velit. Maecenas dictum, leo non blandit mollis, erat dui pharetra nibh, non nonummy ante erat eu turpis. Quisque non felis. Praesent dolor. Nullam consectetuer blandit justo. Quisque in elit dapibus ante rhoncus vulputate. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae.', 'discounts/41_image.png', 1, 1, 3, '276', '', 'Sale Price:', 'discount', 1, 0, 0, 0, 0, 0, 'order', 2, 0.00, 1, 0.00, 25.00, 1, 'date', 'between', '', '', '2005-08-25 00:00:00', '2005-08-31 00:00:00', '', '', '', '', '', 'coupon', '=', 'AYQW8Z', '', '2005-08-25 00:00:00', '2005-08-25 00:00:00', '', '', '', '', '', 'null', '<', '', '', '2005-08-25 00:00:00', '2005-08-25 00:00:00', '', '', '', '', '', 'null', '<', '', '', '2005-08-25 00:00:00', '2005-08-25 00:00:00', '', '', '', '', '', 'null', '<', '', '', '2005-08-25 00:00:00', '2005-08-25 00:00:00', '', '', '', '', '', 0, 1, 0, 0, 0, 0, 'AND', '');
-- --------------------------------------------------------
--
-- Table structure for table `Field_Definition`
--
CREATE TABLE `Field_Definition` (
`record_number` int(11) NOT NULL auto_increment,
`Table_Name` varchar(100) NOT NULL default '',
`Field_Name` varchar(50) NOT NULL default '',
`Display_As` text NOT NULL,
`Select_For_Display` text NOT NULL,
`Move_Top` tinyint(1) NOT NULL default '0',
`Move_Up` tinyint(1) NOT NULL default '0',
`Move_Down` tinyint(1) NOT NULL default '0',
`Move_Bottom` tinyint(1) NOT NULL default '0',
`Show_Time` tinyint(4) NOT NULL default '0',
`Link_Text` varchar(255) NOT NULL default '',
`Descriptor` varchar(250) NOT NULL default '',
`Input_Choices_Source` varchar(50) NOT NULL default '',
`Choices_Source_Table` varchar(50) NOT NULL default '',
`Choices_Source_Field` varchar(50) NOT NULL default '',
`Input_Choices` text NOT NULL,
`Input_Choices_Formula` text NOT NULL,
`Select_Size` tinyint(4) NOT NULL default '0',
`Allow_Multiple_Values` tinyint(4) NOT NULL default '0',
`Choices_per_line` tinyint(10) NOT NULL default '0',
`Width` int(3) NOT NULL default '0',
`Height` int(3) NOT NULL default '0',
`Wrap` tinyint(1) NOT NULL default '0',
`Use_Rich_Text` tinyint(1) NOT NULL default '0',
`RT_Standard` tinyint(1) NOT NULL default '0',
`RT_Advanced` tinyint(1) NOT NULL default '0',
`RT_Formatting` tinyint(1) NOT NULL default '0',
`Path` varchar(100) NOT NULL default '',
`Image_Autogenerate` tinyint(1) NOT NULL default '0',
`Image_Browse` tinyint(1) NOT NULL default '0',
`Default_Checkbox_Value` tinyint(1) NOT NULL default '0',
`Default_Value` text NOT NULL,
`Show_When` text NOT NULL,
`Read_Only_When` text NOT NULL,
`Toggle_Vis_on_Change` tinyint(1) NOT NULL default '0',
`Submit_on_Change` tinyint(1) NOT NULL default '0',
`Break_After` tinyint(1) NOT NULL default '0',
`Read_Only` tinyint(1) NOT NULL default '0',
`No_Descriptor` tinyint(1) NOT NULL default '0',
`Style` text NOT NULL,
`onChange` text NOT NULL,
`Help` text NOT NULL,
`Precede_With` text NOT NULL,
`Follow_With` text NOT NULL,
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=738 ;
--
-- Dumping data for table `Field_Definition`
--
INSERT INTO `Field_Definition` VALUES (2, 'Field_Definition', 'Table_Name', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Table Names', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 1, 1, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (3, 'Field_Definition', 'Field_Name', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Names', '', '', '$Table_Name', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Table_Name != "null";', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (4, 'Field_Definition', 'Display_As', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', 'null', '', 'Hidden Field,No Field,Link to Record,Text Only,Text Input,Select Input,Checkbox Input,Radio Input,Textarea Input,Image Upload,Date Picker,Password,Relationship', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 1, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (5, 'Field_Definition', 'Input_Choices_Source', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', 'null', '', 'Table Names,Field Names,Products,Categories,Image Field Names,Field Values,Comma Seperated Values,Formula', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Display_As && $Display_As != "Textarea Input" && $Display_As != "Link to Record";', '', 1, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (6, 'Test', 'Test_Field', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', 'Customers', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (7, 'Table_Definition', 'Table_Fields', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'Field Names', '', '', '$Table_Name', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Table_Name', '', 0, 0, 1, 0, 0, '', '', 'Any fields that are checked of will be displayed when this table is show in the administration section. This is primarily used for eliminating fields from being displayed that aren''t useful when viewing multiple records in the table.', '', '');
INSERT INTO `Field_Definition` VALUES (8, 'Table_Definition', 'Record_Fields', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'Field Names', '', '', '$Table_Name', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Table_Name', '', 0, 0, 1, 0, 0, '', '', 'Any fields that are checked off will be displayed when a record from this table is being edited in the administration section. This is primarily used for eliminating fields from being displayed that aren''t useful when viewing records in the table.', '', '');
INSERT INTO `Field_Definition` VALUES (9, 'Field_Definition', 'Toggle_Vis_on_Change', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Display_As && $Display_As != "Textarea Input";', '', 0, 0, 0, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (10, 'Field_Definition', 'Default_Checkbox_Value', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Display_As == "Checkbox Input";', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (11, 'Field_Definition', 'Break_After', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (12, 'Payment_Gateways', 'Enabled', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'Checking this field will enable this gateway in Squirrelcart.', '', '');
INSERT INTO `Field_Definition` VALUES (13, 'File_Uploads', 'Table_Name', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Table Names', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (14, 'File_Uploads', 'Field_Name', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Names', '', '', '$Table_Name', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', 'isset($Table_Name) && $Table_Name != "null";', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (15, 'Arrays', 'Table_Name', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Table Names', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (16, 'Arrays', 'Field_Name', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Names', '', '', '$Table_Name', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', 'isset($Table_Name) && $Table_Name != "null";', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (17, 'Payment_Methods', 'Enabled', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (18, 'Products', 'Show_Base_Price', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (19, 'Products', 'Not_For_Sale', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'This field is for the purpose of temporarily marking an item "not for sale", but still keeps it in the database for future use.', '', '');
INSERT INTO `Field_Definition` VALUES (20, 'Product_Options', 'Show_Detail', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (21, 'Product_Options', 'Break', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Break After Option Fields', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'Determines whether a new line will be started (HTML <br> tag) immediately after the option.', '', '');
INSERT INTO `Field_Definition` VALUES (22, 'Product_Options', 'Show_Scrollbars', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (23, 'Product_Options', 'Change_Weight', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (24, 'Product_Options', 'Resizable', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (25, 'Shipping_Rules', 'Enabled', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (26, 'Shipping_Couriers', 'Enabled', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'If you wish to offer shipping services from this courier, check this field.', '', '');
INSERT INTO `Field_Definition` VALUES (27, 'Relationship', 'Track_Position', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (28, 'Field_Definition', 'Choices_Source_Table', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Source Table', 'Table Names', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Input_Choices_Source == "Field Values" || $Display_As == "Link to Record";', '', 1, 1, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (29, 'Field_Definition', 'Choices_Source_Field', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Source Field', 'Field Names', '', '', '$Choices_Source_Table', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '($Input_Choices_Source == "Field Values") && $Choices_Source_Table != "null";', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (109, 'Store_Information', 'Email_Order_To_Customer', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 0, 0, 0, '', '', 'When checked, Squirrelcart will send an email to the customer after they place an order.', '', '');
INSERT INTO `Field_Definition` VALUES (110, 'Store_Information', 'Email_Order_To_Merchant', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 0, 0, 0, '', '', 'If checked, Squirrelcart will send an email to the merchant when an order is placed.', '', '');
INSERT INTO `Field_Definition` VALUES (108, 'Payment_Methods', 'Payment_Email_Address', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 200, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Show_Payment_Email == 1;', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (35, 'Config', 'Theme', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Themes', 'Name', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (36, 'Customers', 'Country', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Countries', 'name', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (37, 'Customers', 'State_or_Province', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'States', 'Name', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (38, 'Customers', 'Theme', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Themes', 'Name', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (39, 'Functions', 'Mode', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Function_Modes', 'Name', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 1, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (40, 'Payment_Methods', 'Type', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'Payment_Method_Types', 'Name', '', '$options[''Credit Card''] = 1;\r\n$options[''Custom''] = 2;\r\n$options[''Electronic Check''] = 4;\r\n$options[''Other''] = 3;', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '$record_number < 500 && $record_number ', 0, 1, 1, 1, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (41, 'Product_Option_Values', 'Option_Name', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Product_Options', 'Name', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (43, 'Shipping_Methods', 'Courier', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Shipping_Couriers', 'Name', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (44, 'Shipping_Rules', 'Apply_to_Shipping_Type', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Shipping_Couriers', 'Name', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 1, 1, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (45, 'Shipping_Rules', 'Apply_When', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''Order total is''] = 1;\r\n$options[''Weight total is''] = 2;\r\n$options[''Number of products is''] = 3;\r\n$options[''Privelage level is''] = 4;\r\n$options[''Country is''] = 5;\r\n$options[''State or Province is''] = 6;\r\n$options[''City is''] = 7;', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 1, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (46, 'Shipping_Rules', 'Apply_to_Shipping_Method', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'Shipping_Methods', '', '', '$choices = get_field_array("Shipping_Couriers","Services","record_number = ''".$rdata[''Apply_to_Shipping_Type'']."''","^^",1);\r\n\r\nforeach($choices as $choice) {\r\n $name = get_field_val("Shipping_Methods","Method","record_number = ''$choice''");\r\n\r\n $options[$name] = $choice;\r\n}', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Apply_to_Shipping_Type', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (620, 'Store_Information', 'Step_1_Label', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 40, 1, 1, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the label that will appear for this step in the checkout progress indicator. Default is "Step 1"', '', '');
INSERT INTO `Field_Definition` VALUES (47, 'Store_Information', 'State_or_Province', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'States', 'Name', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (48, 'Store_Information', 'Country', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Countries', 'name', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (49, 'Styles', 'Stylesheet', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Stylesheets', 'Name', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (50, 'Products', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 650, 200, 1, 1, 1, 1, 1, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 1, '', '', 'This is the description that will show up in the cart for customers looking at this product. Any text or HTML is allowed.', '', '');
INSERT INTO `Field_Definition` VALUES (51, 'Admin_Options', 'Value3', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 300, 200, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (53, 'Table_Definition', 'Header', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 300, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (54, 'Functions', 'Function_Header', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 600, 100, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (55, 'Functions', 'Function_Footer', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 600, 100, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (56, 'Functions', 'Function', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 600, 200, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (57, 'Table_Definition', 'Footer', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 100, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (558, 'Categories', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 650, 200, 1, 1, 1, 1, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 1, '', '', 'This is the description that will show up in the cart for customers looking at this category. Any text or HTML is allowed.', '', '');
INSERT INTO `Field_Definition` VALUES (59, 'Admin_Options', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 300, 100, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (60, 'Themes', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 300, 100, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (111, 'Store_Information', 'Email_Credit_Card_Number', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 1, 0, 0, 0, 0, '', '', 'This option is not recommend, as it is not as secure as using a payment gateway. If you check this box, and a customer pays by credit card, the cc number and exp. date will be included at the bottom of the email that gets sent to the store owner. For a more secure way to implement, see the help for the "Transpose Number" field.', '', '');
INSERT INTO `Field_Definition` VALUES (63, 'Categories', 'Additional_Text', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 300, 100, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (112, 'Store_Information', 'Transpose_Number', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 120, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Email_Credit_Card_Number == 1', '', 0, 0, 1, 0, 0, '', '', 'If you have the "Email Credit Card Numbers" enabled, any number you enter in here will be added to the 16 digit credit card number before it is included in the order notification email that gets sent to the store owner. If you use the Email Credit Card Number feature, we recommend you use this feature as well, with at least a 12 digit number of your choosing. When you receive the transposed CC number in email, you can use the "-TN" button on the built in calculator to subtract your Transpose Number from the Transposed CC Number, and will retrieve the original CC number.', '', '');
INSERT INTO `Field_Definition` VALUES (201, 'Products', 'Postage_Is', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Postage is', 'Formula', 'null', '', '', '$options[''calculated using shipping rules (default)''] = 0;\r\n$options[''a set amount...''] = 1;\r\n', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Ship_Using == 2', '', 1, 0, 1, 0, 0, '', '', 'This field is used to determine where the postage for this item will be obtained from. The default is "calculated using shipping rules". If you wish to specify a set amount for the shipping cost for this item, set this field to "a set amount...". A new field will appear called "Postage" in which you can enter the postage amount.', '', '');
INSERT INTO `Field_Definition` VALUES (67, 'Table_Definition', 'Table_Name', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Table Names', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 1, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (68, 'Cart_Images', 'Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'squirrelcart/images/cart', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (69, 'Categories', 'Image_of_Name', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'categories', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This image is optional. It is used to replace the name of the image with an image of that name. This can be used if you would like to display the category name in a special way that you could not do with plain text. If you upload an image in this field, it will automatically appear as the name of the category, replacing the plain text that you have in the "Name" field.', '', '');
INSERT INTO `Field_Definition` VALUES (70, 'Categories', 'Thumbnail_Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'categories', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This image is optional. It is not used anywhere in the cart by default. If you wish to display this image, add this text to any category template:
\r\n=$Thumbnail_Image?>', '', '');
INSERT INTO `Field_Definition` VALUES (71, 'Categories', 'Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'categories', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This is the main image of the category. By default, it appears to the left of the category name in the main content area.', '', '');
INSERT INTO `Field_Definition` VALUES (72, 'Payment_Methods', 'Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'squirrelcart/images/cart', 1, 1, 0, '', '', '', 0, 0, 1, 0, 1, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (76, 'Products', 'Featured_Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'products', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is optional, and by default does not appear anywhere in your store. You can access this image in any product template using the code:\r\n
\r\n=$Thumbnail_Image?>', '', '');
INSERT INTO `Field_Definition` VALUES (73, 'Products', 'Large_Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'products', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is optional, and should contain your largest product image. If you have an image specified for this field, it can be seen by the customer by:\r\n\r\n
\r\n1. Clicking on a category \r\n2. Clicking on a product \r\n3. Clicking on the product''s regular image', '', '');
INSERT INTO `Field_Definition` VALUES (77, 'Options', 'Image_of_Name', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'options', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is optional. If set, it is used in conjunction with the setting "Show Detail". The detail for an option is shown via a link, when viewing a product. If you specify an image for this field, the text of the option name will be replaced by this image at the top of the option detail popup window.', '', '');
INSERT INTO `Field_Definition` VALUES (78, 'Product_Option_Values', 'Thumbnail_Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'product_options', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (79, 'Product_Option_Values', 'Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'product_options', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (80, 'Field_Definition', 'Precede_With', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 400, 200, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (81, 'Field_Definition', 'Follow_With', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 400, 200, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (82, 'Products', 'Base_Price', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, 'text-align: right;', '', 'This is the price you want the product to start out at. If you specify price altering options, they will be added to the base price. Do not include a currency symbol! Currency symbol is included automatically, and can be changed in the Admin Options table.
\r\nExample: \r\n155.30', '', '');
INSERT INTO `Field_Definition` VALUES (83, 'Products', 'Brief_Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 200, 50, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is optional. One of the best uses of this field is in the form the users see at checkout, and specifically when showing the details of an item on the checkout page, via the template named "view_cart_item.php". If you have a rather long description of a product, you can add a brief description in this field for the purpose of showing the shorter description wherever you need it. If you use the $Brief_Description variable in a template, and the field has not been filled out, it will be replaced by the contents of the "Description" field.', '', '');
INSERT INTO `Field_Definition` VALUES (84, 'Products', 'Weight', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', 'lbs');
INSERT INTO `Field_Definition` VALUES (85, 'Products', 'Height', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', '', '', 'inches');
INSERT INTO `Field_Definition` VALUES (86, 'Products', 'Width', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', '', '', 'inches');
INSERT INTO `Field_Definition` VALUES (87, 'Products', 'Depth', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (88, 'Products', 'Name', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'Name of the product for your reference. If you do not set "Display Name" this name will also be used for the product in the storefront.', '', '');
INSERT INTO `Field_Definition` VALUES (91, 'Products', 'Product_Code', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'This field is optional, and for your use only. If the product had a SKU number, or some other type of tracking number, you could list it here.', '', '');
INSERT INTO `Field_Definition` VALUES (92, 'Products', 'Date_Added_to_Cart', 'Date Picker', '', 1, 1, 1, 1, 1, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, ' date("Y-m-d H:i:s"); ?>', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (552, 'REL_Products__Warehouses', 'Warehouses_rn', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Warehouse', 'Formula', 'null', '', '', '$def_choice = $SC[''settings''][''Street'']." -- ".$SC[''settings''][City].", ".get_field_val("States","Abbreviation","record_number = ".$SC[''settings''][''State_or_Province''])." ".$SC[''settings''][''Postal_Code''];\r\n\r\n$options[$def_choice] = 1;\r\n\r\n$warehouses = get_records("Warehouses","*");\r\nforeach($warehouses as $warehouse) {\r\nif($warehouse[''record_number''] != 1) {\r\n $choice_str = $warehouse[''Street'']." -- ".$warehouse[City].", ".get_field_val("States","Abbreviation","record_number = ".$warehouse[''State_or_Province''])." ".$warehouse[''Postal_Code''];\r\n $options[$choice_str] = $warehouse[''record_number''];\r\n}\r\n}\r\n', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, '', '', 'This field is used to indicate which location the stock resides at.', '', '');
INSERT INTO `Field_Definition` VALUES (93, 'Field_Definition', 'Default_Value', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 200, 50, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '$Display_As != "Image Upload";', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (96, 'Categories', 'Do_not_display', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 1, 0, 1, 0, 0, '', '', 'The purpose of this field is to give you the ability to have a category no longer display in your store. This is especially useful for seasonal categories.', '', '');
INSERT INTO `Field_Definition` VALUES (97, 'Sales_Tax', 'State', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'States', 'Name', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This is the state that you will charge shipping for.', '', '');
INSERT INTO `Field_Definition` VALUES (98, 'Sales_Tax', 'Tax', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Tax on Products', 'null', '', '', '', '', 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '0.00', '', '', 0, 0, 1, 0, 0, 'text-align: right', '', 'This is the percantage of tax to charge when shipping items to this state.', '', '%');
INSERT INTO `Field_Definition` VALUES (99, 'Products', 'Tax_Item', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', 'null', '', 'yes,no,category default', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 'category default', '', '', 1, 0, 0, 0, 0, '', '', 'Setting this value to "yes" will apply a sales tax charge to this item IF you have a Sales Tax record for the state the the order is being shipped to (in the Sales Tax table).\r\n\r\nSetting this value to "no" will make this item not receive a tax.\r\n\r\nSetting to "category default" will use whatever option you have set in this items category.', '', '');
INSERT INTO `Field_Definition` VALUES (100, 'Field_Definition', 'Choices_per_line', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '3', '$Display_As == "Checkbox Input" || $Display_As == "Radio Input";', '', 0, 0, 1, 0, 0, '', '', 'This field should contain the number of checkboxes or radio buttons you want to have on a single line, before breaking to the next. If you want a single column of them, then this value would be 1. If you want as many as you can fit in a single line, then leave this field blank.', '', '');
INSERT INTO `Field_Definition` VALUES (101, 'Categories', 'Tax_Items', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', '', '', 'yes,no', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 'yes', '', '', 1, 0, 0, 0, 0, '', '', 'Whatever you set this to will be the default for products in this category. If set to "yes", than charge will be applied to the item IF the item is set to use the "category default".', '', '');
INSERT INTO `Field_Definition` VALUES (719, 'Navigation_Block', 'Name', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'Name of Navigation Block. This is also used to call the block using the show_nav_block() function.', '', '');
INSERT INTO `Field_Definition` VALUES (103, 'Navigation_Block', 'Header', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 100, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is shown as the title of the nav block. If this is not populated, the Name field is used instead.', '', '');
INSERT INTO `Field_Definition` VALUES (104, 'Field_Definition', 'Path', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 300, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Display_As == "Image Upload";', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (106, 'Navigation_Block', 'Content', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 200, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This should contain the content to display inside the nav box. PHP, HTML, and plain text are supported.', '', '');
INSERT INTO `Field_Definition` VALUES (124, 'Store_Information', 'Email_Orders_To', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'Set this value to the email address you want to have orders mailed to. You can use multiple addresses if you separate them with commas (do not put one at the end!).', '', '');
INSERT INTO `Field_Definition` VALUES (117, 'Store_Information', 'Currency_Symbol', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (113, 'Store_Information', 'Min_Username_Length', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (114, 'Store_Information', 'Min_Password_Length', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (115, 'Store_Information', 'Forgotten_Password_Limit', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'Set value equal to the number of times you want someone to be able to submit the forgotten password form, in attempts to be emailed a new password. if you leave it blank, the value will default to 8.', '', '');
INSERT INTO `Field_Definition` VALUES (116, 'Store_Information', 'Authorized_Hosts', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'Set value equal to a comma separated list of all authorized host names that can submit data (add items to cart, etc). Do not add a comma at the end of the list. If you don''t want this security option, leave "Value" blank. If left blank, authorized hosts will default to what you specify as your www_root and secure_root in the config file. This is the default configuration.', '', '');
INSERT INTO `Field_Definition` VALUES (118, 'Store_Information', 'Weight_Symbol', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (119, 'Store_Information', 'Bread_Crumb_Seperator', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Bread Crumb Separator', 'null', 'null', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This is the text or HTML that you want to use to seperate each link in the bread crumb navigation. This is the navigation you see in the store when you are browsing through categories, and looks like this example:\r\n\r\nProduct Catalog : Books : Fiction', '', '');
INSERT INTO `Field_Definition` VALUES (120, 'Store_Information', 'Base_Price', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This value should be text or HTML that you want to display before the base price of an item in the cart.', '', '');
INSERT INTO `Field_Definition` VALUES (121, 'Store_Information', 'Products_per_Page', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'This is the default value for number of products to show on a single page when this category is viewed. Leave this field blank to take the store default, which is specified on the store settings page.', '', '');
INSERT INTO `Field_Definition` VALUES (122, 'Store_Information', 'Records_per_Page', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'Set value equal to the number of records you want to display on a single page in the admin section.', '', '');
INSERT INTO `Field_Definition` VALUES (123, 'Store_Information', 'New', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'Value should be equal to the length in days to consider a product new. This is what triggers whether the "new" image shows up when viewing products, and what products appear in the "New Products" category.', '', '');
INSERT INTO `Field_Definition` VALUES (127, 'Address_Form_Settings', 'Required_Shipping_Fields', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', 'null', '', 'First_Name,Last_Name,Company,Street,Street_2,City,State_or_Province,State_Other,Postal_Code,Country,Email_Address,Phone,Fax,VAT_Registration,Address_Is,Special_Instructions', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'List of all required fields for shipping address form.', '
');
INSERT INTO `Field_Definition` VALUES (131, 'Address_Form_Settings', 'Shipping_Fields', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', 'null', '', 'First_Name,Last_Name,Company,Street,Street_2,City,State_or_Province,State_Other,Postal_Code,Country,Email_Address,Phone,Fax,VAT_Registration,Address_Is,Special_Instructions', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'List of all fields shown on shipping address form.', '', '');
INSERT INTO `Field_Definition` VALUES (172, 'Store_Information', 'Use_Version_Control', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, '', '', 'Enables or disables the use of Version Control. When enabled, your installation of Squirrelcart will compare the installed version to that of the most recent available, and indicate if an update is available.', '', '');
INSERT INTO `Field_Definition` VALUES (134, 'Store_Information', 'Default_Theme', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Themes', 'Name', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'This is the theme that users will see when they use your store. Themes are a way of customizing the look of your cart. They are located in the "squirrelcart/themes" folder.', '', '');
INSERT INTO `Field_Definition` VALUES (135, 'Store_Information', 'Add_to_Cart_Behavior', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', '', '', 'go to checkout,stay on product page', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field determines what will happen after a customer adds an item to the cart. If "go to checkout" is selected, than when you add an item to the cart, the customer will be taken to the checkout page. If "stay on product page" is selected, the customer will stay on the same page as from which they added the item to the cart, and they will get a message at the top of the page indicating that the item was added.', '', '');
INSERT INTO `Field_Definition` VALUES (136, 'Store_Information', 'Force_User_Creation', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'This field defaults to disabled. If enabled, when a customer checks out, and is not already logged in, they will be presented with the "New Account Form". This makes user creation mandatory for a purchase.', '', '');
INSERT INTO `Field_Definition` VALUES (137, 'Images', 'Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 1, 1, 0, '', 'isset($Name) || 1;', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (138, 'Images', 'Class', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (139, 'Field_Definition', 'Read_Only', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'If you check this field, it will make the defined field appear as read only to all non sc_developers.', '', '');
INSERT INTO `Field_Definition` VALUES (140, 'Images', 'Name', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 250, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 1, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (141, 'Store_Information', 'Previews_per_Page', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'If you are using the product preview feature, set this number to the number of items you would like to have displayed in the product preview. This is the navigation that is displayed by default to the right of a product''s detailed description, and lists links and thumbnails for other products in the category, for easier navigation.', '', '');
INSERT INTO `Field_Definition` VALUES (142, 'Groups', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 300, 150, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (143, 'Store_Information', 'Order_Products_By', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Names', '', '', 'Products', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'This is the field that the products will be sorted by in the store. If left blank, it will default to the product name.', '', '');
INSERT INTO `Field_Definition` VALUES (144, 'Store_Information', 'Order_Products_How', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', '', '', 'Ascending,Descending', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 'Ascending', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (145, 'Product_Options', 'Option_Type', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', '', '', 'Select Input,Text Input,Textarea Input', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 'Select Input', '', '', 1, 0, 1, 0, 0, '', '', 'The product options are displayed below the product to the customer, for them to choose. This field defines what type of field you would like this product to be.', '', '');
INSERT INTO `Field_Definition` VALUES (146, 'Product_Options', 'Field_Width', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Option_Type == "Textarea Input" || $Option_Type == "Text Input";', '', 0, 0, 0, 0, 0, '', '', 'This value should be set to the width of the text or textarea input you would like displayed for this option.', '', '');
INSERT INTO `Field_Definition` VALUES (147, 'Product_Options', 'Field_Height', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Option_Type == "Textarea Input";', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (148, 'Product_Options', 'Checkout_Popup_Width', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Option_Type == "Textarea Input" || $Option_Type == "Text Input";', '', 0, 0, 0, 0, 0, '', '', 'When a customer is viewing their order in the cart, the options that are either text or textarea inputs will be listed as links. When the customer clicks the link, a popup window opens, displaying the text that they entered for that particular text option. This value should be set to the width you would like that popup window to be.', '', '');
INSERT INTO `Field_Definition` VALUES (149, 'Product_Options', 'Checkout_Popup_Height', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Option_Type == "Textarea Input" || $Option_Type == "Text Input";', '', 0, 0, 1, 0, 0, '', '', 'When a customer is viewing their order in the cart, the options that are either text or textarea inputs will be listed as links. When the customer clicks the link, a popup window opens, displaying the text that they entered for that particular text option. This value should be set to the height you would like that popup window to be.', '', '');
INSERT INTO `Field_Definition` VALUES (150, 'Product_Options', 'Detail_Window_Width', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (151, 'Product_Options', 'Detail_Window_Height', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (152, 'Product_Options', 'Checkout_Popup_Scrollbars', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Scrollbars', 'null', '', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Option_Type == "Textarea Input" || $Option_Type == "Text Input";', '', 0, 0, 0, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (153, 'Product_Options', 'Checkout_Popup_Resizable', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Resizable', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Option_Type == "Textarea Input" || $Option_Type == "Text Input";', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (154, 'Payment_Gateways', 'Return_to_Storefront', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 1, 0, '', '', 'This box should be checked if the payment gateway supports returning to your site via a redirect. Changing this option from its default can cause problems with the cart, so only do so if absolutely necessary! Defaults are on a gateway by gateway basis.', '', 'Read the help for this field before changing!');
INSERT INTO `Field_Definition` VALUES (156, 'Shipping_Rules', 'Value', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 300, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Apply_When != 5 && $Apply_When != 6', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (157, 'Shipping_Rules', 'Country_Value', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Value', 'Field Values', 'Countries', 'name', '', '', 20, 1, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Apply_When == 5', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (158, 'Store_Information', 'Use_Inventory_Control', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 1, 0, 0, '', '', 'This feature keeps track of the quantity of each item you have in stock. To enable, check the check box. To disable, leave it unchecked.', '', '');
INSERT INTO `Field_Definition` VALUES (198, 'Payment_Gateways', 'Show_Password_Field', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'For programmatic use only. Only developers should see this field. Check it to have the "Account_Password" display for this record. Uncheck it to hide it.', '', '');
INSERT INTO `Field_Definition` VALUES (159, 'Store_Information', 'Session_Timeout', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'The value for this field should be a number equaling the amount of minutes a customer can be idle before their cart is abandoned. \r\n\r\nThis number is also the amount of time that the cart will wait before restocking items that where added to a cart but never purchased. This only happens when "Use Inventory Control" is enabled.\r\n\r\nThe default value for this field is 180.', '', 'minutes');
INSERT INTO `Field_Definition` VALUES (161, 'Payment_Gateways', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', 'Setup Instructions', 'null', 'null', '', '', '', 0, 0, 0, 400, 300, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 1, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (162, 'Payment_Gateways', 'Account_Password', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Show_Password_Field == 1', '', 0, 0, 1, 0, 0, '', '', 'Enter your account password here. Not all payment gateways require this. Squirrelcart will only use this field when the payment gateway requires both an "Account Name" and an "Account Password". In most cases, the account name is sufficient. Please see the documentation provided by your payment gateway for more information on whether or not you need to set this field.', '', '');
INSERT INTO `Field_Definition` VALUES (163, 'Store_Information', 'Out_of_Stock_Behavior', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'Out_of_Stock_Behaviors', 'Display_Choice', '', '$options[''display item as out of stock and allow customer to purchase it''] = 4;\r\n$options[''display item as out of stock and do not allow customer to purchase it''] = 3;\r\n$options[''display item in product catalog and allow customer to purchase it''] = 2;\r\n$options[''do not display item in product catalog''] = 1;', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '1', '$Use_Inventory_Control == 1;', '', 1, 0, 1, 0, 0, '', '', 'This fields controls how (or if) a product will be displayed in the store catalog if it is out of stock AND Use Inventory Control is enabled.', '', '');
INSERT INTO `Field_Definition` VALUES (164, 'Store_Information', 'Out_of_Stock_Indicator', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 300, 100, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '$Use_Inventory_Control == 1 && ($Out_of_Stock_Behavior == 3 || $Out_of_Stock_Behavior == 4)', '', 0, 0, 1, 0, 0, '', '', 'This field controls what is displayed to the customer in place of or addition to the "add to cart" button, if the item is out of stock. The field "Out of Stock Behavior" will control whether or not this text is displayed at all. This field will except text or HTML. ', '', '');
INSERT INTO `Field_Definition` VALUES (165, 'Store_Information', 'Account_Creation_Script', 'Textarea Input', '', 1, 1, 1, 1, 0, '', 'Account Creation', 'null', 'null', '', '', '', 0, 0, 0, 300, 30, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'Specify the name of the script you wish the cart to execute after the successful creation of a user account. If you wish to run more than one script, seperate each one with a new line. The path to the script is relative to the folder that your cart page is in. For example, if your cart page is in your web root, and the script you want to execute is in your squirrelcart folder, then you would set this field to something like this:
\r\nsquirrelcart/nameofscript.php
\r\nWarning: This is an advanced feature, and should be left blank under normal circumstances.', '', '');
INSERT INTO `Field_Definition` VALUES (166, 'Store_Information', 'Account_Modification_Script', 'Textarea Input', '', 1, 1, 1, 1, 0, '', 'Account Modification', '', '', '', '', '', 0, 0, 0, 300, 30, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'Specify the name of the script you wish the cart to execute after successful modification of an existing user account. If you wish to run more than one script, seperate each one with a new line. The path to the script is relative to the folder that your cart page is in. For example, if your cart page is in your web root, and the script you want to execute is in your squirrelcart folder, then you would set this field to something like this:
\r\nsquirrelcart/nameofscript.php
\r\nWarning: This is an advanced feature, and should be left blank under normal circumstances.', '', '');
INSERT INTO `Field_Definition` VALUES (167, 'Store_Information', 'Account_Deletion_Script', 'Textarea Input', '', 1, 1, 1, 1, 0, '', 'Account Deletion', 'null', 'null', '', '', '', 0, 0, 0, 300, 30, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'Specify the name of the script you wish the cart to execute after successful deletion of a user account. If you wish to run more than one script, seperate each one with a new line. The path to the script is relative to the folder that your cart page is in. For example, if your cart page is in your web root, and the script you want to execute is in your squirrelcart folder, then you would set this field to something like this:
\r\nsquirrelcart/nameofscript.php
\r\nWarning: This is an advanced feature, and should be left blank under normal circumstances!', '', '');
INSERT INTO `Field_Definition` VALUES (168, 'Store_Information', 'Maximum_Quantity', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'The default for this field is 1,000. Leave blank to accept the default. This field controls the maximum quantity allowed for a single item when it is added to the cart. The main purpose of this setting is to avoid ridiculous orders for millions of items, which could potentialy cause problems with payment systems.
\r\nImportant Note: Do not include commas in your value!!!', '', '');
INSERT INTO `Field_Definition` VALUES (171, 'Address_Form_Settings', 'Countries', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Countries', 'Name', '', '', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'All countries listed are from ISO standard 3166. Check off the countries that you will do business with. Default for the cart is to have all countries checked.', '', '');
INSERT INTO `Field_Definition` VALUES (170, 'Store_Information', 'Company_Name', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (199, 'Payment_Gateways', 'Authenticate_With', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', '', '', '', '$options[''Account Password''] = 1;\r\n$options[''Account Transaction Key''] = 2;\r\n', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Name == "Authorize.net"', '', 0, 0, 1, 0, 0, '', '', 'This field only applies to Authorize.net. You must specified which field you want to use to authenticate with their server. See your Authorize.net documentation for more information.', '', '');
INSERT INTO `Field_Definition` VALUES (200, 'Payment_Gateways', 'Transaction_Type', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''AUTH_CAPTURE''] = "AUTH_CAPTURE";\r\n$options[''AUTH_ONLY''] = "AUTH_ONLY";', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Show_AUTH_CAPT_Fields == 1;', '', 0, 0, 1, 0, 0, '', '', 'AUTH_CAPTURE: \r\nTransactions of this type will be sent for authorization. The transaction will be \r\nautomatically picked up for settlement if approved. This is the default transaction \r\ntype in the gateway. If no type is indicated when submitting transactions to the \r\ngateway, the gateway will assume that the transaction is of the type \r\nAUTH_CAPTURE.
\r\n\r\nAUTH_ONLY: \r\nTransactions of this type are submitted if the merchant wishes to validate the credit \r\ncard for the amount of the goods sold. If the merchant does not have goods in stock \r\nor wishes to review orders before shipping the goods, this transaction type should be \r\nsubmitted. The gateway will send this type of transaction to the financial institution \r\nfor approval. However this transaction will not be sent for settlement.
\r\nImportant note: If you have electronic checks enabled as a payment method, and your customer pays with a check, Squirrelcart will overide this field setting with "AUTH_CAPTURE", as "AUTH_ONLY" does not apply to echecks.\r\n\r\n\r\n\r\n', '', '');
INSERT INTO `Field_Definition` VALUES (202, 'Products', 'Postage', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Postage_Is == 1 && $Ship_Using == 2', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (203, 'Store_Information', 'Collect_CVV2', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Collect CVV2/CVC', 'null', '', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 0, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (204, 'Store_Information', 'CVV2_Required', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'CVV2/CVC is Required', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Collect_CVV2 == 1', '', 0, 0, 1, 0, 0, '', '', 'If this field is checked, then the cart will not allow a purchase to take place via credit card if the "Security Code" field is not filled in with a 3 or 4 digit number. This field does nothing unless "Collect CVV2/CVC" is also enabled.', '', '');
INSERT INTO `Field_Definition` VALUES (173, 'Store_Information', 'Delete_Unused_Images', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'By default, this field is checked. When checked, the cart will: \r\n \r\n- Delete images associated with Products, Categories, and Product Options when the record using them is also deleted \r\n- Delete images associated with Products, Categories, and Product Options when a new image is uploaded, and the original image is no longer associated with any other records
\r\nIf you uncheck this field, the cart will not delete unused images.\r\n', '', '');
INSERT INTO `Field_Definition` VALUES (174, 'Payment_Gateway_Connection_Methods', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 200, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (175, 'Payment_Gateways', 'Connection_Methods', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', 'Payment_Gateway_Connection_Methods', 'Name', 'Client side non-secure form POST,Client side secure form POST,Server to Server', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', 'security_level("Squirrelcart Developer")', '', 0, 0, 1, 0, 0, '', '', 'This field is for development use only! It controls what connection methods are offered for this particular gateway,specifically for the connection_method field.', '', '');
INSERT INTO `Field_Definition` VALUES (176, 'Payment_Gateways', 'Connection_Method', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', '', '', '', '$options = $Connection_Methods ;\r\n$options = explode("^^",$options);\r\n\r\n\r\nforeach($options as $option) $new_options[$option] = $option;\r\n$options = $new_options;', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 1, 0, 1, 0, 0, '', '', 'Set this field to the way you want the cart to connect to this gateway.
\r\n\r\n1. Server to Server communication \r\nServer at e-commerce site sends all order information to the Payment Gateway in the background via SSL (Secure Socket Layer). Payment Gateway sends information back to e-commerce server indicating the transaction status, and that information is then used to determine what message to issue to the customer. In this method, the customer never sees the URL for the Payment Gateway in their browser. The customer never leaves the site that they ordered from. This method requires that you have CURL installed, and that it be configured to use OpenSSL.
\r\n\r\n2. Client side secure form POST \r\nClient sends all order information via their browser to a secure page on the payment gateway site. This sometimes can appear the same to the customer as the first method, if the payment gateway supports a quick redirect back to the originating site. All payment information is entered at the e-commerce site. Because of this, this method requires that the e-commerce site have an SSL certificate installed, or have access to a shared SSL certificate.
\r\n\r\n3. Client side non-secure form POST \r\nThis method is used when the e-commerce site does not have SSL installed. Because of lack of SSL, there is no secure way for the e-commerce site to gather payment information. The order information is sent to via a form POST or a link to a secure URL at the Payment Gateway site. The client is then presented with a form in which they enter their payment information, and complete the order.
\r\nNote:not all gateways support all methods', '', '');
INSERT INTO `Field_Definition` VALUES (177, 'Field_Definition', 'Input_Choices_Formula', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 400, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '$Input_Choices_Source == "Formula";', '', 0, 0, 1, 0, 0, '', '', 'This field needs to set 2 variables: \r\n1. $choices - an array, where each element is a string containing the choice to display to the user
\r\n2. $values - an array where each element is a string containing the values corresponding to the choices in $choices.
In order to use USPS Web Tools Ã?â??Ã?®, you need to register with USPS. The main URL for USPS Web Tools is http://uspswebtools.com.
The link for registration, as of 2/23/2003 is http://www.uspsprioritymail.com/et_regcert.html.', ' ', '');
INSERT INTO `Field_Definition` VALUES (182, 'Shipping_Rules', 'State_Value', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Value', 'Field Values', 'States', 'Name', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Apply_When == 6', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (183, 'Shipping_Couriers', 'RTR_Username', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 125, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Real_Time_Rates', '', 0, 0, 0, 0, 0, '', '', 'Enter the username provided by this courier to access their rate information via the web.', '', '');
INSERT INTO `Field_Definition` VALUES (184, 'Shipping_Couriers', 'RTR_Password', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 125, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', ' $Real_Time_Rates && $record_number != 1', '', 0, 0, 1, 0, 0, '', '', 'Enter the password provided by this courier to access their rate information via the web.', '', '');
INSERT INTO `Field_Definition` VALUES (185, 'Shipping_Couriers', 'RTR_URL', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Real_Time_Rates', '', 0, 0, 1, 0, 0, '', '', 'Enter the URL provided by this courier to access their rate information via the web.', '', '');
INSERT INTO `Field_Definition` VALUES (186, 'Shipping_Methods', 'Max_Weight_lbs', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Max. Weight', 'null', 'null', '', '', '', 0, 0, 0, 35, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', '', '', 'lbs');
INSERT INTO `Field_Definition` VALUES (187, 'Shipping_Methods', 'Max_Weight_oz', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Max. Weight', 'null', '', '', '', '', 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', 'ounces');
INSERT INTO `Field_Definition` VALUES (188, 'Shipping_Methods', 'Max_Length_Plus_Girth', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Max. Length + Girth', 'null', 'null', '', '', '', 0, 0, 0, 35, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (189, 'Shipping_Methods', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 450, 150, 1, 1, 1, 1, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (190, 'Products', 'Ship_Separately', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Ship as a separate package', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 1, 0, 1, 0, 0, '', '', 'This field tells the cart whether or not you will be shipping this item in a separate package. The cart does it''s best to determine whether or not an item should ship in a separate package, but is not 100% foolproof. The default value for this field is "unchecked" and works fine in most cases. Where this field is most useful is when you are using real time shipping rates, as rates are retrieved on a per package basis.', '', '');
INSERT INTO `Field_Definition` VALUES (191, 'Products', 'Ship_Service', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Service', 'Formula', '', '', '', '$methods = get_records("Shipping_Methods","*",0,"Courier");\r\n\r\nfor($x=0;$methods[$x];$x++){\r\n $method = $methods[$x];\r\n $courier_name = get_field_val("Shipping_Couriers","Name","record_number = ''".$method[''Courier'']."''");\r\n\r\n $options["$courier_name ".$method[''Method'']] = $method[''record_number''];\r\n}', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Ship_Using == 2', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (192, 'Products', 'Ship_Using', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''enabled services''] = 1;\r\n$options[''a specific service''] = 2;\r\n', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '1', '', '', 1, 0, 1, 0, 0, '', '', 'This field controls what shipping services will be offered for this item. Default is "enabled services", which will offer all services that are enabled. "specific service" will allow you to specify a particular service.
\r\nImportant Note: \r\nIf you choose "specific service" for this field, make sure the item meets the criteria necessary for the service you specify.', '', '');
INSERT INTO `Field_Definition` VALUES (193, 'Products', 'Qlfy_BPM', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Qualifies for BPM', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'Check this box if this item qualifies for USPS Bound Printed Matter postage. Media Mail requires that the contents of the package fit certain criteria. This field is strictly to specify whether the item qualifies as "Bound Printed Matter" according to the USPS. The cart will determine whether or not the physical dimensions and weight of the item qualify.
\r\nImportant Note: The cart will not offer Bound Printed Matter rates for this item unless: \r\n- This field is checked \r\n- The dimensions and weight of the item qualify for Bound Printed Matter rates \r\n- Bound Printed Matter is an enabled service for USPS.
\r\nTo enable Bound Printed Matter: \r\n1. choose "Shipping > Couriers" from the menu system \r\n2. click on "USPS" \r\n3. Check the box next to "Bound Printed Matter" \r\n4. Submit Record \r\n
\r\nFor more information on Bound Printed Matter, see http://usps.com.', '', '');
INSERT INTO `Field_Definition` VALUES (194, 'Products', 'Qlfy_Media_Mail', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Qualifies for Media Mail', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', '
\r\nCheck this box if this item qualifies for USPS Media Mail postage. Media Mail requires that the contents of the package fit certain criteria. This field is strictly to specify whether the item qualifies as "Media" according to the USPS. The cart will determine whether or not the physical dimensions and weight of the item qualify.
\r\nImportant Note: The cart will not offer Media Mail rates for this item unless: \r\n- This field is checked \r\n- The dimensions and weight of the item qualify for Media Mail \r\n- Media Mail is an enabled service for USPS.
\r\nTo enable Media Mail: \r\n1. choose "Shipping > Couriers" from the menu system \r\n2. click on "USPS" \r\n3. Check the box next to "Media Mail" \r\n4. Submit Record \r\n
\r\nFor more information on Media Mail, visit http://usps.com.\r\n
', '', '');
INSERT INTO `Field_Definition` VALUES (195, 'Payment_Methods', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 300, 1, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (196, 'Payment_Gateways', 'Echeck_Capable', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'Payment_Gateway_Connection_Methods', 'Name', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', 'security_level("Squirrelcart Developer")', '', 0, 0, 1, 0, 0, '', '', 'For programmatic use only. Tells the cart whether this gateway module can handle echeck transactions.', '', '');
INSERT INTO `Field_Definition` VALUES (197, 'Store_Information', 'Products_per_Row', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'This field controls how many products will be displayed in a table row when viewing products in a category, before dropping to the next row.', '', '');
INSERT INTO `Field_Definition` VALUES (205, 'Store_Information', 'Order_Categories_By', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Names', 'null', '', 'Categories', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'This is the field that the categories will be sorted by in the store. If left blank, it will default to the category name.', '', '');
INSERT INTO `Field_Definition` VALUES (206, 'Store_Information', 'Order_Categories_How', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', '', '', '', '$options[''Ascending''] = "ASC";\r\n$options[''Descending''] = "DESC";\r\n', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 'Ascending', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (207, 'Products', 'Sort_Index', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is optional. You can use it to sort your products by setting "Order_Products_By" in your store settings to "Sort Index". Products are sorted by the Name field by default.', '', '');
INSERT INTO `Field_Definition` VALUES (208, 'Categories', 'Sort_Index', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is optional. You can use it to sort your categories by setting "Order_Categories_By" in your store settings to "Sort_Index". Categories are sorted by the Name field by default.', '', '');
INSERT INTO `Field_Definition` VALUES (209, 'Categories', 'Products_per_Page', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Products per Page', 'null', 'null', '', '', '', 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This is the default value for number of products to show on a single page when this category is viewed. Leave this field blank to take the store default, which is specified on the store settings page.', '', '');
INSERT INTO `Field_Definition` VALUES (350, 'Categories', 'Order_Products_How', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', 'null', '', 'Store Default,Ascending,Descending', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, 'Store Default', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the method that the products will be ordered by. If set to "Store Default", it will use the setting from the field with the same name on the store settings page.', '', '');
INSERT INTO `Field_Definition` VALUES (210, 'Shipping_Couriers', 'Supports_RTR', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', 'security_level("Squirrelcart Developer")', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (211, 'Record_Definition', 'Table_Name', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Table Names', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (212, 'Record_Definition', 'Record', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 35, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (213, 'Record_Definition', 'Header', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 300, 200, 1, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (214, 'Record_Definition', 'Delete_Inhibit', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (215, 'Payment_Gateways', 'Account_Transaction_Key', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Show_Transaction_Key == 1;', '', 0, 0, 1, 0, 0, '', '', 'This field is typically used to store a key that will aid in securing authentications with your gateway. Please read the documentation for your gateway for instructions on using this field: http://www.squirrelcart.com/help/', '', '');
INSERT INTO `Field_Definition` VALUES (216, 'Store_Information', 'Expand_Categories', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', 'null', '', 'on click,always,never', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 'on click', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls when (or if) parent categories in the Product Catalog navigation are expanded to show the subcategories beneath them. This section appears to the left of the page by default.\r\n
\r\n\r\nPer Order \r\nThe shipping cost you specify will be the total shipping amount offered for this rule.
\r\n\r\nPer Item \r\nThe shipping cost you specify will be multiplied by the number of items in the customer''s cart, and that total will be the total shipping amount offered for this rule.\r\nSetting this field to per item is useful if all or most of your products have a set per item shipping cost. If you do set this field to per item, you can override it on a per item basis by setting the shipping cost on an individual product''s record in Squirrelcart.', '', '');
INSERT INTO `Field_Definition` VALUES (224, 'Store_Information', 'New_Products_per_Preview', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, '', '', 'This field controls how many products will be displayed in the "New Products Preview" section of your homepage.', '', '');
INSERT INTO `Field_Definition` VALUES (225, 'Store_Information', 'New_Products_per_Row', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls how many products per row are displayed in the "New Products Preview" section of your homepage.', '', '');
INSERT INTO `Field_Definition` VALUES (226, 'Categories', 'Position', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', 'null', '', 'first category,alphabetical,last category', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$record_number == 1 && $Do_not_display != 1', '', 0, 0, 1, 0, 0, '', '', 'This field controls where this category will appear in relation to the normal product categories.', '', '');
INSERT INTO `Field_Definition` VALUES (227, 'Categories', 'Display_In_Navigation', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '1', '$Do_not_display != 1', '', 0, 0, 0, 0, 0, '', '', 'This field determines where this category will be displayed. Default is both Navigation (Product Catalog link section) and Content (Category Detail - in main content area).', '', '');
INSERT INTO `Field_Definition` VALUES (230, 'Record_Definition', 'Hide_Record', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (228, 'Categories', 'Display_In_Content', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Do_not_display != 1', '', 0, 0, 1, 0, 0, '', '', 'This field determines where this category will be displayed. Default is both Navigation (Product Catalog link section) and Content (Category Detail - in main content area).', '', '');
INSERT INTO `Field_Definition` VALUES (229, 'Navigation_Block', 'Show_When', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 50, 1, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is used to control when this nav block will appear. If left blank, the block will appear on all page loads. To use this field, put a formula that will evalutes as true or false in PHP (without surrounding PHP tags). Be careful with this field, as it can break your store if not specified properly.', '', '');
INSERT INTO `Field_Definition` VALUES (231, 'Store_Information', 'Show_Order_Status', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Show Order History', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls whether or not customers will see the "Order History" link in the account options after they login. If you check this box, they will see the link. If you uncheck it, they will not. ', '', '');
INSERT INTO `Field_Definition` VALUES (233, 'Relationship', 'Header', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 300, 150, 1, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (234, 'Orders', 'Bill_State_or_Province', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'States', 'Name', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (235, 'Orders', 'Bill_Country', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Countries', 'Name', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (236, 'Orders', 'Ship_State_or_Province', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'States', 'Name', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (237, 'Orders', 'Ship_Country', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Countries', 'Name', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (238, 'Store_Information', 'Order_Number_Format', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', 'null', '', 'Random,Custom', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, 'Random', '', '', 1, 0, 1, 0, 0, '', '', 'This field controls the format of your order numbers. Default value for this field is "Random". When set to "Random", the cart uses the Unix timestamp at the time of the order. When set to "Custom", the cart uses the value of the "Next Order Number" field, and increments the order numbers by the value of the "Increment by" field.', '', '');
INSERT INTO `Field_Definition` VALUES (239, 'Store_Information', 'Next_Order_Number', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 75, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '10000', '$Order_Number_Format == "Custom"', '', 0, 0, 0, 0, 0, '', '', 'This field is used in conjunction with the "Order Number Format" and "Increment by" fields. See the help for the "Order Number Format" field for more information.', '', '');
INSERT INTO `Field_Definition` VALUES (240, 'Store_Information', 'Order_Number_Increment', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Increment by', 'null', 'null', '', '', '', 0, 0, 3, 25, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '1', '$Order_Number_Format == "Custom"', '', 0, 0, 1, 0, 0, '', '', 'This field is used in conjunction with the "Order Number Format" and "Next Order Number" fields. See the help for the "Order Number Format" field for more information.', '', '');
INSERT INTO `Field_Definition` VALUES (241, 'Shipping_Couriers', 'Pickup_Type', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''Daily Pickup''] = "01";\r\n$options[''Customer Counter''] = "03";\r\n$options[''Air Service Center / UPS Store''] = "20";', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '03', '$record_number == 2', '', 0, 0, 1, 0, 0, '', '', 'This field is used to specify whether you have a UPS driver pickup your packages daily, or whether you drop off your packages at a Customer Center. This field will affect your UPS Real Time Rates, if you are using them.', '', '');
INSERT INTO `Field_Definition` VALUES (281, 'Orders', 'Payment_Method', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Payment_Methods', 'Name', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (242, 'Shipping_Methods', 'UPS_Service_Code', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 20, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Courier == 2 && security_level("Squirrelcart Developer")', '', 0, 0, 1, 0, 0, '', '', 'This field should equal the 2 digit service code corresponding to the UPS service, in Appendix C of the UPS Rates and Services Developers Kit.', '', '');
INSERT INTO `Field_Definition` VALUES (243, 'Shipping_Couriers', 'Logo_Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', 'Large Image', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 'content', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (244, 'Templates', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 300, 200, 1, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (245, 'Shipping_Couriers', 'RTR_Shipping_Rule_Priority', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 25, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Real_Time_Rates == 1 || $UPS_Real_Time_Rates == 1 || $FedEx_Real_Time_Rates == 1', '', 0, 0, 1, 0, 0, '', '', 'When using real time rate lookups, the rates returned are treated as Shipping Rules. This field controls the priority of the rules that will be created automatically by the cart, based on information received from the courier. This field works in the same manner as the "Priority" field on the Shipping Rule records.\r\n
\r\nFor more information on how Shipping Rules work, please see your documentation.', '', '');
INSERT INTO `Field_Definition` VALUES (246, 'Address_Form_Settings', 'Default_for_Address_Is', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''Residential''] = 1;\r\n$options[''Commercial''] = 2;\r\n\r\n', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the default value for the "Address Is" field in the shipping address section at checkout. The Address Is field is used in conjunction with UPS OnLine Tools, to help determine rates.', '', '');
INSERT INTO `Field_Definition` VALUES (247, 'Orders', 'Ship_Address_Is', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''Residential''] = 1;\r\n$options[''Commercial''] =2;\r\n\r\n', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (248, 'Products_Sold', 'Product_rn', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Product Name', 'Field Values', 'Products', 'Name', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (560, 'Sales_Agreement', 'Agreement', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 650, 200, 1, 1, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 1, '', '', 'This is the description that will show up in the cart for customers looking at this product. Any text or HTML is allowed.', '', '');
INSERT INTO `Field_Definition` VALUES (253, 'Store_Information', 'Squirrelcart_Logo', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$cart_img_path = "$SC[cart_isp_root]/images/cart";\r\n\r\n// grab all image names in /images/cart directory\r\n$images = get_dir_contents($cart_img_path);\r\n\r\n// text value is different...add it here\r\n$options[''Text''] = 4;\r\n\r\nforeach($images as $image) {\r\n // remove server path stuff...just need filename\r\n $image = str_replace($cart_img_path,"",$image);\r\n $image = str_replace("/","",$image);\r\n \r\n // figure out if image is a powere_by_sc image...\r\n if (strstr($image,"powered_by_sc")) {\r\n // remove the "powered_by_sc"\r\n $image = str_replace("powered_by_sc_","",$image);\r\n \r\n // grab extension\r\n $ext=substr(strrchr($image,"."),1);\r\n \r\n // remove extension to arrive at an integer for this image\r\n $image_num = str_replace(".$ext","",$image);\r\n\r\n if (is_numeric($image_num)){\r\n $options["Image $image_num"] = $image_num;\r\n }\r\n \r\n }\r\n}', 4, 0, 3, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '4', '', '', 0, 0, 1, 0, 0, 'vertical-align: top; margin-right: 10px;', 'displaypoweredBy(this.options[this.selectedIndex].value)', 'This field controls the appearance of the link back to Squirrelcart.com at the bottom of your cart page.', ' ', '');
INSERT INTO `Field_Definition` VALUES (251, 'Sales_Agreement', 'Height', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '200', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the height of the area that the agreement will be displayed in. if the agreement exceeds the width and height specified, it will be scrollable. This field has no effect when "Display" is set to anything other than "with product".', '', '');
INSERT INTO `Field_Definition` VALUES (252, 'Sales_Agreement', 'Width', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '350', '', '', 0, 0, 0, 0, 0, '', '', 'This field controls the width of the area that the agreement will be displayed in. if the agreement exceeds the width and height specified, it will be scrollable. This field has no effect when "Display" is set to anything other than "with product".', '', 'px');
INSERT INTO `Field_Definition` VALUES (254, 'Store_Information', 'Last_Log', 'Hidden Field', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (255, 'Orders', 'Shipping_Details', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 150, 1, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 1, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (256, 'Orders', 'Packing_Details', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 150, 1, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 1, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (257, 'Product_Options', 'Break_After_Instruction', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'Determines whether a new line will be started (HTML <br> tag) immediately after the instruction for this option.', '', '');
INSERT INTO `Field_Definition` VALUES (75, 'Products', 'Thumbnail_Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'products', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This is the thumbnail image of the product. By default, it appears along with other product thumbnails when you click on a category on your cart page. It also appears in the checkout form.', '\r\n', '');
INSERT INTO `Field_Definition` VALUES (74, 'Products', 'Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'products', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This is the main image of the product. By default, it appears on the product detail page, which you can get to by:
\r\n1. Clicking on a category \r\n2. Clicking on a product', '', '');
INSERT INTO `Field_Definition` VALUES (259, 'Products', 'SKU', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 150, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is for the SKU or Stock Keeping Unit. It is optional, but typically contains the SKU number located on the product, which is also the number used to generate the items barcode.', '', '');
INSERT INTO `Field_Definition` VALUES (260, 'Products', 'My_Cost', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, 'text-align: right;', '', 'This field is optional. You can use it to keep track of what you as the merchant paid for this particular item.', '', '');
INSERT INTO `Field_Definition` VALUES (261, 'Products', 'MSRP', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, 'text-align: right;', '', 'This field is optional. It is used to store the MSRP, or Manufacturer''s Suggested Retail Price.', '', '');
INSERT INTO `Field_Definition` VALUES (263, 'Image_Settings', 'Autogenerate', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'autogenerate', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (264, 'Image_Settings', 'From_Image', 'Select Input', '', 1, 1, 1, 1, 0, '', 'from', 'Image Field Names', 'null', '', '$Table_Name', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Table_Name', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (271, 'Store_Information', 'Missing_Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 'products', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This image will be used as the main product image in the event that an image was not specified for a product.', '', '');
INSERT INTO `Field_Definition` VALUES (272, 'Store_Information', 'Missing_Thumbnail_Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 'products', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This image will be used as a product''s thumbnail image in the event that a thumbnail image was not specified for a product.', '', '');
INSERT INTO `Field_Definition` VALUES (265, 'Image_Settings', 'Width', 'Text Input', '', 1, 1, 1, 1, 0, '', 'width', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, '', '', '', '', 'px');
INSERT INTO `Field_Definition` VALUES (266, 'Image_Settings', 'Height', 'Text Input', '', 1, 1, 1, 1, 0, '', 'height', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', 'px');
INSERT INTO `Field_Definition` VALUES (267, 'Image_Settings', 'Table_Name', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''Products''] = "Products";\r\n$options[''Product Options''] = "Product_Options";\r\n$options[''Product Option Values''] = "Product_Option_Values";\r\n$options[''Categories''] = "Categories";', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 1, 1, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (268, 'Image_Settings', 'Field_Name', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Image Field Names', 'null', '', '$Table_Name', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Table_Name', '', 0, 0, 1, 1, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (269, 'Table_Definition', 'No_New_Records', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'When this field is checked, normal users and Store Admin members cannot add records to this table.', '', '');
INSERT INTO `Field_Definition` VALUES (270, 'Table_Definition', 'Delete_Inhibit_Records', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'When checked, all records in this table will be set to delete inhibit for all non developers.', '', '');
INSERT INTO `Field_Definition` VALUES (273, 'Store_Information', 'Customer_Service_Email', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 150, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (274, 'Store_Information', 'Load_XML', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'XML', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, '', '', 'XML is an extension for PHP that provided support for parsing XML structures. Squirrelcart uses this for several payment gateways, and for USPS and UPS real time rate lookups.', '', '');
INSERT INTO `Field_Definition` VALUES (275, 'Store_Information', 'Load_GD', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'GD', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, '', '', 'GD is an extension that adds image manipulation abilities to PHP. It is only used in the admin section of Squirrelcart, to autogenerate images, and to manipulate them (flip, rotate, mirror, crop, and resize).', '', '');
INSERT INTO `Field_Definition` VALUES (276, 'Store_Information', 'Load_Mcrypt', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Mcrypt', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'Mcrypt is an extension which adds advanced encryption functionality to PHP. It is used in Squirrelcart for the UPS OnLine Tools integration.', '', '');
INSERT INTO `Field_Definition` VALUES (277, 'Store_Information', 'Load_CURL', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'CURL', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, '', '', 'CURL is an extension which allows PHP to communicate with web servers using a URL. It is used by Squirrelcart for some payment gateway connections, and by USPS and UPS real time rates.', '', '');
INSERT INTO `Field_Definition` VALUES (278, 'Address_Form_Settings', 'Default_Country', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Countries', 'Name', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the default country that will be selected on all address forms in your store.', '', '');
INSERT INTO `Field_Definition` VALUES (279, 'Address_Form_Settings', 'First_Country', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Countries', 'Name', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This country will appear as the very first selection on address forms in your store.', '', '');
INSERT INTO `Field_Definition` VALUES (283, 'Shipping_Rules', 'Shipping_Cost_Is', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''per order''] = 1;\r\n$options[''per item''] = 2;', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '1', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (284, 'Shipping_Rules', 'Operator', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '//if country is being used\r\nif($Apply_When == 5 || $Apply_When == 7) {\r\n $options[''Equal To''] = 5;\r\n $options[''Not Equal To''] = 6;\r\n} else {\r\n $options[''Less Than''] = 1;\r\n $options[''Greater Than''] = 2;\r\n $options[''Less Than or Equal to''] = 3;\r\n $options[''Greater Than or Equal to''] = 4;\r\n $options[''Equal To''] = 5;\r\n $options[''Not Equal To''] = 6;\r\n}', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Apply_When != ""', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (285, 'Field_Definition', 'Select_Size', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Display_As == "Select Input"', '', 0, 0, 1, 0, 0, '', '', 'This field is to define the size of the select box (number of options high)', '', '');
INSERT INTO `Field_Definition` VALUES (286, 'Field_Definition', 'Allow_Multiple_Values', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Display_As == "Select Input"', '', 0, 0, 1, 0, 0, '', '', 'If checked, the select input will allow more than one value to be selected.', '', '');
INSERT INTO `Field_Definition` VALUES (287, 'Warehouses', 'State_or_Province', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'States', 'Name', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$record_number != 1', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (288, 'Warehouses', 'Postal_Code', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$record_number != 1', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (289, 'Warehouses', 'Country', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Countries', 'Name', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$record_number != 1', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (290, 'Store_Information', 'Rich_Text_Word_Wrap', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$SC[''modules''][''rich_text'']', '', 0, 0, 1, 0, 0, '', '', 'This setting controls whether the code tab in the rich text editor will have word wrap enabled or disabled. To enable, check this field.', '', '');
INSERT INTO `Field_Definition` VALUES (562, 'Store_Information', 'Load_HTML_Tidy', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'HTML Tidy', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$SC[''modules''][''rich_text'']', '', 0, 0, 0, 0, 0, '', '', 'HTML Tidy is an extension used to cleanup the HTML generated by Internet Explorer while using the rich text editor.', '', '');
INSERT INTO `Field_Definition` VALUES (563, 'Store_Information', 'Rich_Text_Cleanup', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$SC[''modules''][''rich_text'']', '', 0, 0, 1, 0, 0, '', '', 'This setting controls whether the code generated by the Rich Text editor will be cleaned up using HTML Tidy. Cleaning up the HTML generated by the editor will make it standards compliant. This requires the html tidy module, and PHP v4.3 or newer.', '', '');
INSERT INTO `Field_Definition` VALUES (291, 'Field_Definition', 'Link_Text', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Display_As == "Link to Record";', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (292, 'Orders', 'Ordered_By', 'Link to Record', '', 1, 1, 1, 1, 0, '$First_Name $Last_Name', '', 'null', 'Customers', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (293, 'Orders', 'Order_Number', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (294, 'Relationship', 'Represent_Table_1_Using', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''a single field''] = "field";\r\n$options[''a formula''] = "formula";', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (295, 'Relationship', 'Represent_Table_2_Using', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''a single field''] = "field";\r\n$options[''a formula''] = "formula";', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (296, 'Relationship', 'Field_From_Table_1_Representing_Relationship', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Table 1 Field', 'Field Names', 'null', '', '$Table_1', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Represent_Table_1_Using == "field"', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (297, 'Relationship', 'Field_From_Table_2_Representing_Relationship', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Table 2 Field', 'Field Names', 'null', '', '$Table_2', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Represent_Table_2_Using == "field"', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (298, 'Relationship', 'Relationship_Table', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Table Names', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (299, 'Relationship', 'Table_1', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Table Names', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (300, 'Relationship', 'Table_2', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Table Names', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (301, 'Relationship', 'Manage_With_Table_1_Field', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Names', 'null', '', '$Table_1', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Table_1 != ""', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (302, 'Relationship', 'Manage_With_Table_2_Field', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Names', 'null', '', '$Table_2', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Table_2 != ""', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (303, 'Relationship', 'Represent_Table_1_Formula', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Represent_Table_1_Using == "formula"', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (304, 'Relationship', 'Represent_Table_2_Formula', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Represent_Table_2_Using == "formula"', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (305, 'Table_Definition', 'Sort_By', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Names', 'null', '', '$Table_Name', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (306, 'Table_Definition', 'Sort_How', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''Ascending''] = "ASC";\r\n$options[''Descending''] = "DESC";', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (307, 'Store_Information', 'Subcategories_per_Row', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 20, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls how many sub categories will be displayed in a table row below the main category.', '', '');
INSERT INTO `Field_Definition` VALUES (308, 'Warehouses', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 300, 200, 1, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (309, 'Relationship', 'Add_Multiples', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'If checked, the user will be able to add more than one relationship record at a time, by entering a value in a text box immediately following the add button.', '', '');
INSERT INTO `Field_Definition` VALUES (310, 'Relationship', 'No_Surround', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'If checked, this relationship will not be surrounded with the normal form_section styles.', '', '');
INSERT INTO `Field_Definition` VALUES (311, 'Warehouses', 'Street', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 300, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$record_number != 1', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (312, 'Warehouses', 'Street_2', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 300, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$record_number != 1', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (313, 'Warehouses', 'City', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 300, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$record_number != 1', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (314, 'Warehouses', 'Postal_Code', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$record_number != 1', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (315, 'Products', 'Ship_From', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$warehouses = get_records("Warehouses","*",0,"Street","ASC");\r\nforeach($warehouses as $warehouse){\r\n if ($warehouse[''record_number''] == 1) {\r\n $warehouse = get_records("Store_Information","*");\r\n $warehouse = $warehouse[0];\r\n }\r\n $options["$warehouse[Street] -- $warehouse[City], ".get_field_val("States","Abbreviation","record_number = $warehouse[State_or_Province]")." $warehouse[Postal_Code]"] = $warehouse[''record_number'']; \r\n}', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '1', '$SC[''settings''][''Use_Inventory_Control''] != 1', '', 0, 0, 1, 0, 0, '', '', 'This field determines where this item will ship from. This is primarily used to determine shipping rates.', '', '');
INSERT INTO `Field_Definition` VALUES (316, 'Product_Options', 'Instruction', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 200, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (566, 'Options', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 200, 1, 1, 1, 1, 1, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 1, '', '', 'This is the description that will show up in the cart for customers looking at this product. Any text or HTML is allowed.', '', '');
INSERT INTO `Field_Definition` VALUES (318, 'Store_Information', 'Allow_Theme_Change', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'When this field is checked, your customer''s can change the theme for their account only, using the theme drop down in "Account Options". If you wish to disable this functionality, uncheck this field.', '', '');
INSERT INTO `Field_Definition` VALUES (319, 'Themes', 'Path_to_Files', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Folder Name', 'null', 'null', '', '', '', 0, 0, 3, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field should contain the path to the files for this theme, from the root of the themes folder.
\r\nExample: \r\nif the themes folder is located at http://www.mystore.com/squirrelcart/themes/, then the path to the default squirrelcart theme would be squirrelcart.', '', '');
INSERT INTO `Field_Definition` VALUES (327, 'Store_Information', 'Diagnostic_Mode', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'When this field is checked and you are logged in as a member of the "Store Admin" group, Squirrelcart will output diagnostic information to the browser during certain operations. This is useful for troubleshooting communications via CURL and other complex operations.', '', '');
INSERT INTO `Field_Definition` VALUES (322, 'Payment_Gateways', 'Show_AUTH_CAPT_Fields', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', 'security_level("Squirrelcart Developer")', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (323, 'Payment_Gateways', 'Show_Email_Field', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', 'security_level("Squirrelcart Developer")', '', 0, 0, 0, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (324, 'Payment_Gateways', 'Account_Email', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Show_Email_Field == 1', '', 0, 0, 1, 0, 0, '', '', 'This field is used to specify the email address associated with your payment gateway account.', '', '');
INSERT INTO `Field_Definition` VALUES (325, 'States', 'Country', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Field Values', 'Countries', 'Name', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (326, 'Payment_Methods', 'Echecks_Payable_To', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 200, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Type == 4;', '', 0, 0, 1, 0, 0, '', '', 'This field should contain the "pay to the order of " name that you want your Echecks made out to. This should be the name on your business account.', '', '');
INSERT INTO `Field_Definition` VALUES (328, 'Products', 'Package_Weight', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Weight', 'null', 'null', '', '', '', 0, 0, 3, 40, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Ship_Separately == 1;', '', 0, 0, 1, 0, 0, '', '', '', '', 'lbs');
INSERT INTO `Field_Definition` VALUES (329, 'Products', 'Package_Height', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Height', 'null', 'null', '', '', '', 0, 0, 3, 40, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Ship_Separately == 1;', '', 0, 0, 0, 0, 0, '', '', '', '', 'inches');
INSERT INTO `Field_Definition` VALUES (330, 'Products', 'Package_Width', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Width', 'null', 'null', '', '', '', 0, 0, 3, 40, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Ship_Separately == 1;', '', 0, 0, 0, 0, 0, '', '', '', '', 'inches');
INSERT INTO `Field_Definition` VALUES (331, 'Products', 'Package_Depth', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Depth', 'null', 'null', '', '', '', 0, 0, 3, 40, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Ship_Separately == 1;', '', 0, 0, 1, 0, 0, '', '', '', '', 'inches');
INSERT INTO `Field_Definition` VALUES (357, 'Categories', 'View_Display_Mode', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Display Mode', 'Formula', 'null', '', '', '$options["Category preview with ''Click here to view all items..'' link"] = 1;\r\n$options["Full category view with numbered page navigation"] = 2;', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '1', '', '', 1, 0, 1, 0, 0, '', '', 'This field controls the way in which the products will be displayed when the category is viewed prior to clicking.', '', '');
INSERT INTO `Field_Definition` VALUES (332, 'Store_Information', 'Referrer_Cookie_Expiration', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the length in days that the referrer cookie will be valid. This cookie is set to store the originating referral address that a customer used to visit your site. Storing this in a cookie allows Squirrelcart to retrieve it on subsuquent visits to your site.', '', 'days');
INSERT INTO `Field_Definition` VALUES (333, 'Orders', 'IP_Address', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 200, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', ' ');
INSERT INTO `Field_Definition` VALUES (334, 'Orders', 'User_Agent', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', ' ');
INSERT INTO `Field_Definition` VALUES (335, 'Orders', 'Host_Name', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (336, 'Orders', 'Referring_URL', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (337, 'Orders', 'Referral_Date', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (338, 'Store_Information', 'Remember_Me', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Use Remember Me', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 0, 0, 0, '', '', 'When checked, the "Remember Me" feature is enabled. This allows users to check the "Remember Me" checkbox at login, which will then automatically log them in on their subsequent visits.', '', '');
INSERT INTO `Field_Definition` VALUES (339, 'Store_Information', 'Remember_Me_Expiration', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Remember_Me == 1;', '', 0, 0, 0, 0, 0, '', '', 'The length in days that Squirrelcart should wait before expiring "remember me" information. After this number of days has past, the cookie that allows the user to be automatically logged in is no longer valid.', '', 'days');
INSERT INTO `Field_Definition` VALUES (340, 'Store_Information', 'Remember_Me_Default', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Remember_Me == 1;', '', 0, 0, 1, 0, 0, '', '', 'This field controls the default value of the "Remember Me" checkbox on the login form.', '', '');
INSERT INTO `Field_Definition` VALUES (341, 'Categories', 'Page_Title_Choice', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Page Title Is', 'Formula', 'null', '', '', '$options[''default''] = 1;\r\n$options[''specified below...''] = 2;', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '1', '', '', 1, 0, 1, 0, 0, '', '', 'This field controls whether this category will be displayed using the default title specified in store settings, or with a specific title specified in the "Page Title" field below.', '', '');
INSERT INTO `Field_Definition` VALUES (342, 'Categories', 'Page_Title', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Page_Title_Choice == 2;', '', 0, 0, 1, 0, 0, '', '', 'This field controls the title for this product when it is clicked on. The title appears in the brower''s title bar.', '', '');
INSERT INTO `Field_Definition` VALUES (343, 'Products', 'Page_Title_Choice', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Page Title Is', 'Formula', 'null', '', '', '$options[''default''] = 1;\r\n$options[''specifiied below...''] = 2;', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '1', '', '', 1, 0, 1, 0, 0, '', '', 'This field controls whether this category will be displayed using the default title specified in store settings, or with a specific title specified in the "Page Title" field below.', '', '');
INSERT INTO `Field_Definition` VALUES (344, 'Products', 'Page_Title', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Page_Title_Choice == 2;', '', 0, 0, 1, 0, 0, '', '', 'This field controls the title for this product when it is clicked on. The title appears in the brower''s title bar.', '', '');
INSERT INTO `Field_Definition` VALUES (345, 'Store_Information', 'Home_Page_Title', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the title that appears in your browser''s title bar when your store page is first visited.', '', '');
INSERT INTO `Field_Definition` VALUES (346, 'Store_Information', 'Meta_Description', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the description that is used for the meta description tag on your pages. This tag is used by search engines to assist in indexing your pages.', '', '');
INSERT INTO `Field_Definition` VALUES (351, 'Categories', 'Order_Products_By', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$extra[] = "Store Default";\r\n$fields = get_fields($db,"Products");\r\n\r\n$fields = $fields[''sorted''];\r\n$choices = array_merge($extra,$fields);\r\nforeach($choices as $choice) $options[str_replace("_"," ",$choice)] = $choice;', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '"Store Default"', '', '', 0, 0, 1, 0, 0, '', '', 'This is the field that the products will be sorted by in the store. If set to "Store Default", it will use the setting from the field with the same name on the store settings page.', '', '');
INSERT INTO `Field_Definition` VALUES (349, 'Categories', 'Show_Products_When', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''Category is Clicked''] = 1;\r\n$options[''Category is Clicked or Viewed''] = 2;', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '1', '', '', 1, 0, 1, 0, 0, '', '', 'This field controls when the products in this category will be displayed. "Category is Clicked" will show them when the category link is clicked. "Category is Viewed" will show them when the category is displayed by either going to the store page initially, or by clicking the "Product Catalog" link.', '', '');
INSERT INTO `Field_Definition` VALUES (352, 'Categories', 'Products_per_Row', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, '', '', 'This field controls how many products will be displayed in a table row when viewing products in this category, before dropping to the next row. Leave this field blank to take the store default, which is specified on the store settings page.', '', '');
INSERT INTO `Field_Definition` VALUES (353, 'Categories', 'Show_Products_As', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''Thumbnails''] = 1;\r\n$options[''Detail''] = 2;', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '1', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls how the products will be displayed when this category is viewed. The products can be displayed as thumbnail images, or in full detail.', '', '');
INSERT INTO `Field_Definition` VALUES (354, 'Categories', 'Show_Category_Detail', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[] = "when clicked";\r\n$options[] = "when viewed";\r\n', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, 'when clicked^^when viewed', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls whether or not the category detail will be displayed in the content area, when this category is viewed. The category detail includes the category name, image, and description.', '', '');
INSERT INTO `Field_Definition` VALUES (356, 'Categories', 'View_Show_Products_As', 'Radio Input', '', 1, 1, 1, 1, 0, '', 'Show Products As', 'Formula', 'null', '', '', '$options[''Thumbnails''] = 1;\r\n$options[''Detail''] = 2;', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '1', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls how the products will be displayed when this category is viewed. The products can be displayed as thumbnail images, or in full detail.', '', '');
INSERT INTO `Field_Definition` VALUES (358, 'Categories', 'View_Products_per_Row', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Products per Row', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, '', '', 'This field controls how many products will be displayed in a table row when viewing products in this category, before dropping to the next row. Leave this field blank to take the store default, which is specified on the store settings page.', '', '');
INSERT INTO `Field_Definition` VALUES (359, 'Categories', 'View_Products_per_View', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Products per View', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This is the default value for number of products to show when viewing a category (prior to clicking it).', '', '');
INSERT INTO `Field_Definition` VALUES (360, 'Categories', 'View_Randomize_Products', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Randomize Products', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '1', '', '', 0, 0, 1, 0, 0, '', '', 'When checked, the products shown when a category is viewed will be chosen at random.', '', '');
INSERT INTO `Field_Definition` VALUES (361, 'Discounts', 'Discount_What', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Discount What?', 'Formula', 'null', '', '', '$options[''Entire Order''] = 1;\r\n$options[''Specific Product(s)''] = 2;\r\n$options[''Specific Categories''] = 3;', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 1, 0, 0, '', '', 'This field is used to specify what this discount will apply to.', ' ', '');
INSERT INTO `Field_Definition` VALUES (561, 'Discounts', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 650, 200, 1, 1, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 1, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (363, 'Discounts', 'Products', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Product(s) to Discount', 'Products', 'null', '', '', '$options = product_select_options();\r\nprint " ";\r\nprint "click me";', 15, 1, 3, 335, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Discount_What == 2;', '', 0, 0, 1, 0, 0, '', '', 'This field is used to specify 1 or more products to discount. You can hold down the CTRL key while clicking to select multiple items.', '', '');
INSERT INTO `Field_Definition` VALUES (364, 'Discounts', 'Name', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 335, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is used to hold a descriptive name for the discount. This is displayed to your customers in the storefront.', '', '');
INSERT INTO `Field_Definition` VALUES (365, 'Discounts', 'Categories', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Categories', 'null', '', '', '$options = product_select_options();\r\nprint " ";\r\nprint "click me";', 15, 1, 3, 335, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '1', '$Discount_What == 3;', '', 0, 0, 1, 0, 0, '', '', 'This field is used to specify 1 or more categories to apply a discount to. You can select multiple items by holding down the CTRL key.', '', '');
INSERT INTO `Field_Definition` VALUES (366, 'Discounts', 'Price_Is', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''exact amount''] = 1;\r\n$options[''reduced by''] = 2;', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Discount_What >= 2;', '', 1, 0, 0, 0, 0, '', '', 'This field controls whether the price specified will be subtracted from the item''s price, or if it will become the item''s price.
\r\nWhen set to "exact amount", you will need to enter the amount you want to charge for the item when it is discounted. \r\n
\r\nBuy 1 get 1 free \r\nBuy 1 get 1 50% off \r\nBuy 2 get 1 for $5.99 \r\nBuy 3 for $4.00 \r\netc...
\r\nExample 1: \r\nIf you want to offer a "Buy (2) get (1) 50% off" sale:
\r\n1. Check the "Buy x Get y for" field \r\n2. In the "X" field, enter 2 \r\n3. In the "Y" field, enter 1 \r\n4. Set the "Price Is" field to "reduced by" \r\n5. Enter 50 in the field to the right of "Price Is" \r\n6. Change the select input that is to the right of "50" to "%"
\r\nExample 2: \r\nIf you want to offer a "3 for $6.00" sale, where the customer has to buy 3 to get the discount:
\r\n1. Check the "Buy x Get y for" field \r\n2. In the "X" field, enter 3 \r\n3. Make sure the "Y" field is blank \r\n4. Set the "Price Is" field to "exact amount" \r\n5. Enter 2.00 in the field to the right of "Price Is" \r\n\r\n\r\n', '', '');
INSERT INTO `Field_Definition` VALUES (464, 'Discounts', 'Buy_X', 'Text Input', '', 1, 1, 1, 1, 0, '', 'X', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Buy_X_Get_Y == 1 && ($Discount_What == 2 || $Discount_What == 3);', '', 0, 0, 0, 0, 0, '', '', 'Value of X in "Buy X Get Y" type of sale. Mouse over the Buy X Get Y field for more help.', '', '');
INSERT INTO `Field_Definition` VALUES (465, 'Discounts', 'Get_Y', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Y', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Buy_X_Get_Y == 1 && ($Discount_What == 2 || $Discount_What == 3);', '', 0, 0, 0, 0, 0, '', '', 'Value of Y in "Buy X Get Y" type of sale. Mouse over the Buy X Get Y field for more help.', '', '');
INSERT INTO `Field_Definition` VALUES (466, 'Store_Information', 'Discount_Checkout_Display', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''below checkout form''] = 1;\r\n$options[''popup window''] = 2;', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '1', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls how discounts will be displayed on the checkout page. Default is "below checkout form". If set to "popup window", the discount information will be seen when clicking a link next to the product that has been discounted.', '', '');
INSERT INTO `Field_Definition` VALUES (467, 'Discounts', 'Enforce_Y', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Buy_X_Get_Y == 1 && ($Discount_What == 2 || $Discount_What == 3);', '', 0, 0, 1, 0, 0, '', '', 'This field controls whether or not the number of items specified by Y must be met in order for those items to be discounted. For example:
\r\nBuy 3 get 2 for 30% off
\r\nIf the customer bought 4 items, and "Enforce Y" was not checked, the fourth item in this example would be 20% off. If "Enforce Y" was checked, then they would need to add one more unit (5 in total) to get the 20% off.', '', '');
INSERT INTO `Field_Definition` VALUES (468, 'Discounts', 'Limit_Use', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '"dog" == "cat";', '', 1, 0, 0, 0, 0, 'vertical-align: middle;', '', 'This field is used to limit the number of times this discount is used in your store. When checked, more fields will appear to the right. You will then need to enter a number to indicate the limit. After that, you will need to set the drop down field to one of the following:
\r\norder - will limit the discount for the current order \r\nitem - will limit discount on a per item basis \r\ncustomer - will limit discount on a per customer basis \r\nshipping address - will limit discount on a per shipping address basis \r\nstore - will limit discount usage for the entire store. ', ' ', '');
INSERT INTO `Field_Definition` VALUES (469, 'Discounts', 'Limit_Use_To', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 20, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Limit_Use == 1;', '', 0, 0, 0, 0, 1, 'text-align: right; vertical-align: middle;', '', '', ' to ', 'occurences per');
INSERT INTO `Field_Definition` VALUES (470, 'Discounts', 'Limit_Use_Per', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', 'null', '', 'order,item,customer,shipping address,store', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, 'order', '$Limit_Use == 1;', '', 0, 0, 1, 0, 1, 'vertical-align: middle;', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (471, 'Discounts', 'Product_Condition_1', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Product(s) to Check', 'Products', 'null', '', '', '', 15, 1, 3, 335, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Offer_When_1 == "product : qty";', '', 0, 0, 1, 0, 0, '', '', '', ' ', '');
INSERT INTO `Field_Definition` VALUES (483, 'Payment_Gateways', 'Show_Transaction_Key', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', 'security_level("Squirrelcart Developer")', '', 0, 0, 0, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (477, 'Discounts', 'Product_Condition_4', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Product(s) to Check', 'Products', 'null', '', '', '', 15, 0, 3, 335, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Offer_When_4 == "product : qty";', '', 0, 0, 1, 0, 0, '', '', '', ' ', '');
INSERT INTO `Field_Definition` VALUES (478, 'Discounts', 'Product_Condition_5', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Product(s) to Check', 'Products', 'null', '', '', '', 15, 0, 3, 335, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Offer_When_5 == "product : qty";', '', 0, 0, 1, 0, 0, '', '', '', ' ', '');
INSERT INTO `Field_Definition` VALUES (479, 'Discounts', 'Category_Condition_2', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Categories to Check', 'Categories', 'null', '', '', '', 15, 0, 3, 335, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Offer_When_2 == "category : qty";', '', 0, 0, 1, 0, 0, '', '', '', ' ', '');
INSERT INTO `Field_Definition` VALUES (480, 'Discounts', 'Category_Condition_3', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Categories to Check', 'Categories', 'null', '', '', '', 15, 0, 3, 335, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Offer_When_3 == "category : qty";', '', 0, 0, 1, 0, 0, '', '', '', ' ', '');
INSERT INTO `Field_Definition` VALUES (481, 'Discounts', 'Category_Condition_4', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Categories to Check', 'Categories', 'null', '', '', '', 15, 0, 3, 335, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Offer_When_4 == "category : qty";', '', 0, 0, 1, 0, 0, '', '', '', ' ', '');
INSERT INTO `Field_Definition` VALUES (482, 'Discounts', 'Category_Condition_5', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Categories', 'null', '', '', '', 15, 1, 3, 335, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Offer_When_5 == "category : qty";', '', 0, 0, 1, 0, 0, '', '', '', ' ', '');
INSERT INTO `Field_Definition` VALUES (484, 'Payment_Gateways', 'Account_Name', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 100, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field should be set to the unique account name that has been provided to you buy your payment gateway. This will identify your store with them when your customers post transactions to them.', '', '');
INSERT INTO `Field_Definition` VALUES (485, 'Store_Information', 'Last_DB_Replace', 'Date Picker', '', 1, 1, 1, 1, 1, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', 'security_level("Squirrelcart Developer")', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (495, 'Store_Information', 'Required_Field_Indicator', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 200, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 1, 'vertical-align: baseline;', '', 'This is what will be displayed after a required field when a user is creating or modifying an account, or entering their shipping or billing information. Default is blank, which causes the cart to use the default image. This field can be set to text or HTML.', '', '');
INSERT INTO `Field_Definition` VALUES (486, 'Code', 'Code', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'This field will accept plain text, HTML or PHP.', '', '');
INSERT INTO `Field_Definition` VALUES (487, 'Products', 'Number_in_Stock', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'This field is optional. If inventory control is enabled, then this number will be decreased every time you receive an order for this item.', '', '');
INSERT INTO `Field_Definition` VALUES (488, 'Products', 'Keywords', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is used to assist customers in finding this product via a search. Any words you put in here will bring up this product, should they search for one or more of these keywords. By default, the products name, description, and category are all assumed as keywords to search.
\r\nExample: Say product "Christmas Light Set" is in the "Christmas" category. If someone searches for "x-mas", the product will not show up. If however, you enter "x-mas" as a keyword, then the product would show up in the search. Keywords can be seperated either by spaces or by commas.', '', '');
INSERT INTO `Field_Definition` VALUES (489, 'Table_Definition', 'Single_Record_Name', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'The value of this field should be what text you want to use to refer to a single record in this table. For example, if this table is called "Categories", then this field would be set to "Category". This is primarily used for programmatic use when displaying records, and editing them.', '', '');
INSERT INTO `Field_Definition` VALUES (490, 'Table_Definition', 'Plural_Record_Name', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'The value of this field should be what text you want to use to refer to multiple records in this table. For example, if this table is called "Categories", then this field would be set to "Categories". This is primarily used for programmatic use when displaying records, and editing them.', '', '');
INSERT INTO `Field_Definition` VALUES (491, 'Field_Choices', 'Table_Name', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'Table to apply these settings to. This is the table that will display the checkboxes with the values as field names from the "Source Table"', '', '');
INSERT INTO `Field_Definition` VALUES (492, 'Field_Choices', 'Field_Name', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'When editing a record from the table specified as "Table Name", the field you specify with this field (Field Name) will be shown as checkboxes with values as the names of the fields from the Source Table.', '', '');
INSERT INTO `Field_Definition` VALUES (493, 'Field_Choices', 'Source_Table', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'This is the table that will be used as the source for the field names that will be displayed in table "Table Name" at field "Field Name".', '', '');
INSERT INTO `Field_Definition` VALUES (494, 'Field_Choices', 'No_Break', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'If this is checked, then a BR tag will not be placd after this field choice. This is useful in cases where another field choice appears directly after, and allows you to have the checkboxes show up side by side as 2 columns.', '', '');
INSERT INTO `Field_Definition` VALUES (496, 'Store_Information', 'Missing_Field_Indicator', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 200, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 1, '', '', 'This is what will be displayed after a missing field when a user is creating or modifying an account, or entering their shipping or billing information. Default is blank, which causes the cart to use the default image. This field can be set to text or HTML.', '', '');
INSERT INTO `Field_Definition` VALUES (497, 'Field_Definition', 'Descriptor', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 300, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (507, 'Field_Set', 'Table_Name', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Table Names', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field tells Squirrelcart which table this field set is going to appear in.', '', '');
INSERT INTO `Field_Definition` VALUES (498, 'Categories', 'Display_Name', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'An optional field, Display Name will be displayed as an alternative to the actual category name. Useful for when you have multiple categories with similar names, and only wish to display the common name.\r\n\r\ni.e.\r\n
\r\nYou have two categories, Bachmann HO and Bachmann N. They appear under HO Scale and N Scale respectively. If you don''t enter a display name, the main menu would look like this:\r\n
\r\nMain Menu \r\n HO Scale \r\n Bachmann HO \r\n N Scale \r\n Bachmann N\r\n
\r\nIf you use a display name, the main menu will now look like this:\r\n
\r\nMain Menu \r\n HO Scale \r\n Bachmann \r\n N Scale \r\n Bachmann \r\n
\r\nIf a display name is not specified, the Name field will be used in all menus.', '', '');
INSERT INTO `Field_Definition` VALUES (499, 'Sales_Agreement', 'Display', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 0, 0, 0, '', '', 'This field controls where the Sales Agreement will be displayed.', '', '');
INSERT INTO `Field_Definition` VALUES (500, 'Sales_Agreement', 'Display_Name', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is optional. It controls the name of the agreement that will be displayed to the user. If left blank, the value in the "Name" field will be used.', '', '');
INSERT INTO `Field_Definition` VALUES (501, 'Store_Information', 'Category_Page_Title', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the page title that appear''s in your browser''s title bar when a category is clicked. To add any value from the category that was clicked, specify the field name for that value, with a $ directly in front of it, like this:
\r\nCategory: $Name', '', '');
INSERT INTO `Field_Definition` VALUES (502, 'Store_Information', 'Product_Page_Title', 'Text Input', '', 1, 1, 1, 1, 0, '', '', '', '', '', '', '', 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the title that will appear in your brower''s title bar when a product is clicked. You can use any field on a product record, by preceding it with a $ sign, like this:
An example of this is the display of the thumbnail images when viewing product records.', '', '');
INSERT INTO `Field_Definition` VALUES (550, 'Payment_Methods', 'Large_Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 'squirrelcart/images/cart', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (551, 'Store_Information', 'Payment_Method_Field', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''radio buttons w. images''] = "radio-images";\r\n$options[''select (dropdown)''] = "select";', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, 'radio-images', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the appearance of the payment method choice field at checkout.', '', '');
INSERT INTO `Field_Definition` VALUES (553, 'REL_Products__Warehouses', 'Stock', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, 'text-align: right;', '', 'This field is used to specify the number of units of this product at the warehouse specified to the left.', '', '');
INSERT INTO `Field_Definition` VALUES (554, 'REL_Query__Table_Definition', 'Query_rn', 'Relationship', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (555, 'REL_Query__Table_Definition', 'Table_Definition_rn', 'Relationship', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (556, 'Query', 'Primary_Table', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Table Names', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (557, 'Field_Definition', 'Use_Rich_Text', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '$Display_As == "Textarea Input";', '', 1, 0, 1, 0, 0, '', '', 'Checking this field will allow the field to show with the rich text editor, if it is installed.', '', '');
INSERT INTO `Field_Definition` VALUES (559, 'Order_Status', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 650, 200, 1, 1, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 1, '', '', 'This is the description that will show up in the cart when customers click on this status for more information. Any text or HTML is allowed.', '', '');
INSERT INTO `Field_Definition` VALUES (564, 'Options', 'Name', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 300, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This is the name of the option, such as "Size" or "Color".', '', '');
INSERT INTO `Field_Definition` VALUES (565, 'Options', 'Type', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''Select''] = ''select'';\r\n$options[''Text''] = ''text'';\r\n$options[''Textarea''] = ''textarea'';\r\n$options[''Checkbox''] = ''checkbox'';\r\n$options[''Radio Button''] = ''radio'';\r\n', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 1, 0, 0, '', '', 'This controls the type of option that will appear to the customer.', '', '');
INSERT INTO `Field_Definition` VALUES (567, 'REL_Options__Choices', 'Choices_rn', 'Relationship', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (568, 'Choices', 'Name', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Choice', 'null', 'null', '', '', '', 0, 0, 3, 300, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This is the choice that the customer will see. For example, if this choice is added to the option "Size", this field would be something like "Large" or "Small".', '', '');
INSERT INTO `Field_Definition` VALUES (569, 'Choices', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 650, 150, 1, 1, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 1, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (570, 'Choices', 'Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'option_choices', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is optional, and can be used to add an image for this particular option choice.', '', '');
INSERT INTO `Field_Definition` VALUES (571, 'Choices', 'Default_Price', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, 'text-align: right;', '', 'This field controls the default price that will be used for this option. Do not enter a currency symbol.', '', '');
INSERT INTO `Field_Definition` VALUES (572, 'Choices', 'Default_Price_Operator', 'Radio Input', '', 1, 1, 1, 1, 0, '', 'Change Price How', 'Formula', 'null', '', '', '$options[''increase''] = "plus";\r\n$options[''decrease''] = "minus";\r\n', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, 'plus', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls how the price of this option will alter the base price of the product it is added to.', '', '');
INSERT INTO `Field_Definition` VALUES (573, 'Choices', 'Default_Weight', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, 'text-align: right;', '', 'This field controls the amount of weight that will be added or subtracted to the total weight of the product, when this choice is chosen by the customer.', '', '');
INSERT INTO `Field_Definition` VALUES (574, 'Choices', 'Default_Weight_Operator', 'Radio Input', '', 1, 1, 1, 1, 0, '', 'Change Weight How', 'Formula', 'null', '', '', '$options[''increase''] = "plus";\r\n$options[''decrease''] = "minus";\r\n', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, 'plus', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls how the weight of this option will alter the product''s total weight, either increasing it or decreasing it.', '', '');
INSERT INTO `Field_Definition` VALUES (575, 'REL_Options__Choices', 'Options_rn', 'Relationship', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (576, 'Options', 'Instruction', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 450, 100, 1, 1, 1, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This is the description that will show up in the cart for customers looking at this product. Any text or HTML is allowed. If this is left blank, the Name will be used as the instruction.', '', '');
INSERT INTO `Field_Definition` VALUES (577, 'Field_Definition', 'RT_Standard', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Use_Rich_Text == 1;', '', 0, 0, 1, 0, 0, '', '', 'This field controls whether the standard toolbar will appear when the Rich Text module is installed.', '', '');
INSERT INTO `Field_Definition` VALUES (578, 'Field_Definition', 'RT_Advanced', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Use_Rich_Text == 1;', '', 0, 0, 1, 0, 0, '', '', 'This field controls whether the advanced toolbar will appear when the Rich Text module is installed.', '', '');
INSERT INTO `Field_Definition` VALUES (579, 'Field_Definition', 'RT_Formatting', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Use_Rich_Text == 1;', '', 0, 0, 1, 0, 0, '', '', 'This field controls whether the formatting toolbar will appear when the Rich Text module is installed.', '', '');
INSERT INTO `Field_Definition` VALUES (580, 'Options', 'Use_Inventory_Control', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$SC[''settings''][''Use_Inventory_Control''] == 1;', '', 0, 0, 0, 0, 0, '', '', 'This field controls whether or not you want to keep track of the number of units you have for this option. The field "Use Inventory Control" in your store settings must be enabled for this to work.', '', '');
INSERT INTO `Field_Definition` VALUES (581, 'Options', 'Default_Price', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, 'text-align: right;', '', 'This field controls the default price that will be used for this option. Do not enter a currency symbol.', '', '');
INSERT INTO `Field_Definition` VALUES (582, 'Options', 'Default_Price_Operator', 'Radio Input', '', 1, 1, 1, 1, 0, '', 'Change Price How', 'Formula', 'null', '', '', '$options[''increase''] = "plus";\r\n$options[''decrease''] = "minus";\r\n', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, 'plus', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls how the price of this option will alter the base price of the product it is added to.', '', '');
INSERT INTO `Field_Definition` VALUES (583, 'Options', 'Default_Weight', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, 'text-align: right;', '', 'This field controls the amount of weight that will be added or subtracted to the total weight of the product, when this choice is chosen by the customer.', '', '');
INSERT INTO `Field_Definition` VALUES (584, 'Options', 'Default_Weight_Operator', 'Radio Input', '', 1, 1, 1, 1, 0, '', 'Change Weight How', 'Formula', 'null', '', '', '$options[''increase''] = "plus";\r\n$options[''decrease''] = "minus";\r\n', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, 'plus', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls how the weight of this option will alter the product''s total weight, either increasing it or decreasing it.', '', '');
INSERT INTO `Field_Definition` VALUES (585, 'Orders', 'Transaction_ID', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '$Transaction_ID != '''';', '', 0, 0, 1, 0, 0, '', '', 'This field is only used if the payment gateway you have enabled supports it. It is used to store the unique transaction ID generated by your payment gateway system.', '', '');
INSERT INTO `Field_Definition` VALUES (586, 'Field_Definition', 'Move_Top', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$Display_As == "Relationship";', '', 0, 0, 0, 0, 0, '', '', 'When checked, the "Move to Top" arrow will be displayed.', '', '');
INSERT INTO `Field_Definition` VALUES (587, 'Field_Definition', 'Move_Up', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$Display_As == "Relationship";', '', 0, 0, 0, 0, 0, '', '', 'When checked, the "Move Up" arrow will be displayed.', '', '');
INSERT INTO `Field_Definition` VALUES (588, 'Field_Definition', 'Move_Down', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$Display_As == "Relationship";', '', 0, 0, 0, 0, 0, '', '', 'When checked, the "Move Down" arrow will be displayed.', '', '');
INSERT INTO `Field_Definition` VALUES (589, 'Field_Definition', 'Move_Bottom', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$Display_As == "Relationship";', '', 0, 0, 0, 0, 0, '', '', 'When checked, the "Move to Bottom" arrow will be displayed.', '', '');
INSERT INTO `Field_Definition` VALUES (621, 'Store_Information', 'Step_2_Label', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 40, 1, 1, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the label that will appear for this step in the checkout progress indicator. Default is "Step 2"', '', '');
INSERT INTO `Field_Definition` VALUES (590, 'Options', 'Required', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls whether or not the option must be chosen in order to add the product to the cart.', ' ', '');
INSERT INTO `Field_Definition` VALUES (591, 'Options', 'Add_Blank_Choice', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$Type == "select";', '', 0, 0, 1, 0, 0, '', '', 'When checked, a blank choice will appear at the top of the select input. This is to ensure that the option does not default to any one value.', '', '');
INSERT INTO `Field_Definition` VALUES (592, 'Options', 'Show_Detail_Page', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 0, '', '', '', 1, 0, 1, 0, 0, '', '', 'If checked, a link to the option detail page will be shown on the product detail page.', '', '');
INSERT INTO `Field_Definition` VALUES (593, 'Options', 'Detail_Links', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Links', 'Formula', 'null', '', '', '$img = get_image("Images","zoom_in");\r\n\r\n$options[''Instruction''] = ''instruction'';\r\n$options[$img] = ''image'';\r\n$options[''Custom''] = ''custom'';\r\n', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 0, 'image^^custom', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls how the link to open the option detail page will appear.\r\n \r\nInstruction - will turn the instruction text before the option into the link \r\nImage - will show an image to the right of the option field \r\nCustom - will show the text you enter in the "Custom Link Text" field below as the link.
\r\nNote: all 3 of these options can be used at the same time.', '', '');
INSERT INTO `Field_Definition` VALUES (594, 'Options', 'Custom_Link_Text', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 300, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '(details)', '', '', 0, 0, 1, 0, 0, '', '', 'This field is used when "Custom" is checked in the "Detail Links" field above. The text entered in this field will appear as a link on the product record, to open the detail page for this particular option.', '', '');
INSERT INTO `Field_Definition` VALUES (595, 'Options', 'Width', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '150', '$Type == "text" || $Type == "textarea";', '', 0, 0, 0, 0, 0, 'text-align: right;', '', 'This field controls the width of the option field, when Display As is set to "Text Input" or "Textarea Input".', '', 'px');
INSERT INTO `Field_Definition` VALUES (596, 'Options', 'Height', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '100', '$Type == "textarea";', '', 0, 0, 1, 0, 0, 'text-align: right;', '', 'This field controls the height of the field, when Display As is set to "Textarea".', '', 'px');
INSERT INTO `Field_Definition` VALUES (597, 'Options', 'Detail_Link_Placement', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Link Placement', 'Formula', 'null', '', '', '$options[''after instruction - on same line''] = ''left'';\r\n$options[''after instruction - on next line''] = ''leftbr'';\r\n$options[''after field - on same line''] = ''right'';\r\n$options[''after field - on next line''] = ''rightbr'';\r\n\r\n', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls where the "Image" and "Custom" detail links will appear. Options are as follows:\r\n \r\nAfter Instruction - inline: on the same line as the instruction, to the right \r\nAfter Instruction - nextline: on the line immediately following the instruction \r\nAfter Field - inline: on the same line as the field, to the right \r\nAfter Field - nextline: on the line immediately following the field\r\n', '', '');
INSERT INTO `Field_Definition` VALUES (598, 'Options', 'Break_After_Choice', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '1', '$Type == "radio";', '', 0, 0, 1, 0, 0, '', '', 'If checked, each choice will be shown on a new line.', '', '');
INSERT INTO `Field_Definition` VALUES (599, 'Options', 'Choices_Per_Row', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '3', '($Type == "select" || $Type == "radio") && $Detail_Page_Content == "autogenerate";', '', 0, 0, 1, 0, 0, '', '', 'This field controls the number of options show per row on the product option detail page.', '', '');
INSERT INTO `Field_Definition` VALUES (600, 'Options', 'Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'options', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is optional. If set, it is used on the option detail page.', '', '');
INSERT INTO `Field_Definition` VALUES (601, 'Options', 'Large_Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'options', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is optional. If set, it is used on the option detail page. If you have an image specified for the "Image" field, then clicking that field will result in a popup that displays this larger image.', '', '');
INSERT INTO `Field_Definition` VALUES (604, 'Options', 'Detail_Page_Height', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Page Height', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '200', '$Detail_Page_Size == "custom";', '', 0, 0, 0, 0, 0, 'text-align: right;', '', 'This field controls the height of the option detail page.', '', 'px');
INSERT INTO `Field_Definition` VALUES (602, 'Choices', 'Large_Image', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'option_choices', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is optional. If set, it is used on the option detail page. If you have an image specified for the "Image" field, then clicking that field will result in a popup that displays the larger image.', '', '');
INSERT INTO `Field_Definition` VALUES (603, 'Options', 'Detail_Page_Width', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Page Width', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '250', '$Detail_Page_Size == "custom";', '', 0, 0, 0, 0, 0, 'text-align: right;', '', 'This field controls the width of the option detail page.', '', 'px');
INSERT INTO `Field_Definition` VALUES (605, 'Options', 'Detail_Page_Size', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Page Size', 'Comma Seperated Values', 'null', '', 'default,custom', '', 0, 0, 2, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, 'default', '', '', 1, 0, 1, 0, 0, '', '', 'This field controls whether the option detail page will open as a normal page, or if it will be opened as a custom popup. If set to "custom", you can then define the width and height of the detail page window.', '', '');
INSERT INTO `Field_Definition` VALUES (606, 'Options', 'Detail_Page_Content', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Page Content', 'Comma Seperated Values', 'null', '', 'autogenerate,custom URL', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, 'autogenerate', '', '', 1, 0, 0, 0, 0, '', '', 'This field controls the content of the option detail page. If set to "autogenerate" Squirrelcart will generate the page based on the information you''ve specified in your options and associated choices. If set to "custom", you can enter a URL of a page that contains information about the option.', '', '');
INSERT INTO `Field_Definition` VALUES (607, 'Options', 'Detail_Page_URL', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 300, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$Detail_Page_Content == "custom URL";', '', 0, 0, 1, 0, 1, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (608, 'DB_History', 'Name', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (609, 'DB_History', 'Description', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (610, 'DB_History', 'Release_Date', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (611, 'DB_History', 'Import_Date', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (612, 'DB_History', 'Status', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (613, 'Table_Definition', 'Read_Only', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'When checked, all records in this table will be set to delete inhibit for all non developers.', '', '');
INSERT INTO `Field_Definition` VALUES (614, 'Store_Information', 'DB_Version', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field displays the version # for your Squirrelcart database, which should match the version of Squirrelcart itself. If this number does not match the version number in the menu bar, then you may have a problem with your database.', '', '');
INSERT INTO `Field_Definition` VALUES (615, 'Store_Information', 'Required_Field_Indicator_Choice', 'Radio Input', '', 1, 1, 1, 1, 0, '', 'Required Field Indicator', 'Formula', 'null', '', '', '$req_fld_img1 = get_image("Images","required_field_1",0,0,1);\r\n$req_fld_img1 = "";\r\n\r\n$req_fld_img2 = get_image("Images","required_field_2",0,0,1);\r\n$req_fld_img2 = "";\r\n\r\n$options[''custom: ''] = "custom";\r\n$options[$req_fld_img1] = "required_field_1";\r\n$options[$req_fld_img2] = "required_field_2";\r\n\r\n', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, '', '', 'This field controls the appearance of the required field indicator on your address and product forms. It indicates to the customer that a field is required.', ' ', '');
INSERT INTO `Field_Definition` VALUES (616, 'Store_Information', 'Missing_Field_Indicator_Choice', 'Radio Input', '', 1, 1, 1, 1, 0, '', 'Missing Field Indicator', 'Formula', 'null', '', '', '$missing_fld_img1 = get_image("Images","missing_field_1",0,0,1);\r\n$missing_fld_img1 = "";\r\n\r\n$missing_fld_img2 = get_image("Images","missing_field_2",0,0,1);\r\n$missing_fld_img2 = "";\r\n\r\n\r\n$options[''custom: ''] = "custom";\r\n$options[$missing_fld_img1] = "missing_field_1";\r\n$options[$missing_fld_img2] = "missing_field_2";\r\n\r\n', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, '', '', 'This field controls the appearance of the missing field indicator on your address and product forms. It appears after a form has been submitted, to indicate to the customer that a required field is missing or invalid.', '', '');
INSERT INTO `Field_Definition` VALUES (617, 'Store_Information', 'Missing_Field_Colored', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'If checked, any required field that is missing when a form is submitted will have it''s background color changed to indicate that it is incomplete. The color used is controlled via the ".error_field" class selector in store.css.', '', '');
INSERT INTO `Field_Definition` VALUES (618, 'Store_Information', 'HTML_Email_Merchant', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'HTML', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$Email_Order_To_Merchant == 1;', '', 0, 0, 1, 0, 0, '', '', 'When checked, order emails to the merchant will be sent in multipart HTML format. In the event that the email is read on a device that does not support HTML, it will be shown in plain text.', '', '');
INSERT INTO `Field_Definition` VALUES (619, 'Store_Information', 'HTML_Email_Customer', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'HTML', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$Email_Order_To_Customer == 1;', '', 0, 0, 1, 0, 0, '', '', 'When checked, order emails to the customer will be sent in multipart HTML format, provided they chose HTML as their email preference. In the event that the email is read on a device that does not support HTML, it will be shown in plain text.', '', '');
INSERT INTO `Field_Definition` VALUES (622, 'Store_Information', 'Step_3_Label', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 40, 1, 1, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the label that will appear for this step in the checkout progress indicator. Default is "Step 3"', '', '');
INSERT INTO `Field_Definition` VALUES (623, 'Store_Information', 'Step_4_Label', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 40, 1, 1, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the label that will appear for this step in the checkout progress indicator. Default is "Step 4"', '', '');
INSERT INTO `Field_Definition` VALUES (624, 'Store_Information', 'Step_5_Label', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 40, 1, 1, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the label that will appear for this step in the checkout progress indicator. Default is "Step 5"', '', '');
INSERT INTO `Field_Definition` VALUES (625, 'Store_Information', 'Step_1_Text', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 40, 1, 1, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the text that will appear for this step in the checkout progress indicator.', '', '');
INSERT INTO `Field_Definition` VALUES (626, 'Store_Information', 'Step_2_Text', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 40, 1, 1, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the text that will appear for this step in the checkout progress indicator.', '', '');
INSERT INTO `Field_Definition` VALUES (627, 'Store_Information', 'Step_3_Text', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 40, 1, 1, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the text that will appear for this step in the checkout progress indicator.', '', '');
INSERT INTO `Field_Definition` VALUES (628, 'Store_Information', 'Step_4_Text', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 40, 1, 1, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the text that will appear for this step in the checkout progress indicator.', '', '');
INSERT INTO `Field_Definition` VALUES (629, 'Store_Information', 'Step_5_Text', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 40, 1, 1, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the text that will appear for this step in the checkout progress indicator.', '', '');
INSERT INTO `Field_Definition` VALUES (649, 'Store_Information', 'Email_Ship_Notification', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 1, 0, 0, 0, 0, '', '', 'If checked, Squirrelcart will send a notice via email when you submit a shipment to a courier that supports real time rates. This email by default includes the tracking number, and information on how to track the package on your website.', '', '');
INSERT INTO `Field_Definition` VALUES (648, 'Store_Information', 'HTML_Email_Ship_Notification', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'HTML', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$Email_Ship_Notification == 1;', '', 0, 0, 1, 0, 0, '', '', 'When checked, ship notification emails to the customer will be sent in multipart HTML format. In the event that the email is read on a device that does not support HTML, it will be shown in plain text.', '', '');
INSERT INTO `Field_Definition` VALUES (632, 'Shipping_Couriers', 'Logo_Image_Small', 'Image Upload', '', 1, 1, 1, 1, 0, '', 'Small Image', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 'content', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (633, 'Shipping_Couriers', 'FedEx_Drop_Off_Type', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Dropoff Type', 'Formula', 'null', '', '', '$options[''Regular Pickup''] = "REGULARPICKUP";\r\n$options[''Request Courier''] = "REQUESTCOURIER";\r\n$options[''Drop Box''] = "DROPBOX";\r\n$options[''Business Service Center''] = "BUSINESSSERVICECENTER";\r\n$options[''Station''] = "STATION";', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$record_number == 3', '', 0, 0, 1, 0, 0, '', '', '
This field is used when obtaining rates from FedEx. Drop off types are:
Regular Pickup - Regularly scheduled pickup from FedEx Request Courier - Request pickup via telephone Drop Box - FedEx drop box Business Service Center - FedEx Kinko''s, Staples, or other authorized FedEx service center Station - FedEx location - (World Service Center)
', '', '');
INSERT INTO `Field_Definition` VALUES (635, 'Shipping_Couriers', 'FedEx_Register', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$record_number == 3 && $FedEx_Meter_Number < 1;', '', 0, 0, 1, 0, 1, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (636, 'Shipping_Couriers', 'FedEx_Meter_Number', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Meter Number', 'null', 'null', '', '', '', 0, 0, 3, 150, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$record_number == 3 && $FedEx_Meter_Number > 1 && $FedEx_Real_Time_Rates == 1;', '', 0, 0, 1, 1, 0, '', '', 'This number was assigned by FedEx when you subscribed for Web Integration Solutions, and is sent to FedEx with all transaction requests.', '', '');
INSERT INTO `Field_Definition` VALUES (637, 'Shipping_Couriers', 'FedEx_Label_ImageType', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Label Image Type', 'Formula', 'null', '', '', '$options[''PNG - for plain paper printing''] = "PNG";\r\n\r\n/* AAAARRGGGHH! No plugin support from FedEx for these...\r\nmay add in the future.\r\n$options[''ELTRON - for thermal printing''] = "ELTRON";\r\n$options[''Zebra - for thermal printing''] = "ZEBRA";\r\n$options[''UniMark - for thermal printing''] = "UNIMARK";\r\n*/', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, 'PNG', '$record_number == 3 && $FedEx_Meter_Number > 1 && $FedEx_Real_Time_Rates == 1;', '', 1, 0, 1, 0, 0, '', '', 'This field determines the format that your labels will be presented in for printing. If you are printing on plain paper using either a laser or inkjet printer, choose "PNG". If you are using a thermal printer, choose one of the thermal printing options.', '', '');
INSERT INTO `Field_Definition` VALUES (638, 'Shipping_Couriers', 'FedEx_Label_Resolution', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Label Resolution', 'Formula', 'null', '', '', '$options[''96 DPI (Windows Default)''] = 96;\r\n$options[''72 DPI''] = 72;\r\n$options[''120 DPI (Windows w. Large Fonts)''] = 120;\r\n$options[''Other''] = 0;', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '96', '$record_number == 3 && $FedEx_Meter_Number > 1 && $FedEx_Real_Time_Rates == 1 && $FedEx_Label_ImageType == "PNG";', '', 1, 0, 0, 0, 0, '', '', 'This field determines the final size of your printed label. Your first label should be measured to insure that it is 7 " x 4.75". If it measuers differently, you may need to adjust this field.', '', '');
INSERT INTO `Field_Definition` VALUES (639, 'Shipping_Couriers', 'FedEx_Label_Resolution_Other', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$record_number == 3 && $FedEx_Meter_Number > 1 && $FedEx_Real_Time_Rates == 1 && $FedEx_Label_ImageType == "PNG" && $FedEx_Label_Resolution == 0;', '', 0, 0, 0, 0, 1, '', '', 'This field determines the final size of your printed label. Your first label should be measured to insure that it is 7 " x 4.75". If it measuers differently, you may need to adjust this field.', '', ' DPI');
INSERT INTO `Field_Definition` VALUES (640, 'Shipments', 'Method', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$services = sc_query("\r\nSELECT\r\n sm.record_number AS rn\r\n ,sm.Method\r\n ,sc.Name AS Courier\r\nFROM\r\n Shipping_Methods sm\r\nLEFT JOIN\r\n Shipping_Couriers sc\r\nON\r\n sm.Courier = sc.record_number\r\nORDER BY\r\n sc.Name ASC, sm.Method ASC\r\n",MYSQL_ASSOC,1);\r\n\r\nif(is_array($services)) {\r\n foreach($services as $service) {\r\n $options["$service[Courier] - $service[Method]"] = $service[''rn''];\r\n }\r\n}', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (641, 'Shipments', 'Shipped_On', 'Date Picker', '', 1, 1, 1, 1, 1, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (642, 'Shipments', 'Weight', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 45, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, 'text-align: right;', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (643, 'Shipments', 'Tracking_Number', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 150, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 0, 0, 0, '', '', 'This is the tracking number for this package, specific to the courier used. If you have RTR enabled for a shipping courier that supports tracking, your customer will be able to track this shipment in "Order History".', '', '');
INSERT INTO `Field_Definition` VALUES (644, 'Shipments', 'Order_Number', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 150, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is optional. If an order number is entered, the customer that placed the order can view this shipment in "Order History".', '', '');
INSERT INTO `Field_Definition` VALUES (645, 'Shipments', 'Label', 'Image Upload', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, 'shiplabels', 0, 0, 1, '', '', '', 0, 0, 1, 0, 1, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (646, 'Field_Definition', 'Image_Autogenerate', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$Display_As == "Image Upload";', '', 0, 0, 0, 0, 0, '', '', 'If checked, the autogenerate fields will appear for this image.', '', '');
INSERT INTO `Field_Definition` VALUES (647, 'Field_Definition', 'Image_Browse', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$Display_As == "Image Upload";', '', 0, 0, 1, 0, 0, '', '', 'If checked, the button to browse images to the right of the edit field will appear on records.', '', '');
INSERT INTO `Field_Definition` VALUES (650, 'Shipping_Couriers', 'FedEx_LabelStockOrientation', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Stock Orientation', 'Formula', 'null', '', '', '$options[''leading''] = "LEADING";\r\n$options[''trailing''] = "TRAILING";\r\n$options[''none''] = "NONE";\r\n', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$record_number == 3 && $FedEx_Meter_Number > 1 && $FedEx_Real_Time_Rates == 1 && $FedEx_Label_ImageType != "PNG";', '', 1, 0, 0, 0, 0, '', '', 'Specifies whether label stock has doctab on leading or trailing end of label as it emerges from printer, or has no doctab.', ' ', '');
INSERT INTO `Field_Definition` VALUES (651, 'Shipping_Couriers', 'FedEx_DocTabLocation', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Doctab Location', 'Formula', 'null', '', '', '$options[''top''] = "TOP";\r\n$options[''bottom''] = "BOTTOM";\r\n', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 0, 0, 1, '', '$record_number == 3 && $FedEx_Meter_Number > 1 && $FedEx_Real_Time_Rates == 1 && $FedEx_Label_ImageType != "PNG" && $FedEx_LabelStockOrientation != "NONE";', '', 1, 0, 1, 0, 0, '', '', 'Specifies whether the label will be oriented so the physical doctab appears at the top or at the bottom of the label when viewed with text upright. ', '', '');
INSERT INTO `Field_Definition` VALUES (652, 'Store_Information', 'Show_Account_Choice', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '
This field controls whether or not the account choice page is shown during checkout. This page offers the customer 3 choices:
\r\n\r\n
\r\n
New Account
\r\n
\r\n
Existing Account
\r\n
\r\n
Skip Account (not shown when "Force User Creation" is on)
', '', '');
INSERT INTO `Field_Definition` VALUES (653, 'Store_Information', 'Checkout_Login_Behavior', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''show address form''] = "address form";\r\n$options[''show cart''] = "show cart";\r\n', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 'address form', '', '', 0, 0, 1, 0, 0, '', '', 'This field determines what will happen after a customer logins in while checking out. If "show address form" is selected, the address form will be shown, populated with the information from the user''s account. If "show cart" is selected, checkout form will be shown, along with the customer''s address information above in small boxes.', '', '');
INSERT INTO `Field_Definition` VALUES (654, 'Store_Information', 'Restricted_Usernames', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 100, 50, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is used to prevent customers from creating user accounts with certain names. List each username you want to restrict on a separate line.', '', '');
INSERT INTO `Field_Definition` VALUES (655, 'Payment_Gateways', 'URL', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 300, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '$Show_URL == 1;', '', 0, 0, 1, 0, 0, '', '', 'URL to connect to for this gateway', '', '');
INSERT INTO `Field_Definition` VALUES (656, 'Payment_Methods', 'Auto_Return', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '$record_number == 5;', '', 1, 0, 1, 0, 0, '', '', 'Auto Return is used to return the customer back to your website after submitting a payment to PayPal.', '', '');
INSERT INTO `Field_Definition` VALUES (657, 'Payment_Methods', 'PDT', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '$record_number == 5 && $Auto_Return == 1;', '', 1, 0, 0, 0, 0, '', '', 'PDT (Payment Data Transfer) is used to verify the payment information after payment.', '', '');
INSERT INTO `Field_Definition` VALUES (658, 'Payment_Methods', 'IPN', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '$record_number == 5 && $Auto_Return == 1;', '', 1, 0, 0, 0, 0, '', '', 'IPN (Instant Payment Notification) - this PayPal feature reports back the status of an order whenever necessary. Please see PayPal''s documentation for more information on IPN.', '', '');
INSERT INTO `Field_Definition` VALUES (659, 'Payment_Methods', 'PDT_Identity_Token', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Identity Token', 'null', 'null', '', '', '', 0, 0, 3, 200, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '$record_number == 5 && $Auto_Return == 1 && $PDT == 1;', '', 0, 0, 1, 0, 0, '', '', 'This is the indentity token from your PayPal profile. It is used to verify your identitiy when your web server requests information about a transaction.', '', '');
INSERT INTO `Field_Definition` VALUES (660, 'Orders', 'Payment_Status', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '$Payment_Status != ''''', '', 0, 0, 1, 0, 0, '', '', 'This field is used to store the status of the payment, as it is specified by your payment gateway/processor. This field should not be confused with the "Status" section, which allows you to add your own custom status options to the order.', '', '');
INSERT INTO `Field_Definition` VALUES (661, 'Orders', 'PayPal_Address_Status', 'Text Only', '', 1, 1, 1, 1, 0, '', 'Address Status', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is update when you have PayPal PDT and/or IPN enabled. It shows whether the customer''s address has been confirmed or not.', '', '');
INSERT INTO `Field_Definition` VALUES (662, 'Orders', 'PayPal_Payer_Status', 'Text Only', '', 1, 1, 1, 1, 0, '', 'Payer Status', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is update when you have PayPal PDT and/or IPN enabled. It shows whether the customer''s bank account has been verified. Values are "verified", and "unverified".', '', '');
INSERT INTO `Field_Definition` VALUES (663, 'Orders', 'Payment_Status', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, 'unavailable', '$Payment_Status != '''';', '', 0, 0, 1, 0, 0, '', '', 'This field is used to store the status of the payment, as it is specified by your payment gateway/processor. This field should not be confused with the "Status" section, which allows you to add your own custom status options to the order.', '', '');
INSERT INTO `Field_Definition` VALUES (664, 'Orders', 'PayPal_Pending_Reason', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '$PayPal_Pending_Reason != '''';', '', 0, 0, 1, 0, 0, '', '', 'This field is set when the payment status is "Pending", and indicates the reason for the pending state.', '', '');
INSERT INTO `Field_Definition` VALUES (665, 'Orders', 'PayPal_Reason_Code', 'Text Only', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '$PayPal_Reason_Code != '''';', '', 0, 0, 1, 0, 0, '', '', 'This is only set when payment status is "reveresed" or "refunded", and will indicate why.', '', '');
INSERT INTO `Field_Definition` VALUES (666, 'Orders', 'PayPal_Payment_Type', 'Text Only', '', 1, 1, 1, 1, 0, '', 'Payment Type', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field describes the method of payment the customer used on PayPal''s site. The options are "echeck" for electronic check, or "instant" for cc or debit payments.', '', '');
INSERT INTO `Field_Definition` VALUES (668, 'Payment_Methods', 'Test_IPN', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 0, '', '$Auto_Return == 1 && $record_number == 5 && $IPN == 1;', '', 0, 0, 1, 0, 0, '', '', 'When checked, an email will be sent to your paypal payment email address every time an IPN is sent to your website from PayPal. This is for testing purposes only.', '', '');
INSERT INTO `Field_Definition` VALUES (667, 'Orders', 'PayPal_IPN_Log', 'Textarea Input', '', 1, 1, 1, 1, 0, '', 'IPN Log', 'null', 'null', '', '', '', 0, 0, 3, 300, 100, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 1, 0, '', '', 'This is a log of each IPN that has updated this order record. This field will only be populated if IPN is enabled on PayPal''s record in "Settings > Payment > Methods", and is functioning properly.', '', '');
INSERT INTO `Field_Definition` VALUES (671, 'Payment_Gateways', 'Test_Mode', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 0, '', '($Show_Test_Mode_Server == 1 && $Connection_Method == "Server to Server") || ($Show_Test_Mode_Client_Sec == 1 && $Connection_Method == "Client side secure form POST") || ($Show_Test_Mode_Client_Non == 1 && $Connection_Method == "Client side non-secure form POST")', '', 0, 0, 1, 0, 0, '', 'if(this.checked) alert(''Please note - While this feature should send test transactions only, a problem or change in your gateway\\''s system could result in the transactions being treated as regular transactions. For this reason, you should never use real credit numbers when testing, even with test mode enabled.'');', 'When checked, Squirrelcart will send any transactions to the gateway as test transactions, and no charge will occur. Please note - While this feature should send test transactions only, a problem or change in your gateway''s system could result in the transactions being treated as regular transactions. For this reason, you should never use real credit numbers when testing, even with test mode enabled. ', '', '');
INSERT INTO `Field_Definition` VALUES (672, 'Payment_Gateways', 'Show_Test_Mode_Server', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 0, '', 'security_level(''Squirrelcart Developer'');', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (673, 'Payment_Gateways', 'Show_Test_Mode_Client_Sec', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 0, '', 'security_level(''Squirrelcart Developer'');', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (674, 'Payment_Gateways', 'Show_Test_Mode_Client_Non', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 0, '', 'security_level(''Squirrelcart Developer'');', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (675, 'Payment_Gateways', 'Certificate_Path', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '$Show_Certificate_Path == 1;', '', 0, 0, 1, 0, 0, '', '', 'This field is used to store the path to your certificate or another file used by your gateway. The use of this field varies according to the gateway you are using. You should check the page in Squirrelcart''s documentation for your particular gateway for instructions on using this field.', '', '');
INSERT INTO `Field_Definition` VALUES (676, 'Payment_Gateways', 'Show_Certificate_Path', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 0, '', 'security_level(''Squirrelcart Developer'');', '', 0, 0, 1, 0, 0, '', '', 'This field controls whether or not the Certificate Path field will appear on this gateway record.', '', '');
INSERT INTO `Field_Definition` VALUES (677, 'Customers', 'Email_Preference', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''HTML''] = ''HTML'';\r\n$options[''Plain text''] = ''text'';', 0, 0, 2, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the format of emails sent to the customer from Squirrelcart.', '', '');
INSERT INTO `Field_Definition` VALUES (678, 'Orders', 'Bill_Email_Preference', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''HTML''] = ''HTML'';\r\n$options[''Plain text''] = ''text'';', 0, 0, 2, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the format of emails sent to the customer from Squirrelcart.', '', '');
INSERT INTO `Field_Definition` VALUES (679, 'Store_Information', 'Cart_Preview_Mode', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Display Mode', 'Comma Seperated Values', 'null', '', 'simple,advanced', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, 'advanced', '', '', 1, 0, 1, 0, 0, '', '', 'This field controls what will appear in the "Cart Options" navigation box. \r\nIf set to "simple", a message will appear to indicate how many items are in the cart, and the total. If set to "advanced", a breakdown of the items in the cart will appear, with links to change the items.', '', '');
INSERT INTO `Field_Definition` VALUES (680, 'Store_Information', 'Cart_Preview_Name_Length', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Item Name Length', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '13', '$Cart_Preview_Mode == ''advanced''', '', 0, 0, 1, 0, 0, '', '', 'This field controls the number of characters from the product name that will be shown before it is truncated. The default value is 13.', '', '');
INSERT INTO `Field_Definition` VALUES (681, 'Payment_Gateways', 'Show_URL', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 0, '1', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (682, 'Countries', 'EU_Member', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is used to specify that this country is a member of the European Union.', '', '');
INSERT INTO `Field_Definition` VALUES (683, 'Warehouses', 'VAT_Enabled', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 0, '', '', '', 1, 0, 1, 0, 0, '', '', 'VAT is a tax that is charged in the EU (European Union). It is charged only for purchases that are being sold by a VAT registered business to a customer that resides in any country in the EU. If your store is in a country that is a member of the EU, and you want to collect VAT for the address specified here, check this field.', '', '');
INSERT INTO `Field_Definition` VALUES (684, 'Warehouses', 'VAT_Rate_0', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 40, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 0, 0, 0, 'text-align: right;', '', 'This is the rate to charge for products that ship from this country, and are set to use the "Zero Rate". The Zero Rate is also sometimes referred to as "Super Reduced Rate".'');\r\nINSERT INTO `Field_Help` VALUES (241, ''Warehouses'', ''VAT_Rate_1'', ''This is the rate to charge for products that ship from this country, and are set to use the Standard Rate.'');\r\nINSERT INTO `Field_Help` VALUES (242, ''Warehouses'', ''VAT_Rate_2'', ''This is the rate to charge for products that ship from this country, and are set to use the Non-Standard Rate. The Non-Standard Rate is also sometimes referred to as "Reduced Rate".', '', '');
INSERT INTO `Field_Definition` VALUES (685, 'Warehouses', 'VAT_Rate_1', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 40, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 0, 0, 0, 'text-align: right;', '', 'This is the rate to charge for products that ship from this country, and are set to use the Standard Rate.', '', '');
INSERT INTO `Field_Definition` VALUES (686, 'Warehouses', 'VAT_Rate_2', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 40, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 0, 0, 0, 'text-align: right;', '', 'This is the rate to charge for products that ship from this country, and are set to use the Non-Standard Rate. The Non-Standard Rate is also sometimes referred to as "Reduced Rate".', '', '');
INSERT INTO `Field_Definition` VALUES (687, 'Categories', 'VAT_Rate', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''0 - Zero Rate''] = 0;\r\n$options[''1 - Standard Rate''] = 1;\r\n$options[''2 - Non-Standard Rate''] = 2;', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '1', '$Tax_Items == ''yes'';', '', 0, 0, 1, 0, 0, '', '', 'This controls the default VAT rate for products in this category that will be charged for orders received from EU countries. It only applies if you have VAT Enabled on 1 or more Warehouse records. The actual rate percentage is controlled by the VAT rate values on the records in the Warehouses table that matches the ship from location for the items in this category. You can override this setting on a per product basis using the same field name on the product''''s record.
\r\nPlease note: If you do not collect VAT, leave this set to "0".', '', '');
INSERT INTO `Field_Definition` VALUES (688, 'Products', 'VAT_Rate', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''0 - Zero Rate''] = 0;\r\n$options[''1 - Standard Rate''] = 1;\r\n$options[''2 - Non-Standard Rate''] = 2;', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '1', '$Tax_Item == ''yes'';', '', 0, 0, 1, 0, 0, '', '', 'This controls the VAT rate for this product, which will be charged for orders received from EU countries. It only applies if you have VAT Enabled on 1 or more of your Warehouse records. The actual rate percentage is controlled by the values on the record in the Warehouses table that matches the ship from location of this item.
\r\nPlease note: If you do not collect VAT, leave this set to "0".', '', '');
INSERT INTO `Field_Definition` VALUES (689, 'Orders', 'State_Tax_Total', 'Text Input', '', 1, 1, 1, 1, 0, '', 'State / Province Tax Total', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, 'text-align: right;', '', 'This is the tax total for State / Province based tax.', '', '');
INSERT INTO `Field_Definition` VALUES (690, 'Orders', 'VAT_Total', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '$VAT_Present == 1;', '', 0, 0, 1, 0, 0, '', '', 'This is the total VAT (Value Added Tax) for this order. This tax is only applicable to orders between European Union companies.', '', '');
INSERT INTO `Field_Definition` VALUES (691, 'Payment_Methods', 'PayPal_Mode', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''Live''] = ''live'';\r\n$options[''Test (PayPal Sandbox)''] = ''sandbox'';', 0, 0, 2, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, 'live', '$record_number == 5', '', 0, 0, 1, 0, 0, '', '', 'This field is used to specify where you want your transactions processed. To accept real transactions, this must be set to "Live". To use PayPal''s sandbox environment, this must be set to "Sandbox". More information on PayPal''s sandbox can be found on their website.', '', '');
INSERT INTO `Field_Definition` VALUES (692, 'REL_Categories__Categories', 'Categories_child_rn', 'Relationship', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (693, 'Shipping_Couriers', 'FedEx_Residence_Signature', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Residential Signature Option', 'Formula', 'null', '', '', '$options[''''] = '''';\r\n$options[''Deliver Without a Signature''] = ''DELIVERWITHOUTSIGNATURE'';\r\n$options[''Indirect''] = ''INDIRECT'';\r\n$options[''Direct''] = ''DIRECT'';\r\n$options[''Adult''] = ''ADULT'';', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, 'DELIVERWITHOUTSIGNATURE', '$record_number == 3 && $FedEx_Meter_Number > 1 && $FedEx_Real_Time_Rates == 1;', '', 0, 0, 1, 0, 0, '', '', 'FedEx Delivery Signature Options for Shipments to Residential Addresses.
For shipments to residential addresses, shippers can choose from three FedEx Delivery Signature Options.
Note: If the shipper does not select one of the three signature options, FedEx may deliver the shipment without a signature.
\r\n
\r\n
Indirect Signature Required. FedEx will obtain a signature in one of three ways: \r\n
\r\n
From any person at the delivery address; or \r\n
From a neighbor, building manager or other person at a neighboring address; or \r\n
The recipient can sign a FedEx door tag authorizing release of the package without anyone present.
The fee for Indirect Signature Required is $1.50 (as of July 11th, 2005). \r\n
Direct Signature Required. FedEx will obtain a signature from any person at the delivery address. If no one is at the address, FedEx will reattempt delivery. The recipient may also choose to pick up the package at the location listed on the door tag. The fee for Direct Signature Required is $2 (as of July 11th, 2005).
\r\n
Adult Signature Required. FedEx will obtain a signature from any person at least 21 years old (government-issued photo identification required) at the delivery address. If no one is at the address, FedEx will reattempt delivery. The recipient may also choose to pick up the package at the location listed on the door tag. The fee for Adult Signature Required is $2.75 (as of July 11th, 2005).
For shipments to nonresidential addresses, shippers can choose from two of the FedEx Delivery Signature Options.
Note: The policy for shipments to nonresidential addresses is not changing. FedEx will attempt to obtain a signature from someone at the delivery address or a neighboring address, and no fee will apply.
\r\n
\r\n
Direct Signature Required. FedEx will obtain a signature from any person at the delivery address. If no one is at the address, FedEx will reattempt delivery. The fee for Direct Signature Required is $2 (as of July 11th, 2005).
\r\n
Adult Signature Required. FedEx will obtain a signature from any person at least 21 years old (government-issued photo identification required) at the delivery address. The fee for Adult Signature Required is $2.75 (as of July 11th, 2005). Note: The Adult Signature Required option overrides any recipient release that may be on file for nonresidential deliveries.
\r\n
Shippers can still choose the Deliver Without a Signature option for express shipments for no fee.
', '', '');
INSERT INTO `Field_Definition` VALUES (695, 'Store_Information', 'JPG_Quality', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 30, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the quality of the JPG files created when a JPG is manipulated in Squirrelcart. The default value for this field is 85, which generates a JPG with 85% of the quality of the original. The higher you make this number the better the JPG will look, and the bigger the resulting file will be.', '', '');
INSERT INTO `Field_Definition` VALUES (696, 'Field_Definition', 'Wrap', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, '', '$Display_As == ''Textarea Input''', '', 0, 0, 1, 0, 0, '', '', 'This field determines whether textarea fields will wrap or not.', '', '');
INSERT INTO `Field_Definition` VALUES (697, 'Store_Information', 'Weight_Units', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''lbs - pounds''] = ''LB'';\r\n$options[''kgs - kilograms''] = ''KG'';', 0, 0, 3, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, 'LB', '', '', 0, 0, 1, 0, 0, '', '', 'This defines the units that are used for weight fields.', '', '');
INSERT INTO `Field_Definition` VALUES (698, 'Store_Information', 'Dimension_Units', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''in - inches''] = ''IN'';\r\n$options[''cm - centimeters''] = ''CM'';', 0, 0, 3, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, 'IN', '', '', 0, 0, 1, 0, 0, '', '', 'This defines the units that are used for dimensional fields (width, height, depth).', '', '');
INSERT INTO `Field_Definition` VALUES (699, 'Shipments', 'Cost', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, 'text-align: right', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (701, 'Shipping_Couriers', 'FedEx_Currency_Code', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Currency Code', 'Formula', 'null', '', '', '$options[''Argentina Astral''] = ''ARA'';\r\n$options[''Australian Dollar''] = ''AUD'';\r\n$options[''Austrian Schilling''] = ''AUS'';\r\n$options[''Bahrain Dinar''] = ''BHD'';\r\n$options[''Belgian Franc''] = ''BFR'';\r\n$options[''Brazilian Cruzado''] = ''BRC'';\r\n$options[''British Pound Sterling''] = ''UKL'';\r\n$options[''Canadian Dollar''] = ''CAD'';\r\n$options[''Chilean Peso''] = ''CHP'';\r\n$options[''Denmark Krone''] = ''DKK'';\r\n$options[''Dutch Guilder''] = ''DFL'';\r\n$options[''EURO''] = ''EUR'';\r\n$options[''Finland Markka''] = ''FIM'';\r\n$options[''French Franc''] = ''FFR'';\r\n$options[''German Deutsche Mark''] = ''DMK'';\r\n$options[''Hong Kong Dollar''] = ''HKD'';\r\n$options[''Irish Punts''] = ''IRL'';\r\n$options[''Japanese Yen''] = ''JYE'';\r\n$options[''Italian Lire''] = ''LIT'';\r\n$options[''Kuwait Dinar''] = ''KUD'';\r\n$options[''Luxembourg Franc''] = ''LFR'';\r\n$options[''Macau Patacas''] = ''MOP'';\r\n$options[''Malaysian Ringgits''] = ''MYR'';\r\n$options[''Mexican Peso''] = ''NMP'';\r\n$options[''New Taiwan Dollar''] = ''NTD'';\r\n$options[''New Zealand Dollar''] = ''NZD'';\r\n$options[''Norway Krone''] = ''NOK'';\r\n$options[''Philippine Peso''] = ''PHP'';\r\n$options[''Portuguese Escudo''] = ''ESC'';\r\n$options[''Saudi Arabian Riyal''] = ''ARI'';\r\n$options[''Singapore Dollar''] = ''SID'';\r\n$options[''South African Rand''] = ''SAR'';\r\n$options[''South Korean Won''] = ''WON'';\r\n$options[''Spanish Peseta''] = ''PTS'';\r\n$options[''Sweden Krone''] = ''SEK'';\r\n$options[''Swiss Franc''] = ''SFR'';\r\n$options[''Thailand Baht''] = ''THB'';\r\n$options[''Turkish Lire''] = ''TRL'';\r\n$options[''U.S. Dollar''] = ''USD'';\r\n$options[''United Arab Emirates Dirham''] = ''DHS'';\r\n$options[''Uruguay New Peso''] = ''UYP'';\r\n$options[''Venezuela Bolivar''] = ''VEB'';', 0, 0, 3, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '$record_number == 3 && $FedEx_Meter_Number > 1 && $FedEx_Real_Time_Rates == 1;', '', 0, 0, 1, 0, 0, '', '', 'This field is used to tell FedEx what currency the declared value and customs value fields are in.', '', '');
INSERT INTO `Field_Definition` VALUES (702, 'Products', 'Handling_Fee', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, 'text-align: right;', '', 'This field is used to specify a per unit handling fee for this item. For example, if this is set to 2.50, and the customer orders 2 of this item, they will pay a 5.00 handling fee.', '', '');
INSERT INTO `Field_Definition` VALUES (703, 'Store_Information', 'Per_Order_Handling_Fee', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, 'text-align: right;', '', 'This field is used to specify a per order handling fee.', '', '');
INSERT INTO `Field_Definition` VALUES (704, 'Orders', 'Product_Total', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, 'text-align: right;', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (705, 'Orders', 'Tax_Total', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, 'text-align: right;', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (706, 'Orders', 'Savings_Total', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, 'text-align: right;', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (707, 'Orders', 'Shipping_Total', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, 'text-align: right;', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (708, 'Orders', 'Grand_Total', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, 'text-align: right;', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (709, 'Orders', 'Handling_Total', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, 'text-align: right;', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (710, 'Sales_Tax', 'Tax_Shipping', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Tax on Shipping', 'null', 'null', '', '', '', 0, 0, 1, 50, 0, 1, 0, 1, 1, 1, '', 1, 1, 0, '0.00', '', '', 0, 0, 1, 0, 0, 'text-align: right', '', 'This is the percentage of tax to charge for shipping.', '', '%');
INSERT INTO `Field_Definition` VALUES (711, 'Sales_Tax', 'Tax_Handling', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Tax on Handling', 'null', 'null', '', '', '', 0, 0, 1, 50, 0, 1, 0, 1, 1, 1, '', 1, 1, 0, '0.00', '', '', 0, 0, 1, 0, 0, 'text-align: right', '', 'This is the percentage of tax to charge on handling fees.', '', '%');
INSERT INTO `Field_Definition` VALUES (712, 'Payment_Gateways', 'Currency_Code', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$choices = explode('','',$rdata[''Currency_Codes'']);\r\nforeach($choices as $choice) $options[$choice] = $choice;', 0, 0, 3, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '$Show_Currency_Code == 1;', '', 0, 0, 1, 0, 0, '', '', 'This field must match the currency code configured for your payment gateway account.', '', '');
INSERT INTO `Field_Definition` VALUES (713, 'Payment_Gateways', 'Show_Currency_Code', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'When checked, the currency code field will appear. Values for that field are fed from the CSV list in the Currency Codes field.', '', '');
INSERT INTO `Field_Definition` VALUES (714, 'Payment_Gateways', 'Show_Start_Date', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is used to trigger the display of the Start Date fields on the payment page. They are only applicable to certain cards like Switch, Solo, and Amex.', '', '');
INSERT INTO `Field_Definition` VALUES (715, 'Payment_Gateways', 'Show_Issue_Number', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls the display of the 1 or 2 digit Issuer Number field on the payment page. It is only for Switch and Solo.', '', '');
INSERT INTO `Field_Definition` VALUES (716, 'REL_Customers__Groups', 'Customers_rn', 'Relationship', 'CONCAT(Customers.First_Name,'' '',Customers.Last_Name)', 0, 0, 0, 0, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (717, 'Field_Definition', 'Select_For_Display', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 50, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '$Display_As == ''Relationship''', '', 0, 0, 1, 0, 0, '', '', 'This field is used when Display_As is set to relationship. It is optional. It can be used to designate a portion of a select statement (equivalent to one column) that will be used as the text displayed in the Source and Target choice boxes. By default, if you leave it blank, this defaults to: \r\nTable1.Name \r\n \r\nwhere "Table1" is the first table referenced in the relationship table name. For example, if the rel table is "REL_Products__Categories", then "Products.Name" would be the default for this field if it is left blank. The table name MUST be included for this to work, and the text must return one column.
\r\nYou can use concat to combine date from more than one field, like: \r\nCONCAT(Customers.First_Name,'' '',Customers.Last_Name)', '', '');
INSERT INTO `Field_Definition` VALUES (718, 'REL_Navigation_Block__Navigation', 'Navigation_Block_rn', 'Relationship', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 1, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
INSERT INTO `Field_Definition` VALUES (720, 'Navigation_Block', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 100, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'Description for your reference only.', '', '');
INSERT INTO `Field_Definition` VALUES (721, 'Navigation', 'Description', 'Textarea Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 100, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'Description for your reference only.', '', '');
INSERT INTO `Field_Definition` VALUES (722, 'Navigation', 'Name', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 400, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field is used to reference this function in order to display the navigation. It is passed to the show_navigation() function like this: \r\n<?php \r\nshow_nav(''Name Goes Here''); \r\n?>', '', '');
INSERT INTO `Field_Definition` VALUES (723, 'Store_Information', 'Minimum_Order_Amount', 'Text Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '0.00', '', '', 0, 0, 1, 0, 0, 'text-align: right;', '', 'This field is used to force a minimum order amount. If set to blank or 0.00, there will be no minimum. This field expects a decimal number with no currency symbol.', '', '');
INSERT INTO `Field_Definition` VALUES (724, 'Shipping_Couriers', 'Send_Declared_Value', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Send Declared Value', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '$record_number == 3 && $FedEx_Meter_Number > 1 && $FedEx_Real_Time_Rates == 1;', '', 0, 0, 1, 0, 0, '', '', 'FedEx adds surcharges to handle insurance based on the declared value of a package. When you submit a shipment through Squirrelcart, you can specify the declared value for that shipment. You can also specify the declared value on a per product basis provided you check the "ship as a separate package" checkbox on a product''s record.\r\n
\r\nThis field comes into play when you have not specifically designated a declared value for a product. When this field is checked, Squirrelcart will add the total cost of the items in the package together, and submit that amount as the declared value. This can help to make the shipping costs more accurate when you are not using the "ship as a separate package" option.\r\n
Please refer to the documentation for more information.\r\n', '', '');
INSERT INTO `Field_Definition` VALUES (725, 'Products', 'Package_Declared_Value_Is', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Declared Value Is', 'Formula', 'null', '', '', '$options[''same as item cost''] = ''default'';\r\n$options[''specified below...''] = ''specified'';', 0, 0, 3, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, 'default', '$Ship_Separately == 1;', '', 1, 0, 1, 0, 0, '', '', 'This field controls how the declared value will be determined for this package. This is used for some real time rates.', '', '');
INSERT INTO `Field_Definition` VALUES (726, 'Products', 'Package_Declared_Value', 'Text Input', '', 1, 1, 1, 1, 0, '', 'Declared Value', 'null', 'null', '', '', '', 0, 0, 3, 50, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '0.00', '$Ship_Separately == 1 && $Package_Declared_Value_Is == ''specified''', '', 0, 0, 1, 0, 0, 'text-align: right;', '', 'This is the value that will be passed as the declared value when requesting real time rates for certain couriers.', '', '');
INSERT INTO `Field_Definition` VALUES (727, 'Products', 'FedEx_Signature_Option', 'Select Input', '', 1, 1, 1, 1, 0, '', 'Signature Option', 'Formula', 'null', '', '', '$options[''''] = '''';\r\n$options[''Deliver Without a Signature''] = ''DELIVERWITHOUTSIGNATURE'';\r\n$options[''Direct''] = ''DIRECT'';\r\n$options[''Indirect''] = ''INDIRECT'';\r\n$options[''Adult''] = ''ADULT'';', 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, '', 1, 1, 1, 'DELIVERWITHOUTSIGNATURE', '', '', 0, 0, 1, 0, 0, '', '', 'FedEx Delivery Signature Options for Shipments to Nonresidential Addresses.
For shipments to nonresidential addresses, shippers can choose from two of the FedEx Delivery Signature Options.
Note: The policy for shipments to nonresidential addresses is not changing. FedEx will attempt to obtain a signature from someone at the delivery address or a neighboring address, and no fee will apply.
\r\n
\r\n
Direct Signature Required. FedEx will obtain a signature from any person at the delivery address. If no one is at the address, FedEx will reattempt delivery. The fee for Direct Signature Required is $2 (as of July 11th, 2005).
\r\n
Adult Signature Required. FedEx will obtain a signature from any person at least 21 years old (government-issued photo identification required) at the delivery address. The fee for Adult Signature Required is $2.75 (as of July 11th, 2005). Note: The Adult Signature Required option overrides any recipient release that may be on file for nonresidential deliveries.
\r\n
Shippers can still choose the Deliver Without a Signature option for express shipments for no fee.
', '', '');
INSERT INTO `Field_Definition` VALUES (728, 'Store_Information', 'Save_Action', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '$options[''close''] = ''return'';\r\n$options[''keep open''] = ''keep open'';', 0, 0, 3, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '', '', 0, 0, 1, 0, 0, '', '', 'This field controls what happens when you save an open record. If set to "close" the record is closed and you are returned to the previous page. If set to "keep open", the record is left open.', '', '');
INSERT INTO `Field_Definition` VALUES (729, 'Payment_Methods', 'NOCHEX_APC', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'APC', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '$record_number == 10', '', 1, 0, 0, 0, 0, '', '', 'Checking this field enables APC (Automatic Payment Confirmation), which is similar to PayPal''s IPN feature. For more information, please see the Squirrelcart documentation.\r\n
\r\nImportant note: This feature requires CURL & OpenSSL. If you do not have these extensions working on your server, do not check this field!', '', '');
INSERT INTO `Field_Definition` VALUES (730, 'Payment_Methods', 'NOCHEX_Mode', 'Radio Input', '', 1, 1, 1, 1, 0, '', 'Transaction Mode', 'Comma Seperated Values', 'null', '', 'live,test', '', 0, 0, 2, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, 'live', '$record_number == 10', '', 0, 0, 1, 0, 0, '', '', 'This field is used to determine whether or not live or test transactions will be sent to NOCHEX. When using this feature, you should never assume that your account is in test mode. The initial page you see on NOCHEX.com will indicate whether or not you are in test mode.', '', '');
INSERT INTO `Field_Definition` VALUES (731, 'Payment_Methods', 'NOCHEX_Test_APC', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Test APC', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '$record_number == 10 && $NOCHEX_APC == 1', '', 0, 0, 1, 0, 0, '', '', 'When checked, any time NOCHEX sends an APC to your site, an email will be sent to your NOCHEX payment email address containing the data that was send via the APC.', '', '');
INSERT INTO `Field_Definition` VALUES (732, 'Payment_Gateways', 'PayPal_Mode', 'Radio Input', '', 1, 1, 1, 1, 0, '', '', 'Comma Seperated Values', 'null', '', 'live,sandbox', '', 0, 0, 2, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, 'live', '$record_number == 30', '', 0, 0, 1, 0, 0, '', '', 'This field controls where PayPal transactions are sent to. ''live'' will connect to the live PayPal network. ''sandbox'' will connect to PayPal''s special test environment, which requires separate test accounts.', '', '');
INSERT INTO `Field_Definition` VALUES (733, 'Payment_Gateways', 'PayPal_IPN', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'IPN', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '$record_number == 30', '', 1, 0, 0, 0, 0, '', '', 'Check this field to enable the IPN feature. You will also need to perform some steps in your PayPal control panel. Please see the Squirrelcart documentation for more information.', '', '');
INSERT INTO `Field_Definition` VALUES (734, 'Payment_Gateways', 'PayPal_Test_IPN', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'Test IPN', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '$record_number == 30 && $PayPal_IPN == 1', '', 0, 0, 1, 0, 0, '', '', 'If this field is checked, you will receive an email from Squirrelcart every time an IPN is received from PayPal.', '', '');
INSERT INTO `Field_Definition` VALUES (735, 'Payment_Gateways', 'PayPal_No_Shipping', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', 'No Shipping', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 0, '', '$record_number == 30', '', 0, 0, 1, 0, 0, '', '', 'For customers that choose the PayPal Express Checkout (at the top of the address form), checking this field will cause PayPal to not prompt for shipping address information.', '', '');
INSERT INTO `Field_Definition` VALUES (736, 'Payment_Methods', 'Currency_Code', 'Select Input', '', 1, 1, 1, 1, 0, '', '', 'Formula', 'null', '', '', '// for PayPal\r\nif ($record_number == 5) {\r\n $options[''AUD''] = ''AUD'';\r\n $options[''CAD''] = ''CAD'';\r\n $options[''EUR''] = ''EUR'';\r\n $options[''GBP''] = ''GBP'';\r\n $options[''JPY''] = ''JPY'';\r\n $options[''USD''] = ''USD'';\r\n}', 0, 0, 3, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 1, '', '$Show_Currency_Code == 1', '', 0, 0, 1, 0, 0, '', '', 'This field controls the currency code that will be sent for this payment method.', '', '');
INSERT INTO `Field_Definition` VALUES (737, 'Payment_Methods', 'Show_Currency_Code', 'Checkbox Input', '', 1, 1, 1, 1, 0, '', '', 'null', 'null', '', '', '', 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, '', 1, 1, 0, '', '', '', 0, 0, 1, 0, 0, '', '', '', '', '');
-- --------------------------------------------------------
--
-- Table structure for table `Field_Set`
--
CREATE TABLE `Field_Set` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(80) NOT NULL default '',
`Legend` varchar(255) NOT NULL default '',
`Field_Set_Class` varchar(25) NOT NULL default '',
`Field_Set_Style` varchar(255) NOT NULL default '',
`Legend_Class` varchar(25) NOT NULL default '',
`Legend_Style` varchar(255) NOT NULL default '',
`Header` text NOT NULL,
`Footer` text NOT NULL,
`Track_Relationships` tinyint(1) NOT NULL default '0',
`Parent_Field_Set` int(11) NOT NULL default '0',
`Show_When` varchar(255) NOT NULL default '',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=119 ;
--
-- Dumping data for table `Field_Set`
--
INSERT INTO `Field_Set` VALUES (1, 'Store Information - Company Information', 'Company Information', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (2, 'Store_Information - Order Email Settings', 'Email Settings', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (3, 'Store_Information - Security Settings', 'Security Settings', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (4, 'Store_Information - Inventory Control', 'Inventory Control', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (5, 'Store Information - General Settings', 'General Settings', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (6, 'Store Information - Missing Images', 'Missing Images', 'admin_fieldset_nopad', '', 'admin_fieldset_legend2', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (7, 'Store Information - Search Engine Settings', 'Search Engine Settings', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (8, 'Store Information - Discount Settings', 'Discount Settings', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (9, 'Store Information - PHP Extensions', 'PHP Extensions', '', '', '', '', 'This section controls which extensions Squirrelcart will attempt to load when they are not already loaded. It is recommended that you leave all extensions checked unless you are sure that you do not need one loaded.', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (109, 'Sales Tax - all', 'Details', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (110, 'Groups - Detail', 'Detail', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (11, 'Product - Category relationship', 'Category', '', '', '', '', 'This section controls the categories that this product will appear in. The category at the top of the list will be considered the primary category. The primary category is used to determine how to pass down certain settings from the category record to this product, such as product options.', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (12, 'Product - Product Options', 'Product Options', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (13, 'Product - Images', 'Images', 'admin_fieldset_nopad', '', 'admin_fieldset_legend2', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (14, 'Product - Dimensions', 'Product Dimensions', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (15, 'Product - Inventory - Details', 'Details', '', '', '', '', '', '', 0, 64, '');
INSERT INTO `Field_Set` VALUES (16, 'Product - Discounts', 'Discounts', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (17, 'Product - Shipping Details', 'Shipping Details', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (18, 'Product - Packaging', 'Packaging', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (28, 'Category - Details', 'Details', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (27, 'Field Set - All', 'Details', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (21, 'Product - Sales Agreements', 'Sales Agreements', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (22, 'Product - Details', 'Details', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (23, 'Products - Shipping Details - Packaging', 'Packaging', '', '', '', '', '', '', 0, 17, '');
INSERT INTO `Field_Set` VALUES (24, 'Products - Shipping Details - Rates & Services', 'Rates & Services', '', '', '', '', '', '', 0, 17, '');
INSERT INTO `Field_Set` VALUES (25, 'Products - Shipping Details - USPS Specific', 'USPS Specifics', '', '', '', '', '', '', 0, 17, '');
INSERT INTO `Field_Set` VALUES (26, 'Form - All', '', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (29, 'Category - Product Viewing', 'Product Viewing', '', '', '', '', 'This section controls the way your customers will view products in this category.', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (30, 'Category - Product Viewing - Details', 'Details', '', '', '', '', '', '', 0, 29, '');
INSERT INTO `Field_Set` VALUES (31, 'Category - Product Viewing - When Viewed', 'When Category is Viewed (prior to clicking)', '', '', '', '', '', '', 0, 29, '$Show_Products_When == 2;');
INSERT INTO `Field_Set` VALUES (32, 'Category - Product Viewing - When Clicked', 'When Category is Clicked', '', '', '', '', '', '', 0, 29, '');
INSERT INTO `Field_Set` VALUES (33, 'Category - Options', 'Product Options', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (34, 'Category - Parent Category', 'Parent Category', '', '', '', '', 'This sections controls which categories this category will be nested within. It is used to specify 1 or more parent categories to contain this category. If you want this category to be a top level category, leave the field below blank.', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (35, 'Category - Images', 'Images', 'admin_fieldset_nopad', '', 'admin_fieldset_legend2', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (36, 'Category - Discounts', 'Discounts', '', '', '', '', 'This section controls the discounts associated with this category.', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (37, 'Category - Products', 'Products in This Category', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (38, 'Shipping Couriers - Details', 'Details', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (39, 'Shipping Couriers - Enabled Services', 'Enabled Services', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (40, 'Shipping Couriers - Logo', 'Logos', 'admin_fieldset_nopad', '', 'admin_fieldset_legend2', '', '', '', 0, 0, '$record_number != 1 && $record_number != 2 && $record_number != 3');
INSERT INTO `Field_Set` VALUES (41, 'Warehouse - All', 'Details', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (42, 'Payment Method - Details', 'Details', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (43, 'Payment Method - Image', 'Image', 'admin_fieldset_nopad', '', 'admin_fieldset_legend2', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (44, 'Discount - Details', 'Details', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (45, 'Discount - Image', 'Image', 'admin_fieldset_nopad', '', 'admin_fieldset_legend2', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (46, 'Discount - Condition 1', 'Condition 1', '', '', '', '', '
The checkout progress indicator appears at the top of all pages during the checkout progress, to inform the customer what they will be doing. This section controls the text for each step.
', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (94, 'Orders - Shipping', 'Shipping', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (95, 'Shipments', 'Shipments', '', '', '', '', '', '', 0, 94, '');
INSERT INTO `Field_Set` VALUES (96, 'Shipment - Details', 'Details', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (97, 'Shipments - Label', 'Label', 'admin_fieldset_nopad', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (98, 'Orders - Shipping & Packaging', 'Details from Order', '', '', '', '', 'This section shows the shipping methods your customer chose, and how Squirrelcart estimated this shipment would be packed.', '', 0, 94, '');
INSERT INTO `Field_Set` VALUES (99, 'Orders - PayPal', 'PayPal Payment Info', '', '', '', '', '', '', 0, 0, '$Payment_Method == 5;');
INSERT INTO `Field_Set` VALUES (100, 'Payment Gateway - details', 'Details', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (101, 'Payment Gateways - SC Developer', 'SC Developer', '', '', '', '', '', '', 0, 0, 'security_level(''Squirrelcart Developer'')');
INSERT INTO `Field_Set` VALUES (102, 'Shipping Methods - Details', 'Details', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (103, 'Shipping Methods - SC Developer', 'SC Developer', '', '', '', '', '', '', 0, 0, 'security_level(''Squirrelcart Developer'')');
INSERT INTO `Field_Set` VALUES (104, 'Store Information - Cart Preview', 'Cart Preview', '', '', '', '', 'This section controls how the "Cart Options" navigation box will appear. This box shows an overview of the items in the cart.', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (105, 'Warehouses - VAT', 'VAT (Value Added Tax)', '', '', '', '', '', '', 0, 0, '$VAT_Enabled == 1;');
INSERT INTO `Field_Set` VALUES (106, 'Category - Sub Categories', 'Sub Categories', '', '', '', '', 'This sections controls which categories are nested as sub categories inside of this one. It is used to specify 1 or more sub categories for this parent category.', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (107, 'Products Sold - Details', 'Details', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (108, 'Image Settings - Details', 'Details', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (111, 'Groups - Users', 'Users in This Group', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (112, 'Navigation - Detail', 'Detail', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (113, 'Navigation - Navigation Blocks', 'Navigation Blocks in this Navigation', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (114, 'Navigation Block', 'Detail', '', '', '', '', '', '', 0, 0, '');
INSERT INTO `Field_Set` VALUES (115, 'FedEx Specifics', 'FedEx Specifics', '', '', '', '', '', '', 0, 17, '$SC[''settings''][''fedex_rtr_enabled''] == 1 && $Ship_Separately;');
INSERT INTO `Field_Set` VALUES (116, 'Payment Methods - SC Developer', 'SC Developer', '', '', '', '', '', '', 0, 0, 'security_level(''Squirrelcart Developer'')');
INSERT INTO `Field_Set` VALUES (117, 'Payment Methods - PayPal Info', 'Information', '', '', '', '', '
\r\nThis record is used to enable PayPal Website Payments Standard. If you wish to use PayPal Website Payments Pro, you will need to use the record labeled "PayPal Website Payments Pro" in the Payment Gateways table, which can be seen by clicking "Settings > Payment > Gateways". Please see the documentation for more information.\r\n
\r\nThis record is used to enable PayPal Website Payments Pro. If you wish to use PayPal Website Payments Standard, you will need to use the record labeled "PayPal" in the Payment Methods table, which can be seen by clicking "Settings > Payment > Methods". Please see the documentation for more information.\r\n
', '', 0, 0, '$record_number == 30');
-- --------------------------------------------------------
--
-- Table structure for table `Forms`
--
CREATE TABLE `Forms` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(40) NOT NULL default '',
`Purpose` varchar(255) NOT NULL default '',
`Header` text NOT NULL,
`Footer` text NOT NULL,
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=31 ;
--
-- Dumping data for table `Forms`
--
INSERT INTO `Forms` VALUES (1, 'Store Settings', '', 'top', 'bottom');
INSERT INTO `Forms` VALUES (2, 'Product', '', '', '');
INSERT INTO `Forms` VALUES (3, 'Field Set', '', '', '');
INSERT INTO `Forms` VALUES (4, 'Forms', '', '', '');
INSERT INTO `Forms` VALUES (5, 'Category', '', '', '');
INSERT INTO `Forms` VALUES (6, 'Shipping Couriers', '', '', '');
INSERT INTO `Forms` VALUES (7, 'Warehouse', '', '', '');
INSERT INTO `Forms` VALUES (8, 'Payment Method', '', '', '');
INSERT INTO `Forms` VALUES (9, 'Discounts', '', '', '');
INSERT INTO `Forms` VALUES (10, 'Orders', '', '', '');
INSERT INTO `Forms` VALUES (11, 'Customers', '', '', '');
INSERT INTO `Forms` VALUES (12, 'Images', '', '', '');
INSERT INTO `Forms` VALUES (13, 'Table Definition', '', '', '');
INSERT INTO `Forms` VALUES (14, 'Query', '', '', '');
INSERT INTO `Forms` VALUES (15, 'Cart Images', '', '', '');
INSERT INTO `Forms` VALUES (16, 'Order Status', '', '', '');
INSERT INTO `Forms` VALUES (17, 'Sales Agreement', '', '', '');
INSERT INTO `Forms` VALUES (18, 'Options', '', '', '');
INSERT INTO `Forms` VALUES (19, 'Prod Opt Choice', '', '', '');
INSERT INTO `Forms` VALUES (20, 'DB History', '', '', '');
INSERT INTO `Forms` VALUES (21, 'Visual Settings', '', 'This form controls some of the visual aspects of your storefront.', '');
INSERT INTO `Forms` VALUES (22, 'Shipments', '', '', '');
INSERT INTO `Forms` VALUES (23, 'Payment Gateways', '', 'Instructions for setting up a payment gateway can be found in the documentation: http://www.squirrelcart.com/help/', '');
INSERT INTO `Forms` VALUES (24, 'Shipping Methods', '', '', '');
INSERT INTO `Forms` VALUES (25, ' Products Sold - Default', '', '', '');
INSERT INTO `Forms` VALUES (26, 'Image Settings', '', '', '');
INSERT INTO `Forms` VALUES (27, 'Sales Tax - default', '', '', '');
INSERT INTO `Forms` VALUES (28, 'Groups', '', '', '');
INSERT INTO `Forms` VALUES (29, 'Navigation', 'Default form for Navigation table', '', '');
INSERT INTO `Forms` VALUES (30, 'Navigation_Block', '', '', '');
-- --------------------------------------------------------
--
-- Table structure for table `Groups`
--
CREATE TABLE `Groups` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(50) NOT NULL default '',
`Description` text NOT NULL,
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=3 ;
--
-- Dumping data for table `Groups`
--
INSERT INTO `Groups` VALUES (1, 'Store Admin', 'This group gives full access to the store. It allows the user to access the admin section, add products, delete products, etc....');
-- --------------------------------------------------------
--
-- Table structure for table `Image_Settings`
--
CREATE TABLE `Image_Settings` (
`record_number` int(11) NOT NULL auto_increment,
`Table_Name` varchar(30) NOT NULL default '',
`Field_Name` varchar(30) NOT NULL default '',
`Autogenerate` tinyint(1) NOT NULL default '0',
`From_Image` varchar(30) NOT NULL default '',
`Width` varchar(4) NOT NULL default '0',
`Height` varchar(4) NOT NULL default '0',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=11 ;
--
-- Dumping data for table `Image_Settings`
--
INSERT INTO `Image_Settings` VALUES (1, 'Products', 'Large_Image', 0, 'null', '', '');
INSERT INTO `Image_Settings` VALUES (2, 'Products', 'Image', 0, 'Large_Image', '', '');
INSERT INTO `Image_Settings` VALUES (3, 'Products', 'Thumbnail_Image', 0, 'null', '', '');
INSERT INTO `Image_Settings` VALUES (4, 'Products', 'Featured_Image', 0, '', '', '');
INSERT INTO `Image_Settings` VALUES (5, 'Product_Options', 'Image_of_Name', 0, '', '', '');
INSERT INTO `Image_Settings` VALUES (6, 'Product_Option_Values', 'Thumbnail_Image', 0, '', '', '');
INSERT INTO `Image_Settings` VALUES (7, 'Product_Option_Values', 'Image', 0, '', '0', '0');
INSERT INTO `Image_Settings` VALUES (8, 'Categories', 'Image_of_Name', 0, '', '', '');
INSERT INTO `Image_Settings` VALUES (9, 'Categories', 'Image', 0, '', '', '');
INSERT INTO `Image_Settings` VALUES (10, 'Categories', 'Thumbnail_Image', 0, '', '', '');
-- --------------------------------------------------------
--
-- Table structure for table `Images`
--
CREATE TABLE `Images` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(255) NOT NULL default '',
`Image` varchar(255) NOT NULL default '',
`Description` varchar(255) NOT NULL default '',
`Alt` text NOT NULL,
`Class` varchar(25) NOT NULL default '0',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=73 ;
--
-- Dumping data for table `Images`
--
INSERT INTO `Images` VALUES (2, 'checkout', '/checkout.gif', 'Image used as button for customer to checkout', 'Click here to checkout', '');
INSERT INTO `Images` VALUES (3, 'add_to_cart', '/add_to_cart.gif', 'add to cart button when viewing products', '', '');
INSERT INTO `Images` VALUES (36, 'missing_field_1', 'missing_field_1.gif', '', 'missing field', '0');
INSERT INTO `Images` VALUES (37, 'missing_field_2', '/missing_field_2.gif', '', 'missing field', '0');
INSERT INTO `Images` VALUES (34, 'required_field_1', 'required_field_1.gif', '', 'required field', '0');
INSERT INTO `Images` VALUES (35, 'required_field_2', 'required_field_2.gif', '', 'required field', '0');
INSERT INTO `Images` VALUES (6, 'payment_information', '/payment_information.jpg', 'header for top of payment info page', 'Payment Information', '');
INSERT INTO `Images` VALUES (7, 'continue_button', '/continue_button.gif', 'used on checkout pages to take customer to next step of checkout process', 'click here to continue', '');
INSERT INTO `Images` VALUES (8, 'shipping_method', '/shipping_method.jpg', '"Get Shipping Method" header image', 'Get Shipping Method', '0');
INSERT INTO `Images` VALUES (9, 'final_payment', '/final_payment.jpg', 'final payment page header image', 'Final Payment', '');
INSERT INTO `Images` VALUES (10, 'shipping_address', '/shipping_address.jpg', 'shipping address header image', 'Shipping Address', '');
INSERT INTO `Images` VALUES (11, 'billing_address', '/billing_address.jpg', 'billing address header image', 'Billing Address', '');
INSERT INTO `Images` VALUES (12, 'viewing_cart', '/viewing_cart.jpg', 'viewing cart header image', 'Viewing Cart', '');
INSERT INTO `Images` VALUES (13, 'edit_address', '/edit_address.gif', 'small image next to address info above checkout. defaults to an image of a pencil', 'Click to edit', '');
INSERT INTO `Images` VALUES (14, 'remove_from_cart', '/remove_from_cart.gif', 'image for remove item from cart link', 'remove item from cart', '');
INSERT INTO `Images` VALUES (15, 'empty_cart_button', '/empty_cart_button.gif', 'image for empty cart link at checkout', 'Empty Cart', '');
INSERT INTO `Images` VALUES (16, 'update_cart_button', '/update_cart_button.gif', 'update cart button image', 'Update Cart', '0');
INSERT INTO `Images` VALUES (17, 'new', '/new.gif', 'image that gets displayed for new items', 'New Item', '');
INSERT INTO `Images` VALUES (18, 'advanced_search_button', '/advanced_search_button.gif', '', '', '');
INSERT INTO `Images` VALUES (19, 'simple_search_button', '/simple_search_button.gif', '', '', '0');
INSERT INTO `Images` VALUES (20, 'check_routing_symbol', '/check_routing_symbol.gif', 'symbol that appears on a check surrounding the ABA routing number', '', '');
INSERT INTO `Images` VALUES (21, 'check_account_symbol', '/check_account_symbol.gif', 'symbol that appears on a check after the account number', '', '');
INSERT INTO `Images` VALUES (22, 'check_help_thumbnail', '/check_help_thumbnail.gif', 'small image for helping with filling out electronic check fields', '', '');
INSERT INTO `Images` VALUES (24, 'visa_mc_discover_cvv', '/visa_mc_discover_cvv.jpg', 'image to show customers CVV2 location at checkout', '', '');
INSERT INTO `Images` VALUES (25, 'amex_cvv', '/amex_cvv.jpg', 'image to show location of CVV code for amex', '', '');
INSERT INTO `Images` VALUES (26, 'order_history', '/order_history.jpg', 'Appears at the top of the Order History page', 'Order History', '');
INSERT INTO `Images` VALUES (27, 'order_detail', '/order_detail.jpg', 'This image appears at the top of the Order Detail page, which appears when a customer is viewing a previously submitted order', 'Order Detail', '');
INSERT INTO `Images` VALUES (29, 'scissors', '/scissors.gif', 'used as image for entering coupon codes at checkout', '', '');
INSERT INTO `Images` VALUES (30, 'printer', '/printer.gif', '', '', '');
INSERT INTO `Images` VALUES (31, 'zoom_in', '/zoom_in.gif', '', 'click for more detail', '0');
INSERT INTO `Images` VALUES (32, 'modify', '/modify.gif', '', '', '0');
INSERT INTO `Images` VALUES (33, 'horiz_drop_shadow', '/horiz_drop_shadow.gif', '', '', '0');
INSERT INTO `Images` VALUES (38, 'checkout_step5_done', '/checkout_step5_done.gif', '', '', '0');
INSERT INTO `Images` VALUES (39, 'checkout_step5_active', '/checkout_step5_active.gif', '', '', '0');
INSERT INTO `Images` VALUES (40, 'checkout_step5_pending', '/checkout_step5_pending.gif', '', '', '0');
INSERT INTO `Images` VALUES (41, 'checkout_step4_done', '/checkout_step4_done.gif', '', '', '0');
INSERT INTO `Images` VALUES (42, 'checkout_step4_active', '/checkout_step4_active.gif', '', '', '0');
INSERT INTO `Images` VALUES (43, 'checkout_step4_pending', '/checkout_step4_pending.gif', '', '', '0');
INSERT INTO `Images` VALUES (44, 'checkout_step3_done', '/checkout_step3_done.gif', '', '', '0');
INSERT INTO `Images` VALUES (45, 'checkout_step3_active', '/checkout_step3_active.gif', '', '', '0');
INSERT INTO `Images` VALUES (46, 'checkout_step3_pending', '/checkout_step3_pending.gif', '', '', '0');
INSERT INTO `Images` VALUES (47, 'checkout_step2_done', '/checkout_step2_done.gif', '', '', '0');
INSERT INTO `Images` VALUES (48, 'checkout_step2_active', '/checkout_step2_active.gif', '', '', '0');
INSERT INTO `Images` VALUES (49, 'checkout_step2_pending', '/checkout_step2_pending.gif', '', '', '0');
INSERT INTO `Images` VALUES (50, 'checkout_step1_done', '/checkout_step1_done.gif', '', '', '0');
INSERT INTO `Images` VALUES (51, 'checkout_step1_active', '/checkout_step1_active.gif', '', '', '0');
INSERT INTO `Images` VALUES (52, 'checkout_step1_pending', '/checkout_step1_pending.gif', '', '', '0');
INSERT INTO `Images` VALUES (53, 'hand_point', '/hand_point.gif', '', '', '0');
INSERT INTO `Images` VALUES (54, 'info_balloon', '/info_balloon.gif', '', '', '0');
INSERT INTO `Images` VALUES (55, 'account_choice_new', '/account_choice_new.gif', '', '', '0');
INSERT INTO `Images` VALUES (56, 'account_choice_existing', '/account_choice_existing.gif', '', '', '0');
INSERT INTO `Images` VALUES (57, 'account_choice_skip', '/account_choice_skip.gif', '', '', '0');
INSERT INTO `Images` VALUES (58, 'account_choice_line_vert', '/account_choice_line_vert.gif', '', '', '0');
INSERT INTO `Images` VALUES (59, 'account_choice_line_horiz', '/account_choice_line_horiz.gif', '', '', '0');
INSERT INTO `Images` VALUES (60, 'account_choice_or', '/account_choice_or.gif', '', '', '0');
INSERT INTO `Images` VALUES (61, 'account_form_update', 'account_form_update.gif', '', '', '0');
INSERT INTO `Images` VALUES (62, 'account_form_new', 'account_form_new.gif', '', '', '0');
INSERT INTO `Images` VALUES (63, 'forgot_password', '/forgot_password.gif', '', '', '0');
INSERT INTO `Images` VALUES (64, 'payment_form_header', '/payment_form_header.gif', '', '', '0');
INSERT INTO `Images` VALUES (65, 'payment_form_echeck', '/payment_form_echeck.gif', '', '', '0');
INSERT INTO `Images` VALUES (66, 'payment_form_credit', '/payment_form_credit.gif', '', '', '0');
INSERT INTO `Images` VALUES (67, 'payment_final', '/payment_final.gif', '', '', '0');
INSERT INTO `Images` VALUES (68, 'payment_instructions', '/payment_instructions.gif', '', '', '0');
INSERT INTO `Images` VALUES (69, 'search_header', '/search_header.gif', '', '', '0');
INSERT INTO `Images` VALUES (70, 'paypal_pro', '/paypal_pro.gif', 'Image for use on address form when PayPal Website Payments Pro is enabled.', 'PayPal', '0');
INSERT INTO `Images` VALUES (72, 'paypal_express', '/paypal_express.gif', 'Image for use as a button on address form when PayPal Website Payments Pro is enabled.', 'PayPal Express Checkout', '0');
-- --------------------------------------------------------
--
-- Table structure for table `Navigation`
--
CREATE TABLE `Navigation` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(50) NOT NULL default '',
`Description` text NOT NULL,
PRIMARY KEY (`record_number`)
) TYPE=MyISAM PACK_KEYS=0 AUTO_INCREMENT=4 ;
--
-- Dumping data for table `Navigation`
--
INSERT INTO `Navigation` VALUES (2, 'Left Navigation', 'This navigation appears on the left hand side of your storefront by default.');
INSERT INTO `Navigation` VALUES (3, 'Right Navigation', 'This navigation appears on the right hand side of your storefront by default.');
-- --------------------------------------------------------
--
-- Table structure for table `Navigation_Block`
--
CREATE TABLE `Navigation_Block` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(50) NOT NULL default '',
`Description` text NOT NULL,
`Header` text NOT NULL,
`Content` text NOT NULL,
`Show_When` text NOT NULL,
PRIMARY KEY (`record_number`)
) TYPE=MyISAM PACK_KEYS=0 AUTO_INCREMENT=17 ;
--
-- Dumping data for table `Navigation_Block`
--
INSERT INTO `Navigation_Block` VALUES (4, 'Product Catalog', 'This nav block shows the main category navigation.', 'Product Catalog', '', '');
INSERT INTO `Navigation_Block` VALUES (5, 'Admin Options', 'This nav block appears when you are logged in as store admin.', 'Admin Options', ' show_admin_options() ?>', 'security_level("Store Admin")');
INSERT INTO `Navigation_Block` VALUES (6, 'Cart Options', 'This nav block shows the items that are in the cart. It only appears when the cart has at least one item in it.', 'Your Cart', ' cart_preview()?>', '($SC[''order''][''number_of_items''] != 0) && (!$SC[''complete_order'']) && (!$_POST[''posting_payment_info''])\r\n');
INSERT INTO `Navigation_Block` VALUES (7, 'Account Options', 'This nav block shows the login form when not logged in. If you are logged in , it contains links such as Order History, Account Details, etc...', 'Account Options', ' include "$cart_isp_root/login.php" ?>\r\n', '');
INSERT INTO `Navigation_Block` VALUES (15, 'Best Sellers', 'This nav block shows your top 10 best selling items. It only appears on the home page by default.', 'Best Sellers', ' show_best_sellers(10) ?>', '$SC[''show_home_page''] && count_records("Products_Sold") > 1');
INSERT INTO `Navigation_Block` VALUES (12, 'Category Preview', 'This nav block appears when there the customer is viewing a product detail page, and there are other items in the same category. It shows thumbnail views of the other items for easier navigation.', 'Category Preview', '\r\nshow_category_preview();\r\n?>', '$GLOBALS[''action'']=="show_detail" && get_products_from_category($GLOBALS[''crn''],$GLOBALS[''rn'']) && get_field_val("Store_Information","Previews_per_Page")');
INSERT INTO `Navigation_Block` VALUES (13, 'Store Main Menu', 'This nav block is an example of how you can add a main menu box to your storefront. The links in the content field are for example only.', 'Main Menu', 'Home \r\n\r\n\r\nContact Us \r\nProduct Info \r\nRecommend our Site\r\n', '');
INSERT INTO `Navigation_Block` VALUES (16, 'Welcome Back', 'This nav block shows a welcome back message when the customer is logged in from the remember me feature.', 'Welcome Back!', '', '$SC[''user''][''auto_login''] == 1 && $SC[''show_home_page''] == 1;');
-- --------------------------------------------------------
--
-- Table structure for table `Options`
--
CREATE TABLE `Options` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(50) NOT NULL default '',
`Type` varchar(10) NOT NULL default '',
`Default_Price` decimal(10,2) NOT NULL default '0.00',
`Default_Price_Operator` varchar(5) NOT NULL default '0',
`Default_Weight` decimal(10,2) NOT NULL default '0.00',
`Default_Weight_Operator` varchar(5) NOT NULL default '0',
`Use_Inventory_Control` tinyint(1) NOT NULL default '0',
`Required` tinyint(1) NOT NULL default '0',
`Width` smallint(1) NOT NULL default '0',
`Height` smallint(1) NOT NULL default '0',
`Add_Blank_Choice` tinyint(1) NOT NULL default '0',
`Break_After_Choice` tinyint(1) NOT NULL default '0',
`Instruction` text NOT NULL,
`Show_Detail_Page` tinyint(1) NOT NULL default '0',
`Detail_Links` text NOT NULL,
`Custom_Link_Text` varchar(255) NOT NULL default '',
`Detail_Link_Placement` varchar(7) NOT NULL default '',
`Detail_Page_Content` varchar(15) NOT NULL default '0',
`Detail_Page_URL` varchar(255) NOT NULL default '',
`Detail_Page_Size` varchar(7) NOT NULL default '',
`Detail_Page_Width` smallint(11) NOT NULL default '0',
`Detail_Page_Height` smallint(11) NOT NULL default '0',
`Choices_Per_Row` tinyint(1) unsigned NOT NULL default '0',
`Description` text NOT NULL,
`Image_of_Name` varchar(255) NOT NULL default '',
`Image` varchar(255) NOT NULL default '',
`Large_Image` varchar(255) NOT NULL default '',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=34 ;
--
-- Dumping data for table `Options`
--
INSERT INTO `Options` VALUES (31, 'Phone Number 2', 'text', 0.00, 'plus', 0.00, 'plus', 1, 0, 150, 100, 1, 1, 'Phone Number 2', 0, 'image^^custom', '(details)', 'null', 'autogenerate', '', 'default', 250, 200, 3, '', '', '', '');
INSERT INTO `Options` VALUES (32, 'Corinthian Leather Seats', 'checkbox', 800.00, 'plus', 0.00, 'plus', 1, 0, 150, 100, 1, 1, '', 0, 'image^^custom', '(details)', 'null', 'autogenerate', '', 'default', 250, 200, 3, '', '', '', '');
INSERT INTO `Options` VALUES (29, 'Address Line 3', 'text', 2.00, 'plus', 0.00, 'plus', 1, 0, 150, 100, 1, 1, 'Address Line 3', 0, 'image^^custom', '(details)', 'null', 'autogenerate', '', 'default', 250, 200, 3, '', '', '', '');
INSERT INTO `Options` VALUES (9, 'Gift Wrap', 'select', 4.50, 'minus', 0.00, 'minus', 1, 0, 150, 100, 0, 0, '', 1, 'instruction^^image', '(details)', 'right', 'autogenerate', '', 'custom', 380, 415, 3, 'Iusto eros praesent dolore exerci aliquam nibh, ad ut vel. Minim dignissim, velit tation, suscipit consequat, autem enim duis facilisi lobortis nulla laoreet accumsan. Duis ut aliquip praesent consequat blandit aliquip dolore dolor veniam dolore duis delenit eros dolore dignissim et, commodo. \r\n \r\nFacilisis Consectetuer: Qui, consequat tincidunt augue, commodo facilisis consectetuer tation nulla iriure te et nulla, exerci veniam. Facilisis facilisi dolore, magna ut facilisi duis sed blandit volutpat in ea in eros lobortis exerci. Luptatum, dolor magna. Wisi commodo enim iriure velit. Consequat enim exerci autem velit eum aliquip lobortis, consectetuer eum, volutpat, vero. Erat, quis in, consequat feugait quis lobortis dolor. Ad hendrerit dolore delenit.\r\n', 'options/9_image_of_name.gif', 'options/9_image.jpg', 'options/9_large_image.jpg');
INSERT INTO `Options` VALUES (21, 'Size', 'select', 0.00, 'plus', 0.00, 'plus', 1, 1, 150, 100, 1, 1, 'Choose Size', 0, 'image^^custom', '(details)', 'null', 'autogenerate', '', 'default', 250, 200, 3, '', '', '', '');
INSERT INTO `Options` VALUES (23, 'Tires', 'select', 0.00, 'plus', 0.00, 'plus', 1, 1, 150, 100, 0, 1, '', 0, 'image^^custom', '(details)', 'null', 'autogenerate', '', 'default', 250, 200, 3, '', '', '', '');
INSERT INTO `Options` VALUES (24, 'Car Audio', 'select', 0.00, 'plus', 0.00, 'plus', 1, 1, 150, 100, 0, 1, 'Audio', 1, 'instruction^^image', '(details)', 'right', 'autogenerate', '', 'custom', 450, 500, 1, '', '', '', '');
INSERT INTO `Options` VALUES (25, 'Engraving', 'textarea', 0.00, 'plus', 0.00, 'plus', 1, 1, 250, 150, 1, 1, 'Please enter the exact text that you wish to have engraved', 0, 'image^^custom', '(details)', 'null', 'autogenerate', '', 'default', 250, 200, 3, '', '', '', '');
INSERT INTO `Options` VALUES (26, 'Company Name', 'text', 0.00, 'plus', 0.00, 'plus', 1, 1, 150, 100, 1, 1, 'Company Name', 0, 'image^^custom', '(details)', 'null', 'autogenerate', '', 'default', 250, 200, 3, '', '', '', '');
INSERT INTO `Options` VALUES (27, 'Address Line 1', 'text', 0.00, 'plus', 0.00, 'plus', 1, 1, 150, 100, 1, 1, 'Address Line 1', 0, 'image^^custom', '(details)', 'null', 'autogenerate', '', 'default', 250, 200, 3, '', '', '', '');
INSERT INTO `Options` VALUES (28, 'Address Line 2', 'text', 0.00, 'plus', 0.00, 'plus', 1, 1, 150, 100, 1, 1, 'Address Line 2', 0, 'image^^custom', '(details)', 'null', 'autogenerate', '', 'default', 250, 200, 3, '', '', '', '');
INSERT INTO `Options` VALUES (15, 'Condition', 'select', 0.00, 'plus', 0.00, 'plus', 0, 0, 0, 0, 0, 0, 'Choose condition', 1, 'instruction^^image', '', '', 'autogenerate', '', '', 0, 0, 3, '', '', '', '');
INSERT INTO `Options` VALUES (30, 'Phone Number', 'text', 0.00, 'plus', 0.00, 'plus', 1, 1, 150, 100, 1, 1, 'Phone Number', 0, 'image^^custom', '(details)', 'null', 'autogenerate', '', 'default', 250, 200, 3, '', '', '', '');
INSERT INTO `Options` VALUES (20, 'Tivo Capacity', 'select', 0.00, 'plus', 0.00, 'plus', 1, 1, 150, 100, 1, 1, 'Select Capacity', 0, 'image^^custom', '(details)', 'null', 'autogenerate', '', 'default', 250, 200, 3, '', '', '', '');
INSERT INTO `Options` VALUES (33, 'Model', 'radio', 0.00, 'plus', 0.00, 'plus', 1, 1, 150, 100, 1, 1, 'Select model', 0, 'image^^custom', '(details)', 'null', 'autogenerate', '', 'default', 250, 200, 3, '', '', '', '');
-- --------------------------------------------------------
--
-- Table structure for table `Order_Status`
--
CREATE TABLE `Order_Status` (
`record_number` int(11) NOT NULL auto_increment,
`Status` varchar(100) NOT NULL default '',
`Description` text NOT NULL,
PRIMARY KEY (`record_number`)
) TYPE=MyISAM PACK_KEYS=0 AUTO_INCREMENT=500 ;
--
-- Dumping data for table `Order_Status`
--
INSERT INTO `Order_Status` VALUES (1, 'Awaiting Shipment', 'Package has not been shipped yet.');
INSERT INTO `Order_Status` VALUES (2, 'Shipped', 'Order has been shipped.');
INSERT INTO `Order_Status` VALUES (3, 'Delivered', 'Order has been delivered.');
INSERT INTO `Order_Status` VALUES (4, 'Canceled', 'Order has been canceled.');
INSERT INTO `Order_Status` VALUES (5, 'Refund Issued', 'Refund has been issued for this order.');
INSERT INTO `Order_Status` VALUES (6, 'Awaiting Customer Pickup', 'Customer has opted to pickup shipment.');
INSERT INTO `Order_Status` VALUES (7, 'Awaiting Payment', 'Payment has not been received, or is still pending.');
-- --------------------------------------------------------
--
-- Table structure for table `Ordered_Items`
--
CREATE TABLE `Ordered_Items` (
`record_number` int(11) NOT NULL auto_increment,
`Order_rn` int(11) NOT NULL default '0',
`Item_rn` int(11) NOT NULL default '0',
`Order_Number` varchar(100) NOT NULL default '',
`Name` varchar(100) NOT NULL default '',
`Quantity` int(6) NOT NULL default '0',
`Options` text NOT NULL,
`Base_Price` decimal(10,2) NOT NULL default '0.00',
`Options_Price` decimal(10,2) NOT NULL default '0.00',
`Handling_Subtotal` decimal(10,2) NOT NULL default '0.00',
`Item_Total` decimal(10,2) NOT NULL default '0.00',
`Item_Subtotal` decimal(10,2) NOT NULL default '0.00',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=92 ;
--
-- Dumping data for table `Ordered_Items`
--
-- --------------------------------------------------------
--
-- Table structure for table `Ordered_Options`
--
CREATE TABLE `Ordered_Options` (
`record_number` int(11) unsigned NOT NULL auto_increment,
`Ordered_Items_rn` int(11) unsigned default NULL,
`Options_rn` int(11) unsigned default NULL,
`Choices_rn` int(11) unsigned default NULL,
`Choices_Custom_rn` int(11) unsigned default NULL,
`Option_Name` varchar(50) NOT NULL default '',
`Value` text NOT NULL,
`Price` decimal(10,2) NOT NULL default '0.00',
`Price_Operator` varchar(5) NOT NULL default '',
`Weight` decimal(10,2) NOT NULL default '0.00',
`Weight_Operator` varchar(5) NOT NULL default '',
`Type` varchar(10) NOT NULL default '',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=66 ;
--
-- Dumping data for table `Ordered_Options`
--
-- --------------------------------------------------------
--
-- Table structure for table `Orders`
--
CREATE TABLE `Orders` (
`record_number` int(11) NOT NULL auto_increment,
`Order_Number` int(11) NOT NULL default '0',
`Transaction_ID` varchar(255) NOT NULL default '',
`Ordered_By` int(11) NOT NULL default '0',
`Product_Total` decimal(10,2) NOT NULL default '0.00',
`State_Tax_Total` decimal(10,2) NOT NULL default '0.00',
`VAT_Total` decimal(10,2) NOT NULL default '0.00',
`Tax_Total` decimal(10,2) NOT NULL default '0.00',
`Savings_Total` decimal(10,2) NOT NULL default '0.00',
`Shipping_Total` decimal(10,2) NOT NULL default '0.00',
`Handling_Total` decimal(10,2) NOT NULL default '0.00',
`Grand_Total` decimal(10,2) NOT NULL default '0.00',
`Order_Date` datetime NOT NULL default '0000-00-00 00:00:00',
`Payment_Method` int(11) NOT NULL default '0',
`Payment_Status` varchar(25) NOT NULL default '',
`PayPal_Address_Status` varchar(25) NOT NULL default '',
`PayPal_Payer_Status` varchar(25) NOT NULL default '',
`PayPal_Pending_Reason` varchar(25) NOT NULL default '',
`PayPal_Reason_Code` varchar(25) NOT NULL default '',
`PayPal_Payment_Type` varchar(10) NOT NULL default '',
`PayPal_IPN_Log` text NOT NULL,
`Bill_First_Name` varchar(100) NOT NULL default '',
`Bill_Last_Name` varchar(100) NOT NULL default '',
`Bill_Company` varchar(50) NOT NULL default '',
`Bill_Street` varchar(100) NOT NULL default '',
`Bill_Street_2` varchar(100) NOT NULL default '',
`Bill_City` varchar(100) NOT NULL default '',
`Bill_State_or_Province` int(11) NOT NULL default '0',
`Bill_State_Other` varchar(25) NOT NULL default '',
`Bill_Postal_Code` varchar(20) NOT NULL default '',
`Bill_Country` int(11) NOT NULL default '0',
`Bill_Email_Address` varchar(100) NOT NULL default '',
`Bill_Email_Preference` varchar(4) NOT NULL default '',
`Bill_Phone` varchar(25) NOT NULL default '',
`Bill_Fax` varchar(25) NOT NULL default '',
`Ship_First_Name` varchar(50) NOT NULL default '',
`Ship_Last_Name` varchar(50) NOT NULL default '',
`Ship_Company` varchar(50) NOT NULL default '',
`Ship_VAT_Registration` varchar(25) NOT NULL default '',
`Ship_Street` varchar(50) NOT NULL default '',
`Ship_Street_2` varchar(50) NOT NULL default '',
`Ship_City` varchar(25) NOT NULL default '',
`Ship_State_or_Province` int(11) NOT NULL default '0',
`Ship_State_Other` varchar(25) NOT NULL default '',
`Ship_Postal_Code` varchar(25) NOT NULL default '',
`Ship_Country` int(11) NOT NULL default '0',
`Ship_Email_Address` varchar(50) NOT NULL default '',
`Ship_Phone` varchar(25) NOT NULL default '',
`Ship_Fax` varchar(25) NOT NULL default '',
`Ship_Address_Is` tinyint(1) NOT NULL default '0',
`Ship_Special_Instructions` text NOT NULL,
`Shipping_Details` text NOT NULL,
`Packing_Details` text NOT NULL,
`IP_Address` varchar(15) NOT NULL default '',
`User_Agent` varchar(255) NOT NULL default '',
`Host_Name` varchar(255) NOT NULL default '',
`Referring_URL` varchar(255) NOT NULL default '',
`Referral_Date` datetime NOT NULL default '0000-00-00 00:00:00',
`VAT_Present` tinyint(1) default NULL,
PRIMARY KEY (`record_number`),
UNIQUE KEY `Order_Number` (`Order_Number`),
KEY `Ordered_By` (`Ordered_By`)
) TYPE=MyISAM AUTO_INCREMENT=92 ;
--
-- Dumping data for table `Orders`
--
-- --------------------------------------------------------
--
-- Table structure for table `Orders_Discounts`
--
CREATE TABLE `Orders_Discounts` (
`record_number` int(11) NOT NULL auto_increment,
`Order_rn` int(11) NOT NULL default '0',
`Ordered_Item_rn` int(11) NOT NULL default '0',
`Discount_What` varchar(7) NOT NULL default '',
`Regular_Price` decimal(10,2) NOT NULL default '0.00',
`Discount_Price` decimal(10,2) NOT NULL default '0.00',
`Savings_Amt` decimal(10,2) NOT NULL default '0.00',
`Savings_Percent` decimal(10,2) NOT NULL default '0.00',
`Discount_rn` int(11) NOT NULL default '0',
`Discount_Name` varchar(100) NOT NULL default '',
`Discount_Conditions` varchar(255) NOT NULL default '',
`Discount_Coupon` varchar(30) NOT NULL default '',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=35 ;
--
-- Dumping data for table `Orders_Discounts`
--
-- --------------------------------------------------------
--
-- Table structure for table `Payment_Gateways`
--
CREATE TABLE `Payment_Gateways` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(50) NOT NULL default '',
`Module_Name` varchar(50) NOT NULL default '',
`Account_Name` text NOT NULL,
`Account_Password` varchar(250) NOT NULL default '',
`Account_Email` varchar(30) NOT NULL default '',
`Account_Transaction_Key` varchar(255) NOT NULL default '',
`Certificate_Path` varchar(255) NOT NULL default '',
`Authenticate_With` text NOT NULL,
`Transaction_Type` varchar(25) NOT NULL default '0',
`Currency_Code` varchar(10) NOT NULL default '',
`Currency_Codes` text NOT NULL,
`Show_Password_Field` tinyint(1) NOT NULL default '0',
`Show_Transaction_Key` tinyint(1) NOT NULL default '0',
`Show_Certificate_Path` tinyint(1) NOT NULL default '0',
`Show_Email_Field` tinyint(1) NOT NULL default '0',
`Show_AUTH_CAPT_Fields` tinyint(4) NOT NULL default '0',
`Show_URL` tinyint(1) NOT NULL default '0',
`Show_Currency_Code` tinyint(1) NOT NULL default '0',
`Echeck_Capable` tinyint(1) NOT NULL default '0',
`Connection_Methods` text NOT NULL,
`Connection_Method` varchar(250) NOT NULL default '',
`Enabled` tinyint(4) NOT NULL default '0',
`URL` varchar(255) NOT NULL default '',
`Test_Mode` tinyint(1) NOT NULL default '0',
`PayPal_Mode` varchar(7) NOT NULL default '',
`PayPal_IPN` tinyint(1) NOT NULL default '0',
`PayPal_Test_IPN` tinyint(1) NOT NULL default '0',
`PayPal_No_Shipping` tinyint(1) NOT NULL default '0',
`Show_Test_Mode_Server` tinyint(1) NOT NULL default '0',
`Show_Test_Mode_Client_Sec` tinyint(1) NOT NULL default '0',
`Show_Test_Mode_Client_Non` tinyint(1) NOT NULL default '0',
`Show_Start_Date` tinyint(1) NOT NULL default '0',
`Show_Issue_Number` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM PACK_KEYS=0 AUTO_INCREMENT=500 ;
--
-- Dumping data for table `Payment_Gateways`
--
INSERT INTO `Payment_Gateways` VALUES (1, 'Authorize.net', 'authorizenet.php', '', '', '', '', '', '2', 'AUTH_ONLY', '', '', 1, 1, 0, 0, 1, 0, 0, 1, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, '', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (18, 'Star Processing', 'star_processing.php', '', '', '', '', '', '', '0', '', '', 0, 0, 0, 0, 0, 0, 0, 1, 'Client side non-secure form POST', 'Client side non-secure form POST', 0, '', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (15, '2Checkout.com (v1)', '2checkout-v1.php', '', '', '', '', '', '', '', '', '', 0, 1, 0, 0, 0, 0, 0, 0, 'Client side non-secure form POST', 'Client side non-secure form POST', 0, '', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (16, 'WonderPay', 'merchantpartners.php', '', '', '', '', '', '', 'AUTH_CAPTURE', '', '', 0, 0, 0, 0, 1, 0, 0, 1, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, 'https://trans.atsbank.com/cgi-bin/trans.cgi', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (17, 'ViaKlix', 'viaklix.php', '', '', '', '', '', '', '', '', '', 1, 1, 0, 0, 0, 0, 0, 0, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, '', 0, '', 0, 0, 0, 1, 1, 1, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (2, '2Checkout.com (v2)', '2checkout-v2.php', '', '', '', '', '', '', '', '', '', 0, 1, 0, 0, 0, 0, 0, 0, 'Client side non-secure form POST', 'Client side non-secure form POST', 0, '', 0, '', 0, 0, 0, 0, 0, 1, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (13, 'Goemerchant', 'goemerchant.php', '', '', '', '', '', '', 'AUTH_ONLY', '', '', 1, 0, 0, 0, 1, 0, 0, 0, 'Server to Server', 'Server to Server', 0, '', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (14, 'ECHO (Electronic Clearing House, Inc.)', 'echo.php', '', '', '', '', '', '', 'AUTH_ONLY', '', '', 1, 0, 0, 0, 1, 0, 0, 1, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, '', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (11, 'eWay', 'eway.php', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 'Client side non-secure form POST^^Server to Server', 'Server to Server', 0, '', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (7, 'TrustCommerce', 'trust_commerce.php', '', '', '', '', '', '', 'AUTH_ONLY', '', '', 1, 0, 0, 0, 1, 0, 0, 1, 'Server to Server', 'Server to Server', 0, '', 0, '', 0, 0, 0, 1, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (9, 'iTransact', 'itransact.php', '', '', '', '', '', '', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, '', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (10, 'LinkPoint', 'linkpoint.php', '', '', '', '', '', '', 'AUTH_CAPTURE', '', '', 0, 0, 1, 0, 1, 0, 0, 1, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, '', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (6, 'WorldPay', 'worldpay.php', '', '', '', '', '', '', '0', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 'Client side non-secure form POST', 'Client side non-secure form POST', 0, '', 0, '', 0, 0, 0, 0, 0, 1, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (3, 'PSiGate', 'psigate.php', '', '', '', '', '', '', 'AUTH_CAPTURE', '', '', 0, 0, 0, 0, 1, 1, 0, 0, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, '', 0, '', 0, 0, 0, 1, 1, 1, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (4, 'USA ePay', 'usaepay.php', '', '', '', '', '', '', 'AUTH_CAPTURE', '', '', 0, 1, 0, 0, 1, 0, 0, 0, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, '', 0, '', 0, 0, 0, 1, 1, 1, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (24, 'VeriSign Payflow', 'verisign.php', '', '', '', '', '', '', 'AUTH_CAPTURE', '', '', 1, 1, 0, 0, 1, 0, 0, 1, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, '', 0, '', 0, 0, 0, 1, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (8, 'Pay-Me-Now', 'merchantpartners.php', '', '', '', '', '', '', 'AUTH_ONLY', '', '', 0, 0, 0, 0, 1, 0, 0, 1, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, 'https://trans.pay-me-now.com/cgi-bin/trans.cgi', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (19, 'FastCharge', 'merchantpartners.php', '', '', '', '', '', '', 'AUTH_ONLY', '', '', 0, 0, 0, 0, 1, 0, 0, 1, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, 'https://trans.secure-fastcharge.com/cgi-bin/trans.cgi', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (20, 'PayPointUSA', 'merchantpartners.php', '', '', '', '', '', '', 'AUTH_ONLY', '', '', 0, 0, 0, 0, 1, 0, 0, 1, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, 'https://trans.atsbank.com/cgi-bin/trans.cgi', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (21, 'QuickCommerce Pro (ecx.com)', 'merchantpartners.php', '', '', '', '', '', '', 'AUTH_ONLY', '', '', 0, 0, 0, 0, 1, 0, 0, 1, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, 'https://trans.atsbank.com/cgi-bin/trans.cgi', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (23, 'Merchant Partners', 'merchantpartners.php', '', '', '', '', '', '', 'AUTH_ONLY', '', '', 0, 0, 0, 0, 1, 0, 0, 1, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, 'https://trans.merchantpartners.com/cgi-bin/process.cgi', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (22, 'CyberSource', 'cybersource.php', '', '', '', '', '', '', 'AUTH_ONLY', '', '', 0, 0, 0, 0, 1, 0, 0, 1, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, '', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (25, 'YourPay', 'linkpoint.php', '', '', '', '', '', '', 'AUTH_CAPTURE', '', '', 0, 0, 1, 0, 1, 0, 0, 1, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, '', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (26, 'PayQuake', 'merchantpartners.php', '', '', '', '', '', '', 'AUTH_CAPTURE', '', '', 0, 0, 0, 0, 1, 0, 0, 1, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, 'https://trans.atsbank.com/cgi-bin/trans.cgi', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (27, 'Net1 (Eftnet.com)', 'net1.php', '', '', '', '', '', '', 'AUTH_ONLY', '', '', 0, 1, 0, 0, 1, 0, 0, 1, 'Client side non-secure form POST^^Server to Server', 'Server to Server', 0, '', 0, '', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (28, 'Protx', 'protx.php', '', '', '', '', '', '', 'AUTH_CAPTURE', 'USD', 'AUD,CAD,CHF,DKK,EUR,GBP,HKD,IDR,JPY,LUF,NOK,NZD,SEK,SGD,TRL,USD', 0, 1, 0, 0, 1, 0, 1, 0, 'Client side non-secure form POST^^Server to Server', 'Client side non-secure form POST', 0, '', 0, '', 0, 0, 0, 1, 0, 1, 1, 1);
INSERT INTO `Payment_Gateways` VALUES (29, 'Skipjack', 'skipjack.php', '', '', '', '', '', '', '0', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 'Client side non-secure form POST^^Client side secure form POST^^Server to Server', 'Server to Server', 0, '', 0, 'live', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `Payment_Gateways` VALUES (30, 'PayPal Website Payments Pro', 'paypal_pro.php', '', '', '', '', '', '', 'AUTH_CAPTURE', '', '', 1, 0, 1, 0, 1, 0, 0, 0, 'Server to Server', 'Server to Server', 0, '', 0, 'live', 0, 0, 0, 0, 0, 0, 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `Payment_Methods`
--
CREATE TABLE `Payment_Methods` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(50) NOT NULL default '',
`Type` int(3) NOT NULL default '0',
`Echecks_Payable_To` varchar(30) NOT NULL default '',
`Payment_Email_Address` varchar(50) NOT NULL default '',
`PayPal_Mode` varchar(7) NOT NULL default '',
`Auto_Return` tinyint(1) NOT NULL default '0',
`PDT` tinyint(1) NOT NULL default '0',
`PDT_Identity_Token` varchar(255) NOT NULL default '',
`IPN` tinyint(1) NOT NULL default '0',
`Test_IPN` tinyint(1) NOT NULL default '0',
`NOCHEX_APC` tinyint(1) NOT NULL default '0',
`NOCHEX_Test_APC` tinyint(1) NOT NULL default '0',
`NOCHEX_Mode` varchar(4) NOT NULL default '',
`Currency_Code` varchar(5) NOT NULL default '',
`Module_Name` varchar(100) NOT NULL default '',
`Description` text NOT NULL,
`Image` text NOT NULL,
`Large_Image` text NOT NULL,
`Enabled` tinyint(1) NOT NULL default '0',
`Show_Payment_Email` tinyint(1) NOT NULL default '0',
`Show_Currency_Code` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM PACK_KEYS=0 AUTO_INCREMENT=500 ;
--
-- Dumping data for table `Payment_Methods`
--
INSERT INTO `Payment_Methods` VALUES (1, 'Visa', 1, '', '', 'live', 0, 0, '', 0, 0, 0, 0, '', '', '', 'The largest international credit card payment scheme. Visa does not issue the cards itself but runs the networks that link outlets, acquirers and issuers. ', 'squirrelcart/images/cart/visa1_53x34_a.gif', '', 1, 0, 0);
INSERT INTO `Payment_Methods` VALUES (2, 'MasterCard', 1, '', '', 'live', 0, 0, '', 0, 0, 0, 0, '', '', '', 'MasterCard is the second largest of the main credit card payment schemes. MasterCard do not issue cards themselves but they control the money transmissions networks, which join the outlets, acquirers and issuers.', 'squirrelcart/images/cart/master_card.gif', '', 1, 0, 0);
INSERT INTO `Payment_Methods` VALUES (6, 'Check or Money Order', 3, '', '', '', 0, 0, '', 0, 0, 0, 0, '', '', 'check.php', '', 'squirrelcart/images/cart/check_or_money_order.gif', '', 1, 0, 0);
INSERT INTO `Payment_Methods` VALUES (8, 'American Express', 1, '', '', 'live', 0, 0, '', 0, 0, 0, 0, '', '', '', 'American Express, or Amex. One of the main international credit card payment schemes. Unlike Visa and MasterCard, Amex issues cards itself.', 'squirrelcart/images/cart/amex.gif', '', 1, 0, 0);
INSERT INTO `Payment_Methods` VALUES (9, 'Discover', 1, '', '', 'live', 0, 0, '', 0, 0, 0, 0, '', '', '', 'Originally created by Sears, Discover issues all cards and processes all card transactions. USA only.', 'squirrelcart/images/cart/discover.gif', '', 1, 0, 0);
INSERT INTO `Payment_Methods` VALUES (3, 'Electronic Check (direct debit)', 4, '', '', '', 0, 0, '', 0, 0, 0, 0, '', '', '', 'This option will only work if your gateway supports it AND the Squirrelcart gateway module for your gateway supports it', 'squirrelcart/images/cart/echeck.gif', '', 0, 0, 0);
INSERT INTO `Payment_Methods` VALUES (10, 'NOCHEX', 3, '', '', 'live', 0, 0, '', 0, 0, 1, 1, 'test', '', 'nochex.php', 'NOCHEX is a UK payment processor similar to PayPal. Their website is http://www.nochex.com\r\n\r\nTo enable NOCHEX payments:\r\n\r\n1. Enter the email address that you use to accept NOCHEX payments in the "Payment Email Address" field above.\r\n\r\n2. Check "Enabled"', 'squirrelcart/images/cart/nochex_small.gif', 'squirrelcart/images/cart/nochex.gif', 0, 1, 0);
INSERT INTO `Payment_Methods` VALUES (5, 'PayPal', 3, '', '', 'live', 0, 0, '', 0, 0, 0, 0, 'live', 'USD', 'paypal.php', '', 'squirrelcart/images/cart/paypal_small.gif', '', 0, 1, 1);
INSERT INTO `Payment_Methods` VALUES (14, 'Delta', 1, '', '', 'live', 1, 1, '', 1, 0, 0, 0, '', '', '', 'Visa Delta is a Visa debit card payment scheme. Visa Delta cards are always linked to a UK bank account and transactions are debited directly from the bank account, much in the same way as a cheque. Delta is the debit card of Barclays and Lloyds TSB.', 'squirrelcart/images/cart/delta.gif', '', 0, 0, 0);
INSERT INTO `Payment_Methods` VALUES (13, 'Solo', 1, '', '', 'live', 1, 1, '', 1, 0, 0, 0, '', '', '', 'Solo card is a Switch debit card which is linked directly to a customers bank account. All Solo card transactions must be authorised by retailers to prevent unauthorised overdrafts. The card is aimed at new customers, teenagers and those with deposit accounts.', 'squirrelcart/images/cart/solo_small.gif', '', 0, 0, 0);
INSERT INTO `Payment_Methods` VALUES (16, 'Maestro', 1, '', '', 'live', 1, 1, '', 1, 0, 0, 0, '', '', '', 'This is a debit card forming part of the Europay - MasterCard debit card network. Using a Maestro card you can purchase goods in the UK and abroad in shops or outlets that display the Maestro sign. The EDC brand provides the same service as Maestro but only in Europe.\r\n\r\nMaestro acquired the Switch name. All Switch cards will be renamed to Maestro by 06/30/2007.', 'squirrelcart/images/cart/switch_maestro.jpg', '', 0, 0, 0);
INSERT INTO `Payment_Methods` VALUES (11, 'Diner''s Club', 1, '', '', 'live', 1, 1, '', 1, 0, 0, 0, '', '', '', 'Issuer and Acquirer of Diners club cards. All Soft-EFT products are accredited to accept Diners Club cards for both authorisation and funds transfer. Cards with high spending limits. Owned by Citigroup.', 'squirrelcart/images/cart/diners_club.gif', '', 0, 0, 0);
INSERT INTO `Payment_Methods` VALUES (12, 'JCB', 1, '', '', 'live', 1, 1, '', 1, 0, 0, 0, '', '', '', 'Issuer and acquirer or Japanese Credit Bureau cards. These cards are generally issued to Japanese residents and Japanese ex-patriots and are often accepted in retailers focusing on the tourist market.', 'squirrelcart/images/cart/jcb.gif', '', 0, 0, 0);
INSERT INTO `Payment_Methods` VALUES (15, 'Visa Electron', 1, '', '', 'live', 1, 1, '', 1, 0, 0, 0, '', '', '', 'Electron card is a Visa debit card which is linked directly to a customers bank account. All Electron card transactions must be authorised by retailers to prevent unauthorised overdrafts.', 'squirrelcart/images/cart/visa_electron.gif', '', 0, 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `Products`
--
CREATE TABLE `Products` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(100) NOT NULL default '',
`Base_Price` decimal(10,2) NOT NULL default '0.00',
`My_Cost` decimal(10,2) NOT NULL default '0.00',
`MSRP` decimal(10,2) NOT NULL default '0.00',
`Handling_Fee` decimal(10,2) NOT NULL default '0.00',
`Not_For_Sale` tinyint(4) NOT NULL default '0',
`Show_Base_Price` tinyint(4) NOT NULL default '1',
`Tax_Item` varchar(25) NOT NULL default '',
`VAT_Rate` tinyint(1) NOT NULL default '0',
`Keywords` text NOT NULL,
`Description` text NOT NULL,
`Brief_Description` text NOT NULL,
`Page_Title_Choice` tinyint(4) NOT NULL default '0',
`Page_Title` text NOT NULL,
`Sort_Index` int(11) NOT NULL default '0',
`Option_Behavior` tinyint(1) NOT NULL default '0',
`Large_Image` varchar(255) NOT NULL default '',
`Image` varchar(255) NOT NULL default '',
`Thumbnail_Image` varchar(255) NOT NULL default '',
`Featured_Image` varchar(255) NOT NULL default '',
`Weight` decimal(10,2) NOT NULL default '0.00',
`Height` decimal(10,2) NOT NULL default '0.00',
`Width` decimal(10,2) NOT NULL default '0.00',
`Depth` decimal(10,2) NOT NULL default '0.00',
`Product_Code` varchar(100) NOT NULL default '',
`SKU` varchar(25) NOT NULL default '',
`Date_Added_to_Cart` datetime NOT NULL default '0000-00-00 00:00:00',
`Ship_Separately` tinyint(1) NOT NULL default '0',
`Package_Weight` decimal(10,2) NOT NULL default '0.00',
`Package_Height` decimal(10,2) NOT NULL default '0.00',
`Package_Width` decimal(10,2) NOT NULL default '0.00',
`Package_Depth` decimal(10,2) NOT NULL default '0.00',
`Package_Declared_Value_Is` varchar(15) NOT NULL default '',
`Package_Declared_Value` decimal(10,2) NOT NULL default '0.00',
`FedEx_Signature_Option` varchar(30) NOT NULL default '',
`Ship_Using` tinyint(1) NOT NULL default '0',
`Ship_From` int(11) NOT NULL default '0',
`Ship_Service` int(11) NOT NULL default '0',
`Postage_Is` tinyint(1) NOT NULL default '0',
`Postage` decimal(10,2) NOT NULL default '0.00',
`Qlfy_Media_Mail` tinyint(1) NOT NULL default '0',
`Qlfy_BPM` tinyint(1) NOT NULL default '0',
`Sales_Agreement` int(11) NOT NULL default '0',
`Merge_Options` tinyint(1) unsigned NOT NULL default '1',
PRIMARY KEY (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=290 ;
--
-- Dumping data for table `Products`
--
INSERT INTO `Products` VALUES (173, '100 Watt Receiver', 169.00, 0.00, 0.00, 0.00, 0, 1, 'yes', 1, '', '', '', 1, '', 0, 1, '', 'products/173_image.jpg', 'products/receiver.jpg', '', 2.00, 5.00, 2.00, 3.00, '', '', '2005-01-01 00:00:00', 0, 31.00, 0.00, 0.00, 0.00, 'default', 0.00, '', 1, 1, 4, 0, 18.50, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (243, 'Canon XL2 Digital Camcorder', 3999.00, 0.00, 0.00, 0.00, 0, 1, 'category default', 0, '', 'The Canon XL2 allows you to capture images closer to the finished product than ever before. Work that previously was limited to post-production can be simply and effectively accomplished in the field, in the camcorder.\r\n\r\nThe XL2 brings a host of performance and convenience features to this class of video camcorder- benefits that can''t be found in this combination on other high-end video cameras. They include: Canon Super Range Optical Image Stabilization in the standard lens; dual aspect ratios; various frame rate capabilities; image gamma and detail controls; skin detail control and convertible LCD display among others.', '', 1, '', 0, 2, '', 'products/243_image.jpg', 'products/243_thumbnail_image.jpg', '', 2.00, 24.00, 30.00, 5.00, '', '', '2005-01-01 00:00:00', 0, 0.27, 24.00, 30.00, 5.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (179, 'Sony DVPNS50P/S DVD Player', 79.99, 0.00, 0.00, 0.00, 0, 1, 'category default', 0, 'hey there', 'Affordable, functional, reliable ? Sony''s DVP-NS50P/S DVD Player meets all your basic and advanced DVD playback1 needs. Not only can you listen and watch DVDs with superb quality picture and sound, you can also playback JPEGs, CDs, and MP3 songs2. Sony makes it simple with easy-to-use features and compatibility.', '', 1, '', 0, 2, '', 'products/179_image.jpg', 'products/179_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (272, 'Sony VAIO VGC-RB38G', 1349.99, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', '
The VAIO® RB38G comes loaded with exclusive Sony software that allows you to easily create, manage, share and enjoy your digital photos, home videos, movies and music. Convert old VHS and 8mm videos to DVD with Click to DVD? software and create an extensive digital library for your personal viewing entertainment.
Microsoft® Windows® XP Media Center Edition 2005 \r\n
1GB RAM (expandable to 2GB) and 250GB hard drive\r\n
ATI graphics, Click to DVD software and a remote control centralize your multimedia commands.
', '', 1, '', 0, 0, '', 'products/272_image.jpg', 'products/272_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (174, 'Dual Cassette Tape Recorder', 99.00, 0.00, 0.00, 0.00, 0, 0, 'category default', 0, '', 'This dual-cassette deck covers all the bases & throws in a few extras for good measure. You''ll be able to copy your tapes in half the time with high-speed dubbing, and they''ll always sound great with Dolby B noise reduction, which cuts tape hiss in half.\r\n', 'test 2', 1, '', 0, 2, '', 'products/cassette_deck.jpg', 'products/cassette_deck-t.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 9, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (175, '6 Disc CD Player', 199.99, 0.00, 0.00, 0.00, 0, 1, 'category default', 0, '', 'If you like music, and a lot of it, then this 6-disc CD player is for you. Your ears are going to be very happy with the clear, spine-tingling sound created with exclusive jitter-eliminating AccuPulse Quartz System. Play one CD while you exchange five, or just program up to 40 tracks and sit back and listen. ', '', 1, '', 0, 2, '', 'products/cd_player.jpg', 'products/cd_player-t.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (257, 'Bookshelf Speakers', 80.00, 0.00, 0.00, 0.00, 0, 1, 'category default', 0, '', 'If you''re looking for a compact, affordable bookshelf speaker, this bookshelf speaker a great choice. The 3-way design includes an 8'''' direct-coupled woofer for bass that''s rich and powerful. The 3'''' midrange and 1/2'''' tweeter ensure your music and movies are clear and detailed.', '', 1, '', 0, 2, '', 'products/speaker2.jpg', 'products/speaker2-t.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, 'default', 0.00, '', 1, 1, 5, 1, 0.50, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (270, 'TiVo Series2? Digital Video Recorder', 0.00, 0.00, 0.00, 0.00, 0, 0, 'yes', 0, '', 'Life''s too short for bad TV. TiVo® finds and records the shows you love, automatically, and gives you the power to control live TV in ways never before possible.', '', 1, '', 0, 0, '', 'products/270_image.jpg', 'products/270_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (269, 'Panasonic DMR-E85HS DVD Player', 399.00, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', 'Progressive Scan DVD Video Recorder with Built-in 160 GB Hard Disk and TV Guide On Screen? - Records to DVD-RAM and DVD-R discs.', '', 1, '', 0, 0, '', 'products/269_image.jpg', 'products/269_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (262, 'Sony Grand WEGA KF42WE610', 2799.00, 0.00, 0.00, 0.00, 0, 1, 'category default', 0, '', 'Experience the amazing entertainment experience this 42 in. WXGA LCD screen offers wth 3.28 million dots of resolution for stunning detail and clarity. Low profile, lightweight design.', '', 1, '', 0, 2, '', 'products/262_image.jpg', 'products/262_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 5, 1, 4.50, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (263, 'Canon PowerShot SD400', 399.00, 0.00, 0.00, 0.00, 0, 1, 'category default', 0, '', 'The PowerShot SD400 is a 5.0 Megapixel camera unrivaled in its category. With an ultra-thin Digital ELPH style, an impressive set of high-end features and exclusive Canon innovations and technology, you''ll achieve the results you''ve been dreaming of - and have a great time doing it.', '', 1, '', 0, 0, '', 'products/263_image.jpg', 'products/263_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, 'default', 0.00, '', 1, 1, 31, 1, 0.00, 0, 0, 0, 0);
INSERT INTO `Products` VALUES (265, 'Sony Cyber-shot DSC-F828', 899.00, 0.00, 0.00, 0.00, 0, 1, 'category default', 0, '', 'Representing the next level of digital still photography, Sony''s DSC-F828 Cyber-shot® is the first consumer camera to incorporate four-color filter CCD technology and a Real Imaging Processor?. These new components are integral in capturing color accuracy closest to what the human eye can see, setting a new benchmark in camera performance.', '', 1, '', 0, 0, '', 'products/265_image.jpg', 'products/265_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (274, 'Sony VAIO PCV-RX860', 999.00, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', 'Power, of course. Performance, definitely. And it''s got to have a DVD-RW drive. With the VAIO Digital Studio RX860, creating your own DVDs has never been this easy?.and this fun! The blazing fast Intel Pentium 4 2.40B GHz Processor will make your computing experience even more exciting. Power, performance, DVD-RW? it all starts here.', '', 1, '', 0, 0, '', 'products/274_image.jpg', 'products/274_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (275, 'Compaq Presario X6000 series', 1349.00, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', 'Compaq Presario X6000 series notebooks combine the latest processors, wired or wireless connectivity, and high-performance graphics to help you achieve new levels of personal productivity at home or anywhere you call your "office".
', '', 1, '', 0, 0, '', 'products/275_image.jpg', 'products/275_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (276, 'Apple iBook G3', 899.00, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', 'The Apple iBook G3 "800" (14-Inch) features an 800 MHz PowerPC 750fx (G3) processor with a 512k on-chip level 2 cache, 256 MB of RAM, a 30.0 GB Ultra-ATA hard drive, an 16X/8X/8X/24X DVD/CD-RW Combo drive, and a 2X-AGP ATI Mobility Radeon 7500 graphics card with 32 MB of VRAM in an ultrasleek case with a 14.1" TFT XGA active-matrix display.', '', 1, '', 0, 0, '', 'products/276_image.jpg', 'products/276_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, 'default', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (277, 'Sales Agreement', 25.00, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', 'This product demonstrates the use of sales agreements. You can add as many sales agreements to a product as you like. They must be agreed to in order for the item to be purchased.', '', 1, '', 0, 0, '', 'products/277_image.jpg', 'products/277_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (278, 'Sony DCRTRV27 MiniDV Digital Handycam', 499.00, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', 'The Sony DCR-TRV27 is a solid MiniDV camera with a load of functions, including that of a 1-megapixel digital still camera. Demanding video enthusiasts will find their needs satisfied with a 10x optical zoom, manual focus ring, a night-shooting function, and a large 3.5-inch LCD screen. \r\n \r\n* Records still photos onto tape or included Memory Stick media \r\n* MiniDV camcorder \r\n* 10x optical, 120x digital, zoom with image stabilization \r\n* 3.5-inch color LCD monitor; color EVF', '', 1, '', 0, 0, '', 'products/278_image.jpg', 'products/278_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (279, 'Select Options', 199.00, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', 'This is an example of "select" options, which allow a customer to choose an option from a drop down list. An unlimited number of select inputs are supported per product.\r\n
\r\nThe size option is required in this example, but can be made optional if desired.', '', 1, '', 0, 0, '', 'products/279_image.jpg', 'products/279_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (280, 'Price Altering Options', 29145.00, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', 'This item is an example of price altering options. Each option displays the associated cost of the choice (if any), and can optionally increase or decrease the total price of an item.
Choices without an amount displayed do not alter the price. Choices with an amount preceded by a + increase the price, and choices preceded with a - decrease the price.', ' This item is an example of price altering options.', 1, '', 0, 0, '', 'products/280_image.jpg', 'products/280_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (281, 'Text Area Options', 49.99, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', 'Piano finished rosewood plaque with a black engraving plate. Plate engraves to a gold letter which creates a stunning effect.', '', 1, '', 0, 0, '', 'products/281_image.jpg', 'products/281_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (282, 'Coupon Code', 249.99, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', 'This particular item demonstrates the ability to use a Coupon Code to receive a discount on an item. Add this item to the cart, enter PATSWIN in one of the coupon code fields during checkout, and then click Update Cart. \r\n \r\nThis is it ? the real McCoy from Reebok ? official onfield brand of the NFL. Embroidered with your favorite player?s name and number and built to tough NFL standards all the way: \r\n \r\n* 100% heavy-duty mesh body \r\n* Heavyweight nylon sleeves \r\n* Reinforced v-neck \r\n* Rugged double-needle construction \r\n* Official NFL Equipment logo \r\n* Woven Reebok logo locker tag \r\n ', '', 1, '', 0, 0, '', 'products/282_image.jpg', 'products/282_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (283, 'Detailed Select Options', 99.95, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', 'This item demonstrates the features of the "Option Detail Page", which can be seen by clicking on the name of the option Gift Wrap OR by clicking on the magnifying glass image . The choices for this option also demonstrate price altering abilities.
The swirling etched pattern featuring hearts and delicate leaves makes a lovely and endearing statement. Perfect for displaying a flower from that special someone. ', '', 1, '', 0, 0, '', 'products/283_image.jpg', 'products/283_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (284, 'Discounts', 9.99, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', 'There are a number of types of discounts that you can create for your customers. This particular item demonstrates the ability to create a date based discount, as seen by the Discounts section located near the bottom of this page. \r\n \r\nHammermill Copy Plus Premium Office Paper \r\n \r\n* Premium paper \r\n* 84+ brightness \r\n* Good opacity for minimal show through \r\n* Acid-free for archival use', '', 1, '', 0, 0, '', 'products/284_image.jpg', 'products/284_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (285, 'Text Options', 25.00, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', 'This example demonstrates text options, which can be used to gather data from your customers for a particular item. You can make them required if needed, and can also optionally add a charge that will only be applied if the option is filled out. This can be seen below for the option "Address Line 3" which adds an extra 2.00 to the order when that field is populated.', '', 1, '', 0, 0, '', 'products/285_image.jpg', 'products/285_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, '', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (286, 'Radio Button Options', 0.00, 0.00, 0.00, 0.00, 0, 0, 'yes', 0, '', 'In this example, radio buttons are used to choose the options for a product. Both the drive size of the iPod and the iPod''s cost is controled by the radio button options. \r\n \r\nBetter Yet
\r\nTime for the world?s best music player to take the stage for another encore. In 30GB and 60GB models that hold up to 15,000 songs, full-color album art and up to 25,000 photos, the new iPod makes the most of your music and more. Yeah, you?ve heard that tune before. Only now, you can watch it, too. With support for up to 150 hours of video and a 2.5-inch color display, the new iPod lets you take music videos and TV shows on the road.', '', 1, '', 0, 0, '', 'products/286_image.jpg', 'products/286_thumbnail_image.jpg', '', 2.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, 'default', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
INSERT INTO `Products` VALUES (271, 'Mitsubishi WS-65815 Diamond CRT', 2199.00, 0.00, 0.00, 0.00, 0, 1, 'yes', 0, '', 'The unsurpassed performance and brilliant design you?d expect in one of Mitsubishi?s top-line models. This impressive television features a complete array of our latest innovations including our proprietary Tru-Focus? lenses, which boost picture quality across the entire screen to provide amazing color and clarity.', '', 1, '', 0, 0, 'products/271_large_image.jpg', 'products/271_image.jpg', 'products/271_thumbnail_image.jpg', '', 110.00, 0.00, 0.00, 0.00, '', '', '2005-01-01 00:00:00', 0, 0.00, 0.00, 0.00, 0.00, 'default', 0.00, '', 1, 1, 0, 0, 0.00, 0, 0, 0, 1);
-- --------------------------------------------------------
--
-- Table structure for table `Products_Sold`
--
CREATE TABLE `Products_Sold` (
`record_number` int(11) NOT NULL auto_increment,
`Product_rn` int(11) NOT NULL default '0',
`Quantity` int(11) NOT NULL default '0',
KEY `record_number` (`record_number`)
) TYPE=MyISAM AUTO_INCREMENT=34 ;
--
-- Dumping data for table `Products_Sold`
--
INSERT INTO `Products_Sold` VALUES (2, 243, 39);
INSERT INTO `Products_Sold` VALUES (4, 179, 75);
INSERT INTO `Products_Sold` VALUES (6, 262, 408);
INSERT INTO `Products_Sold` VALUES (23, 276, 36);
INSERT INTO `Products_Sold` VALUES (24, 275, 31);
INSERT INTO `Products_Sold` VALUES (21, 270, 52);
INSERT INTO `Products_Sold` VALUES (19, 265, 42);
INSERT INTO `Products_Sold` VALUES (18, 263, 87);
INSERT INTO `Products_Sold` VALUES (22, 269, 41);
INSERT INTO `Products_Sold` VALUES (25, 272, 15);
INSERT INTO `Products_Sold` VALUES (26, 280, 1);
INSERT INTO `Products_Sold` VALUES (27, 286, 26);
INSERT INTO `Products_Sold` VALUES (30, 284, 2);
INSERT INTO `Products_Sold` VALUES (29, 274, 6);
INSERT INTO `Products_Sold` VALUES (31, 257, 49);
INSERT INTO `Products_Sold` VALUES (33, 283, 9);
-- --------------------------------------------------------
--
-- Table structure for table `Query`
--
CREATE TABLE `Query` (
`record_number` int(11) NOT NULL auto_increment,
`Name` varchar(100) NOT NULL default '',
`Description` varchar(255) NOT NULL default '',
`Primary_Table` varchar(50) NOT NULL default '',
`SELECT` text NOT NULL,
`ORDER` text NOT NULL,
`GROUP` text NOT NULL,
`WHERE` text NOT NULL,
PRIMARY KEY (`record_number`)
) TYPE=MyISAM PACK_KEYS=0 AUTO_INCREMENT=1000 ;
--
-- Dumping data for table `Query`
--
INSERT INTO `Query` VALUES (1, 'Orders - default', 'Default query to show all orders.', 'Orders', 'SELECT o.record_number\r\n , o.Order_Number\r\n , o.Order_Date\r\n , IF(os.Status IS NOT NULL, os.Status,'''') AS Current_Status\r\n , IF(rel1.Record_Date IS NOT NULL, rel1.Record_Date,'''') AS Date_Status_Assigned\r\n , o.Grand_Total\r\n , o.Bill_First_Name\r\n , o.Bill_Last_Name\r\n , o.Bill_Street\r\n , o.Bill_Postal_Code\r\n , s.Name AS Bill_State_or_Province\r\n , c.Name AS Bill_Country\r\n , o.Bill_Email_Address\r\n , p.Name AS Payment_Method\r\n FROM Orders o\r\nLEFT OUTER\r\n JOIN REL_Orders__Order_Status AS rel1\r\n ON o.record_number = rel1.Orders_rn\r\nLEFT OUTER\r\n JOIN REL_Orders__Order_Status AS rel2\r\n ON o.record_number = rel2.Orders_rn\r\nLEFT OUTER\r\n JOIN Order_Status AS os\r\n ON rel1.Order_Status_rn = os.record_number\r\nLEFT OUTER\r\n JOIN States AS s\r\n ON o.Bill_State_or_Province = s.record_number\r\nLEFT OUTER\r\n JOIN Countries AS c\r\n ON o.Bill_Country = c.record_number\r\nLEFT OUTER\r\n JOIN Payment_Methods AS p\r\n ON o.Payment_Method = p.record_number\r\n', 'ORDER\r\n BY o.Order_Date DESC', 'GROUP\r\n BY o.record_number\r\n , rel1.Record_Date\r\nHAVING Date_Status_Assigned = ''''\r\n or Date_Status_Assigned = MAX(rel2.Record_Date)\r\n or Date_Status_Assigned IS NULL', '');
INSERT INTO `Query` VALUES (2, 'Products - default', 'Default view for Products table, with Total Sold, Total Sales, and Total Stock.', 'Products', 'SELECT \r\n p.record_number,\r\n p.Name, \r\n p.Thumbnail_Image, \r\n p.Base_Price,\r\n SUM(oi.Quantity) AS Total_Sold, \r\n SUM(oi.Item_Subtotal) AS Total_Sales,\r\n p.Image,\r\n p.Product_Code,\r\n p.Date_Added_to_Cart,\r\n IF(COUNT(oi.record_number) < 1, SUM(pw.Stock), FORMAT(SUM(pw.Stock) / COUNT(oi.record_number),0) ) AS Total_Stock\r\nFROM \r\n `Products` p\r\nLEFT JOIN\r\n Ordered_Items oi \r\nON\r\n p.record_number = oi.Item_rn\r\nLEFT JOIN\r\n REL_Products__Warehouses pw \r\nON\r\n p.record_number = pw.Products_rn', 'ORDER BY p.Name ASC', 'GROUP BY p.record_number', '');
INSERT INTO `Query` VALUES (3, 'Shipping Methods', 'Default query for Shipping Methods table.', 'Shipping_Methods', 'SELECT \r\n sm.record_number\r\n ,sc.Name\r\n ,sm.Method\r\n ,CONCAT(Max_Weight_lbs, '' lb'') AS `Weight Limit`\r\nFROM\r\n Shipping_Methods sm\r\nLEFT JOIN\r\n Shipping_Couriers sc \r\nON\r\n sm.Courier = sc.record_number\r\n', 'ORDER BY \r\n sc.Name ASC\r\n ,sm.Method ASC', '', '');
INSERT INTO `Query` VALUES (4, 'Category - default', 'Default query for Category table.', 'Categories', 'SELECT \r\n c.record_number\r\n ,c.Name\r\n ,c.Image_of_Name\r\n ,Image\r\n ,COUNT(DISTINCT pc.record_number) AS `# Products`\r\n ,SUM(oi.Item_Subtotal) AS `Total_Sales`\r\n ,SUM(oi.Quantity) AS `# Products Sold`\r\nFROM\r\n Categories c\r\nLEFT JOIN\r\n REL_Products__Categories pc \r\nON\r\n c.record_number = pc.Categories_rn\r\nLEFT JOIN\r\n Ordered_Items oi\r\nON\r\n pc.Products_rn = oi.Item_rn', 'ORDER BY \r\n c.Name ASC\r\n', 'GROUP BY \r\n c.record_number', '');
INSERT INTO `Query` VALUES (5, 'Category - w. Stock Totals', 'Categories and total stock for all items in each category.', 'Categories', 'SELECT\r\nc.record_number\r\n,c.Name\r\n,SUM(pw.Stock) AS `Total_Stock`\r\nFROM Categories c\r\nLEFT JOIN REL_Products__Categories pc \r\n ON c.record_number = pc.Categories_rn\r\nLEFT JOIN REL_Products__Warehouses pw\r\n ON pc.Products_rn = pw.Products_rn\r\n', 'ORDER BY Total_Stock DESC', 'GROUP BY \r\nc.record_number\r\n', '');
INSERT INTO `Query` VALUES (6, 'Shipping Rules', 'Default query for shipping rules table', 'Shipping_Rules', 'SELECT \r\n record_number\r\n ,Name\r\n ,Shipping_Cost\r\n ,Priority\r\n ,Enabled\r\nFROM\r\n Shipping_Rules', 'ORDER BY\r\n Name ASC', '', '');
INSERT INTO `Query` VALUES (7, 'Warehouses', 'Default query for Warehouses table.', 'Warehouses', 'SELECT\r\n w.record_number\r\n ,w.Name\r\n ,IF(w.record_number = 1, si.Street,w.Street) AS Street\r\n ,IF(w.record_number = 1, si.City,w.City) AS City\r\n ,s.Name AS State\r\n ,IF(w.record_number = 1, si.Postal_Code, w.Postal_Code) AS Postal_Code\r\n ,c.Alpha_3 AS Country\r\n ,SUM(pw.Stock) AS Total_Stock\r\n ,SUM(IF(p.Package_Weight > 0 AND p.Ship_Separately = 1, p.Package_Weight, p.Weight) * pw.Stock) AS Stock_Weight\r\n ,SUM(p.Base_Price * pw.Stock) AS Stock_Retail_Value\r\nFROM\r\n Warehouses w\r\n\r\nLEFT JOIN\r\n Store_Information si\r\nON\r\n w.record_number = si.record_number\r\n\r\nLEFT JOIN\r\n REL_Products__Warehouses pw\r\nON\r\n w.record_number = pw.Warehouses_rn\r\n\r\nLEFT JOIN\r\n States s\r\nON\r\n w.State_or_Province = s.record_number\r\n OR si.State_or_Province = s.record_number\r\n\r\nLEFT JOIN\r\n Countries c\r\nON\r\n w.Country = c.record_number\r\n OR si.Country = c.record_number\r\n\r\nLEFT JOIN\r\n Products p\r\nON\r\n pw.Products_rn = p.record_number', '', 'GROUP BY\r\n w.record_number', '');
INSERT INTO `Query` VALUES (8, 'Payment Methods', 'Default query for the Payment_Methods table.', 'Payment_Methods', 'SELECT\r\n pm.record_number\r\n ,pm.Name\r\n ,pm.Image\r\n ,pm.Enabled\r\n ,COUNT(o.record_number) AS `# Orders`\r\n ,SUM(o.Grand_Total) AS Total_Sales\r\nFROM\r\n Payment_Methods pm\r\nLEFT JOIN\r\n Orders o\r\nON\r\n pm.record_number = o.Payment_Method\r\n', 'ORDER BY\r\n pm.Type ASC\r\n ,pm.Name ASC', 'GROUP BY\r\n pm.record_number', '');
INSERT INTO `Query` VALUES (9, 'Sales Tax', 'Default query for Sales Tax table.', 'Sales_Tax', 'SELECT\r\n t.record_number\r\n ,s.Name\r\n ,t.Tax\r\n ,t.Description\r\nFROM\r\n Sales_Tax t\r\nLEFT JOIN\r\n States s\r\nON\r\n t.State = s.record_number\r\n', 'ORDER BY\r\n s.Name ASC', '', '');
INSERT INTO `Query` VALUES (10, 'Products Sold', 'default query for products sold table', 'Products_Sold', 'SELECT\r\n ps.record_number\r\n ,p.Name\r\n ,ps.Quantity\r\nFROM\r\n Products_Sold ps\r\nLEFT JOIN\r\n Products p\r\nON\r\n ps.Product_rn = p.record_number', 'ORDER BY\r\n Quantity DESC', '', '');
INSERT INTO `Query` VALUES (11, 'Customers', 'default query for Customers table.', 'Customers', 'SELECT\r\n c.record_number\r\n ,c.First_Name\r\n ,c.Last_Name\r\n ,c.Street\r\n ,c.City\r\n ,s.Name AS State\r\n ,c.Postal_Code\r\n ,c.Email_Address\r\n ,c.Phone\r\n ,c.Username\r\n ,SUM(o.Grand_Total) AS Total_Spent\r\n ,COUNT(o.record_number) AS `# Orders`\r\nFROM\r\n Customers c\r\nLEFT JOIN\r\n Orders o\r\nON\r\n c.record_number = o.Ordered_by\r\nLEFT JOIN\r\n States s\r\nON\r\n c.State_or_Province = s.record_number', 'ORDER BY c.record_number DESC\r\n', 'GROUP BY\r\n c.record_number', '');
INSERT INTO `Query` VALUES (12, 'Products - all fields', 'Products table - all fields, with Total Sold, Total Sales, and Total Stock.', 'Products', 'SELECT \r\np.*\r\nFROM `Products` p', 'ORDER BY p.Name ASC', '', '');
INSERT INTO `Query` VALUES (13, 'Category - all fields', 'Category records with all fields.', 'Categories', 'SELECT \r\n c.*\r\nFROM\r\n Categories c', 'ORDER BY \r\n c.Name ASC\r\n', '', '');
INSERT INTO `Query` VALUES (14, 'Orders - all fields', 'Default query to show all orders.', 'Orders', 'SELECT\r\n o.record_number\r\n ,o.Order_Number\r\n ,CONCAT(cust.Last_Name, '', '', cust.First_Name) AS Customer_Acct\r\n ,o.Product_Total\r\n ,o.Tax_Total\r\n ,o.Savings_Total\r\n ,o.Grand_Total\r\n ,o.Order_Date\r\n ,pmt.Name AS Payment_Method\r\n ,o.Bill_First_Name\r\n ,o.Bill_Last_Name\r\n ,o.Bill_Company\r\n ,o.Bill_Street\r\n ,o.Bill_Street_2\r\n ,o.Bill_City\r\n ,s.Name AS Bill_State_or_Province\r\n ,o.Bill_Postal_Code\r\n ,c.Name AS Bill_Country\r\n ,o.Bill_Email_Address\r\n ,o.Bill_Phone\r\n ,o.Bill_Fax\r\n\r\n\r\n ,o.Ship_First_Name\r\n ,o.Ship_Last_Name\r\n ,o.Ship_Company\r\n ,o.Ship_Street\r\n ,o.Ship_Street_2\r\n ,o.Ship_City\r\n ,s2.Name AS Ship_State_or_Province\r\n ,o.Ship_Postal_Code\r\n ,c2.Name AS Ship_Country\r\n ,o.Ship_Email_Address\r\n ,o.Ship_Phone\r\n ,o.Ship_Fax\r\n ,o.Ship_Address_Is\r\n ,o.Ship_Special_Instructions\r\n ,o.Shipping_Details\r\n ,o.Packing_Details\r\n\r\n ,o.IP_Address\r\n ,o.User_Agent\r\n ,o.Host_Name\r\n ,o.Referring_URL\r\n ,o.Referral_Date\r\n\r\nFROM\r\n Orders o\r\n\r\nLEFT JOIN\r\n Customers cust\r\nON\r\n o.Ordered_By = cust.record_number\r\n\r\n\r\nLEFT JOIN\r\n Payment_Methods pmt\r\nON\r\n o.Payment_Method = pmt.record_number\r\n\r\nLEFT JOIN\r\n States s\r\nON\r\n o.Bill_State_or_Province = s.record_number\r\n\r\nLEFT JOIN\r\n States s2\r\nON\r\n o.Ship_State_or_Province = s2.record_number\r\n\r\nLEFT JOIN\r\n Countries c\r\nON\r\n o.Bill_Country = c.record_number\r\n\r\nLEFT JOIN\r\n Countries c2\r\nON\r\n o.Ship_Country = c2.record_number', 'ORDER BY Order_Date DESC', '', '');
INSERT INTO `Query` VALUES (15, 'Products - by Category', '', 'Products', 'SELECT \r\n c.Name AS Category\r\n ,p.record_number\r\n ,p.Name\r\n ,p.Thumbnail_Image\r\n ,p.Base_Price\r\n ,p.Image\r\n ,p.Product_Code\r\n ,p.Date_Added_to_Cart\r\nFROM\r\n `Products` p\r\n\r\nINNER JOIN\r\n REL_Products__Categories pc\r\nON\r\n p.record_number = pc.Products_rn\r\nLEFT JOIN\r\n Categories c\r\nON\r\n pc.Categories_rn = c.record_number', 'ORDER BY\r\n c.Name ASC, p.Name ASC', '', '');
INSERT INTO `Query` VALUES (16, 'Payment Gateways', 'default query for Payment Gateways table', 'Payment_Gateways', 'SELECT\r\npg.record_number\r\n,pg.Name\r\nFROM\r\nPayment_Gateways pg', 'ORDER BY pg.Enabled DESC, pg.Name ASC', '', '');
INSERT INTO `Query` VALUES (17, 'Option Choices - By Option', '', 'Choices', 'SELECT \r\n po.Name AS `Option`\r\n ,poc.record_number\r\n ,poc.Name AS Choice\r\n ,IF (poc.Default_Price_Operator = ''plus'' AND poc.Default_Price > 0, \r\n CONCAT(''+ '', poc.Default_Price),\r\n IF(\r\n poc.Default_Price = ''0.00'',\r\n poc.Default_Price, CONCAT(''- '', poc.Default_Price)\r\n )\r\n ) \r\n AS Default_Price\r\n \r\n ,IF (poc.Default_Weight_Operator = ''plus'' AND poc.Default_Weight > 0,\r\n CONCAT(''+ '', poc.Default_Weight),\r\n IF(\r\n poc.Default_Weight = ''0.00'',\r\n poc.Default_Weight, CONCAT(''- '', poc.Default_Weight)\r\n )\r\n )\r\n AS Default_Weight\r\n\r\nFROM\r\n `Choices` poc\r\n\r\nINNER JOIN\r\n REL_Options__Choices rel\r\nON\r\n poc.record_number = rel.Choices_rn\r\nLEFT JOIN\r\n Options po\r\nON\r\n rel.Options_rn = po.record_number', 'ORDER BY\r\n po.Name ASC, poc.Name ASC', '', '');
INSERT INTO `Query` VALUES (18, 'Option Choices - All', '', 'Choices', 'SELECT \r\n poc.record_number\r\n ,poc.Name AS Choice\r\n ,IF (poc.Default_Price_Operator = ''plus'', \r\n CONCAT(''+ '', poc.Default_Price),\r\n IF(\r\n poc.Default_Price = ''0.00'',\r\n poc.Default_Price, CONCAT(''- '', poc.Default_Price)\r\n )\r\n ) \r\n AS Default_Price\r\n \r\n ,IF (poc.Default_Weight_Operator = ''plus'',\r\n CONCAT(''+ '', poc.Default_Weight),\r\n IF(\r\n poc.Default_Weight = ''0.00'',\r\n poc.Default_Weight, CONCAT(''- '', poc.Default_Weight)\r\n )\r\n )\r\n AS Default_Weight\r\n\r\nFROM\r\n `Choices` poc', 'ORDER BY\r\n poc.Name ASC', '', '');
INSERT INTO `Query` VALUES (19, 'Options', '', 'Options', 'SELECT record_number, Name, Type\r\nFROM\r\nOptions', 'ORDER BY Name ASC', '', '');
INSERT INTO `Query` VALUES (20, 'DB History', '', 'DB_History', 'SELECT\r\n d.record_number\r\n ,d.Name\r\n ,d.Release_Date\r\n ,d.Import_Date\r\n ,d.Status\r\nFROM\r\n DB_History d', 'ORDER BY\r\n record_number DESC', '', '');
INSERT INTO `Query` VALUES (21, 'Shipments', '', 'Shipments', 'SELECT\r\n s.record_number\r\n ,s.Tracking_Number\r\n ,s.Weight\r\n ,s.Shipped_On\r\n ,s.Order_Number\r\n ,sm.Method\r\nFROM\r\n Shipments s\r\nLEFT JOIN\r\n Shipping_Methods sm\r\nON\r\n s.Method = sm.record_number', 'ORDER BY\r\n s.Shipped_On DESC', '', '');
INSERT INTO `Query` VALUES (22, 'Orders - by Status', 'This view shows all orders by status. It shows one record for each status assigned to an order. For an order''s most recent status, view the Current Status column in the Orders view.', 'Orders', 'SELECT os.Status\r\n , rel.Record_Date AS Date_Status_Assigned\r\n , o.record_number\r\n , o.Order_Number\r\n , o.Grand_Total\r\n , o.Order_Date\r\n , o.Bill_First_Name\r\n , o.Bill_Last_Name\r\n , o.Bill_Street\r\n , o.Bill_Postal_Code\r\n , s.Name AS Bill_State_or_Province\r\n , c.Name AS Bill_Country\r\n , o.Bill_Email_Address\r\n , pmt.Name AS Payment_Method\r\n , IF(os.Status != '''', ''y'',''n'') AS Status_Assigned\r\nFROM Orders o\r\nLEFT OUTER\r\nJOIN Payment_Methods pmt\r\n ON o.Payment_Method = pmt.record_number\r\nLEFT OUTER\r\nJOIN States s \r\n ON o.Bill_State_or_Province = s.record_number\r\nLEFT OUTER\r\nJOIN Countries c \r\n ON o.Bill_Country = c.record_number\r\nLEFT OUTER\r\nJOIN REL_Orders__Order_Status rel\r\n ON o.record_number = rel.Orders_rn\r\nLEFT OUTER\r\nJOIN Order_Status os\r\n ON rel.Order_Status_rn = os.record_number', 'ORDER\r\n BY Status_Assigned DESC\r\n , os.Status ASC\r\n , rel.Record_Date DESC', '', '');
INSERT INTO `Query` VALUES (23, 'Image Settings - Default', '', 'Image_Settings', 'SELECT * FROM Image_Settings', '', '', '');
INSERT INTO `Query` VALUES (24, 'Shipping_Couriers', '', 'Shipping_Couriers', 'SELECT record_number, Name, Enabled FROM Shipping_Couriers', 'ORDER BY Name ASC', '', '');
INSERT INTO `Query` VALUES (25, 'Navigation Block', '', 'Navigation_Block', 'SELECT record_number,Name FROM Navigation_Block', 'ORDER BY Name ASC', '', '');
-- --------------------------------------------------------
--
-- Table structure for table `REL_Categories__Categories`
--
CREATE TABLE `REL_Categories__Categories` (
`record_number` int(11) NOT NULL auto_increment,
`Categories_child_rn` int(11) NOT NULL default '0',
`Categories_parent_rn` int(11) NOT NULL default '0',
`Position` int(11) NOT NULL default '0',
PRIMARY KEY (`record_number`),
KEY `Categories_child_rn` (`Categories_child_rn`),
KEY `Categories_parent_rn` (`Categories_parent_rn`)
) TYPE=MyISAM AUTO_INCREMENT=282 ;
--
-- Dumping data for table `REL_Categories__Categories`
--
INSERT INTO `REL_Categories__Categories` VALUES (96, 175, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (261, 49, 43, 1);
INSERT INTO `REL_Categories__Categories` VALUES (105, 179, 59, 1);
INSERT INTO `REL_Categories__Categories` VALUES (223, 43, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (104, 178, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (94, 177, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (93, 176, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (61, 53, 0, 0);
INSERT INTO `REL_Categories__Categories` VALUES (281, 1, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (117, 48, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (78, 60, 51, 1);
INSERT INTO `REL_Categories__Categories` VALUES (267, 180, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (280, 44, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (123, 183, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (122, 183, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (125, 183, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (129, 183, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (221, 50, 43, 1);
INSERT INTO `REL_Categories__Categories` VALUES (131, 184, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (132, 185, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (133, 186, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (134, 186, 185, 1);
INSERT INTO `REL_Categories__Categories` VALUES (135, 185, 184, 1);
INSERT INTO `REL_Categories__Categories` VALUES (279, 197, 44, 5);
INSERT INTO `REL_Categories__Categories` VALUES (278, 187, 44, 4);
INSERT INTO `REL_Categories__Categories` VALUES (217, 190, 188, 2);
INSERT INTO `REL_Categories__Categories` VALUES (259, 189, 188, 1);
INSERT INTO `REL_Categories__Categories` VALUES (277, 181, 44, 3);
INSERT INTO `REL_Categories__Categories` VALUES (143, 191, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (144, 192, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (145, 192, 191, 1);
INSERT INTO `REL_Categories__Categories` VALUES (146, 193, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (147, 193, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (148, 193, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (149, 193, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (150, 194, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (151, 194, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (152, 194, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (153, 194, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (166, 196, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (218, 188, 0, 1);
INSERT INTO `REL_Categories__Categories` VALUES (276, 59, 44, 2);
INSERT INTO `REL_Categories__Categories` VALUES (275, 174, 44, 1);
INSERT INTO `REL_Categories__Categories` VALUES (265, 198, 0, 1);
-- --------------------------------------------------------
--
-- Table structure for table `REL_Categories__Discounts`
--
CREATE TABLE `REL_Categories__Discounts` (
`record_number` int(11) NOT NULL auto_increment,
`Categories_rn` int(11) NOT NULL default '0',
`Discounts_rn` int(11) NOT NULL default '0',
`Position` int(11) NOT NULL default '0',
PRIMARY KEY (`record_number`),
KEY `Categories_rn` (`Categories_rn`),
KEY `Discounts_rn` (`Discounts_rn`)
) TYPE=MyISAM AUTO_INCREMENT=42 ;
--
-- Dumping data for table `REL_Categories__Discounts`
--
INSERT INTO `REL_Categories__Discounts` VALUES (41, 59, 43, 0);
INSERT INTO `REL_Categories__Discounts` VALUES (40, 44, 43, 0);
INSERT INTO `REL_Categories__Discounts` VALUES (39, 197, 43, 0);
INSERT INTO `REL_Categories__Discounts` VALUES (38, 50, 43, 0);
INSERT INTO `REL_Categories__Discounts` VALUES (37, 190, 43, 0);
INSERT INTO `REL_Categories__Discounts` VALUES (36, 43, 43, 0);
INSERT INTO `REL_Categories__Discounts` VALUES (35, 174, 43, 0);
INSERT INTO `REL_Categories__Discounts` VALUES (34, 187, 43, 0);
INSERT INTO `REL_Categories__Discounts` VALUES (33, 181, 43, 0);
INSERT INTO `REL_Categories__Discounts` VALUES (32, 189, 43, 0);
INSERT INTO `REL_Categories__Discounts` VALUES (31, 188, 43, 0);
INSERT INTO `REL_Categories__Discounts` VALUES (30, 49, 43, 0);
INSERT INTO `REL_Categories__Discounts` VALUES (29, 180, 43, 0);
-- --------------------------------------------------------
--
-- Table structure for table `REL_Categories__Options`
--
CREATE TABLE `REL_Categories__Options` (
`record_number` int(11) unsigned NOT NULL auto_increment,
`Categories_rn` int(11) unsigned NOT NULL default '0',
`Options_rn` int(11) unsigned NOT NULL default '0',
`Position` tinyint(3) unsigned NOT NULL default '0',
`Custom_Choices` tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (`record_number`),
KEY `Categories_rn` (`Categories_rn`),
KEY `Options_rn` (`Options_rn`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
--
-- Dumping data for table `REL_Categories__Options`
--
-- --------------------------------------------------------
--
-- Table structure for table `REL_Customers__Groups`
--
CREATE TABLE `REL_Customers__Groups` (
`record_number` int(11) NOT NULL auto_increment,
`Customers_rn` int(11) NOT NULL default '0',
`Groups_rn` int(11) NOT NULL default '0',
`Position` int(11) NOT NULL default '0',
PRIMARY KEY (`record_number`),
KEY `Customers_rn` (`Customers_rn`),
KEY `Groups_rn` (`Groups_rn`)
) TYPE=MyISAM AUTO_INCREMENT=95 ;
--
-- Dumping data for table `REL_Customers__Groups`
--
INSERT INTO `REL_Customers__Groups` VALUES (94, 32, 1, 1);
-- --------------------------------------------------------
--
-- Table structure for table `REL_Field_Set__Forms`
--
CREATE TABLE `REL_Field_Set__Forms` (
`record_number` int(11) NOT NULL auto_increment,
`Field_Set_rn` int(11) NOT NULL default '0',
`Forms_rn` int(11) NOT NULL default '0',
`Position` tinyint(2) NOT NULL default '0',
PRIMARY KEY (`record_number`),
KEY `Field_Set_rn` (`Field_Set_rn`),
KEY `Forms_rn` (`Forms_rn`)
) TYPE=MyISAM AUTO_INCREMENT=369 ;
--
-- Dumping data for table `REL_Field_Set__Forms`
--
INSERT INTO `REL_Field_Set__Forms` VALUES (325, 93, 21, 3);
INSERT INTO `REL_Field_Set__Forms` VALUES (349, 109, 27, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (348, 9, 1, 9);
INSERT INTO `REL_Field_Set__Forms` VALUES (347, 60, 1, 8);
INSERT INTO `REL_Field_Set__Forms` VALUES (346, 8, 1, 7);
INSERT INTO `REL_Field_Set__Forms` VALUES (345, 7, 1, 6);
INSERT INTO `REL_Field_Set__Forms` VALUES (344, 5, 1, 5);
INSERT INTO `REL_Field_Set__Forms` VALUES (343, 4, 1, 4);
INSERT INTO `REL_Field_Set__Forms` VALUES (342, 3, 1, 3);
INSERT INTO `REL_Field_Set__Forms` VALUES (341, 2, 1, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (257, 21, 2, 10);
INSERT INTO `REL_Field_Set__Forms` VALUES (256, 17, 2, 9);
INSERT INTO `REL_Field_Set__Forms` VALUES (255, 16, 2, 8);
INSERT INTO `REL_Field_Set__Forms` VALUES (254, 64, 2, 7);
INSERT INTO `REL_Field_Set__Forms` VALUES (253, 14, 2, 6);
INSERT INTO `REL_Field_Set__Forms` VALUES (252, 12, 2, 5);
INSERT INTO `REL_Field_Set__Forms` VALUES (251, 11, 2, 4);
INSERT INTO `REL_Field_Set__Forms` VALUES (250, 13, 2, 3);
INSERT INTO `REL_Field_Set__Forms` VALUES (249, 71, 2, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (20, 26, 4, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (65, 27, 3, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (336, 36, 5, 8);
INSERT INTO `REL_Field_Set__Forms` VALUES (335, 33, 5, 7);
INSERT INTO `REL_Field_Set__Forms` VALUES (334, 106, 5, 6);
INSERT INTO `REL_Field_Set__Forms` VALUES (333, 37, 5, 5);
INSERT INTO `REL_Field_Set__Forms` VALUES (332, 29, 5, 4);
INSERT INTO `REL_Field_Set__Forms` VALUES (331, 35, 5, 3);
INSERT INTO `REL_Field_Set__Forms` VALUES (330, 72, 5, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (86, 38, 6, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (87, 39, 6, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (88, 40, 6, 3);
INSERT INTO `REL_Field_Set__Forms` VALUES (327, 41, 7, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (364, 43, 8, 3);
INSERT INTO `REL_Field_Set__Forms` VALUES (363, 42, 8, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (230, 52, 9, 9);
INSERT INTO `REL_Field_Set__Forms` VALUES (229, 50, 9, 8);
INSERT INTO `REL_Field_Set__Forms` VALUES (228, 49, 9, 7);
INSERT INTO `REL_Field_Set__Forms` VALUES (227, 48, 9, 6);
INSERT INTO `REL_Field_Set__Forms` VALUES (226, 47, 9, 5);
INSERT INTO `REL_Field_Set__Forms` VALUES (225, 46, 9, 4);
INSERT INTO `REL_Field_Set__Forms` VALUES (224, 45, 9, 3);
INSERT INTO `REL_Field_Set__Forms` VALUES (223, 77, 9, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (222, 44, 9, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (317, 94, 10, 5);
INSERT INTO `REL_Field_Set__Forms` VALUES (316, 56, 10, 4);
INSERT INTO `REL_Field_Set__Forms` VALUES (315, 54, 10, 3);
INSERT INTO `REL_Field_Set__Forms` VALUES (314, 99, 10, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (313, 53, 10, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (159, 58, 11, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (160, 59, 11, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (340, 1, 1, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (183, 61, 12, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (184, 62, 12, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (194, 65, 13, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (198, 69, 15, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (196, 67, 14, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (199, 70, 15, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (248, 22, 2, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (329, 28, 5, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (218, 73, 16, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (219, 74, 16, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (220, 75, 17, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (221, 76, 17, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (231, 51, 9, 10);
INSERT INTO `REL_Field_Set__Forms` VALUES (287, 79, 18, 6);
INSERT INTO `REL_Field_Set__Forms` VALUES (286, 80, 18, 5);
INSERT INTO `REL_Field_Set__Forms` VALUES (285, 81, 18, 4);
INSERT INTO `REL_Field_Set__Forms` VALUES (284, 87, 18, 3);
INSERT INTO `REL_Field_Set__Forms` VALUES (246, 84, 19, 3);
INSERT INTO `REL_Field_Set__Forms` VALUES (245, 82, 19, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (244, 83, 19, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (247, 85, 19, 4);
INSERT INTO `REL_Field_Set__Forms` VALUES (283, 88, 18, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (282, 78, 18, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (288, 91, 20, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (324, 104, 21, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (323, 92, 21, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (311, 96, 22, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (312, 97, 22, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (318, 57, 10, 6);
INSERT INTO `REL_Field_Set__Forms` VALUES (367, 100, 23, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (366, 118, 23, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (321, 102, 24, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (322, 103, 24, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (326, 6, 21, 4);
INSERT INTO `REL_Field_Set__Forms` VALUES (328, 105, 7, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (337, 34, 5, 9);
INSERT INTO `REL_Field_Set__Forms` VALUES (338, 107, 25, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (339, 108, 26, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (351, 110, 28, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (352, 111, 28, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (357, 113, 29, 2);
INSERT INTO `REL_Field_Set__Forms` VALUES (356, 112, 29, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (358, 114, 30, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (362, 117, 8, 1);
INSERT INTO `REL_Field_Set__Forms` VALUES (365, 116, 8, 4);
INSERT INTO `REL_Field_Set__Forms` VALUES (368, 101, 23, 3);
-- --------------------------------------------------------
--
-- Table structure for table `REL_Field__Field_Set`
--
CREATE TABLE `REL_Field__Field_Set` (
`record_number` int(11) NOT NULL auto_increment,
`Table_Name` varchar(40) NOT NULL default '',
`Field_Set_rn` int(11) NOT NULL default '0',
`Field_Name` varchar(40) NOT NULL default '',
`Position` tinyint(2) unsigned NOT NULL default '0',
PRIMARY KEY (`record_number`),
KEY `Table_Name` (`Table_Name`),
KEY `Field_Set_rn` (`Field_Set_rn`)
) TYPE=MyISAM AUTO_INCREMENT=2356 ;
--
-- Dumping data for table `REL_Field__Field_Set`
--
INSERT INTO `REL_Field__Field_Set` VALUES (2, 'Store_Information', 1, 'Company_Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (3, 'Store_Information', 1, 'Street', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (4, 'Store_Information', 1, 'Street_2', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (5, 'Store_Information', 1, 'City', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (6, 'Store_Information', 1, 'State_or_Province', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (7, 'Store_Information', 1, 'Postal_Code', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (8, 'Store_Information', 1, 'Country', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (9, 'Store_Information', 1, 'Phone_Number', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (10, 'Store_Information', 1, 'URL', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (11, 'Store_Information', 1, 'Customer_Service_Email', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (1399, 'Store_Information', 2, 'HTML_Email_Merchant', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1398, 'Store_Information', 2, 'Email_Order_To_Merchant', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1397, 'Store_Information', 2, 'HTML_Email_Customer', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1453, 'Store_Information', 3, 'Referrer_Cookie_Expiration', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (1452, 'Store_Information', 3, 'Session_Timeout', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (1451, 'Store_Information', 3, 'Forgotten_Password_Limit', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1450, 'Store_Information', 3, 'Min_Password_Length', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1449, 'Store_Information', 3, 'Min_Username_Length', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1448, 'Store_Information', 3, 'Restricted_Usernames', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1447, 'Store_Information', 3, 'Authorized_Hosts', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (28, 'Store_Information', 4, 'Use_Inventory_Control', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (29, 'Store_Information', 4, 'Out_of_Stock_Behavior', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (30, 'Store_Information', 4, 'Out_of_Stock_Indicator', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (31, 'Store_Information', 6, 'Missing_Image', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (32, 'Store_Information', 6, 'Missing_Thumbnail_Image', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (948, 'REL_Products__Categories', 11, 'Categories_rn', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1974, 'Products', 22, 'Brief_Description', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (1973, 'Products', 22, 'Keywords', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (1972, 'Products', 22, 'VAT_Rate', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (1971, 'Products', 22, 'Tax_Item', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (1970, 'Products', 22, 'Show_Base_Price', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (1969, 'Products', 22, 'Not_For_Sale', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (192, 'Products', 13, 'Thumbnail_Image', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (191, 'Products', 13, 'Image', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (190, 'Products', 13, 'Large_Image', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (52, 'Products', 14, 'Weight', 0);
INSERT INTO `REL_Field__Field_Set` VALUES (53, 'Products', 14, 'Height', 0);
INSERT INTO `REL_Field__Field_Set` VALUES (54, 'Products', 14, 'Width', 0);
INSERT INTO `REL_Field__Field_Set` VALUES (55, 'Products', 14, 'Depth', 0);
INSERT INTO `REL_Field__Field_Set` VALUES (746, 'Products', 15, 'Date_Added_to_Cart', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (744, 'Products', 15, 'Product_Code', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (60, 'REL_Products__Discounts', 16, 'Discounts_rn', 0);
INSERT INTO `REL_Field__Field_Set` VALUES (61, 'REL_Products__Sales_Agreement', 21, 'Sales_Agreement_rn', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (62, 'Forms', 26, 'Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (63, 'Forms', 26, 'Purpose', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (64, 'Forms', 26, 'Header', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (65, 'Forms', 26, 'Footer', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (66, 'REL_Field_Set__Forms', 26, 'Field_Set_rn', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (2184, 'Products', 23, 'Package_Height', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (2183, 'Products', 23, 'Package_Weight', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (2182, 'Products', 23, 'Ship_Separately', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (72, 'Products', 24, 'Ship_Using', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (73, 'Products', 24, 'Ship_From', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (74, 'Products', 24, 'Ship_Service', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (75, 'Products', 24, 'Postage_Is', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (76, 'Products', 24, 'Postage', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (78, 'Products', 25, 'Qlfy_Media_Mail', 0);
INSERT INTO `REL_Field__Field_Set` VALUES (79, 'Products', 25, 'Qlfy_BPM', 0);
INSERT INTO `REL_Field__Field_Set` VALUES (1245, 'Store_Information', 93, 'Step_5_Text', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (1244, 'Store_Information', 93, 'Step_5_Label', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (1243, 'Store_Information', 93, 'Step_4_Text', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (1242, 'Store_Information', 93, 'Step_4_Label', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (1241, 'Store_Information', 93, 'Step_3_Text', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (616, 'Field_Set', 27, 'Track_Relationships', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (615, 'Field_Set', 27, 'Footer', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (614, 'Field_Set', 27, 'Header', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (613, 'Field_Set', 27, 'Legend_Style', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (612, 'Field_Set', 27, 'Legend_Class', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (611, 'Field_Set', 27, 'Field_Set_Style', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (123, 'Store_Information', 7, 'Home_Page_Title', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (124, 'Store_Information', 7, 'Category_Page_Title', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (125, 'Store_Information', 7, 'Product_Page_Title', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (126, 'Store_Information', 7, 'Meta_Keywords', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (127, 'Store_Information', 7, 'Meta_Description', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (128, 'Store_Information', 8, 'Disable_Coupon_Codes', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (129, 'Store_Information', 8, 'Coupon_Code_Case', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (130, 'Store_Information', 8, 'Discount_Checkout_Display', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (870, 'Store_Information', 9, 'Load_HTML_Tidy', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (869, 'Store_Information', 9, 'Load_XML', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (868, 'Store_Information', 9, 'Load_Mcrypt', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1976, 'Products', 22, 'Page_Title', 13);
INSERT INTO `REL_Field__Field_Set` VALUES (1975, 'Products', 22, 'Page_Title_Choice', 12);
INSERT INTO `REL_Field__Field_Set` VALUES (2199, 'Store_Information', 60, 'Rich_Text_Cleanup', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (1707, 'Categories', 28, 'Meta_Keywords', 13);
INSERT INTO `REL_Field__Field_Set` VALUES (1706, 'Categories', 28, 'Page_Title', 12);
INSERT INTO `REL_Field__Field_Set` VALUES (1705, 'Categories', 28, 'Page_Title_Choice', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (1704, 'Categories', 28, 'Brief_Description', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (1703, 'Categories', 28, 'Position', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (1702, 'Categories', 28, 'VAT_Rate', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (152, 'Categories', 30, 'Show_Category_Detail', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (153, 'Categories', 30, 'Order_Products_By', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (154, 'Categories', 30, 'Order_Products_How', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (155, 'Categories', 30, 'Show_Products_When', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (208, 'Categories', 31, 'View_Products_per_View', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (207, 'Categories', 31, 'View_Products_per_Row', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (206, 'Categories', 31, 'View_Display_Mode', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (205, 'Categories', 31, 'View_Show_Products_As', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (161, 'Categories', 32, 'Show_Products_As', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (162, 'Categories', 32, 'Products_per_Row', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (163, 'Categories', 32, 'Products_per_Page', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (189, 'Categories', 35, 'Thumbnail_Image', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (188, 'Categories', 35, 'Image', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (187, 'Categories', 35, 'Image_of_Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (168, 'REL_Categories__Discounts', 36, 'Discounts_rn', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (169, 'REL_Categories__Categories', 34, 'Categories_parent_rn', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (171, 'REL_Products__Categories', 37, 'Products_rn', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1701, 'Categories', 28, 'Tax_Items', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (193, 'Products', 13, 'Featured_Image', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (610, 'Field_Set', 27, 'Field_Set_Class', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (609, 'Field_Set', 27, 'Legend', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (608, 'Field_Set', 27, 'Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (209, 'Categories', 31, 'View_Randomize_Products', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (2177, 'Shipping_Couriers', 38, 'RTR_Username', 24);
INSERT INTO `REL_Field__Field_Set` VALUES (2178, 'Shipping_Couriers', 38, 'RTR_Password', 25);
INSERT INTO `REL_Field__Field_Set` VALUES (2179, 'Shipping_Couriers', 38, 'RTR_URL', 26);
INSERT INTO `REL_Field__Field_Set` VALUES (2175, 'Shipping_Couriers', 38, 'FedEx_Business_Signature', 22);
INSERT INTO `REL_Field__Field_Set` VALUES (2176, 'Shipping_Couriers', 38, 'FedEx_Currency_Code', 23);
INSERT INTO `REL_Field__Field_Set` VALUES (225, 'Shipping_Couriers', 39, 'Services', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (2095, 'Shipping_Couriers', 40, 'Logo_Image_Small', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1672, 'Warehouses', 41, 'State_or_Province', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (1671, 'Warehouses', 41, 'City', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1670, 'Warehouses', 41, 'Street_2', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1669, 'Warehouses', 41, 'Street', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1668, 'Warehouses', 41, 'Name', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1667, 'Warehouses', 41, 'record_number', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (2350, 'Payment_Methods', 42, 'Module_Name', 15);
INSERT INTO `REL_Field__Field_Set` VALUES (2347, 'Payment_Methods', 42, 'IPN', 12);
INSERT INTO `REL_Field__Field_Set` VALUES (683, 'Payment_Methods', 43, 'Image', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (851, 'Discounts', 44, 'Order_Discount_Is', 17);
INSERT INTO `REL_Field__Field_Set` VALUES (850, 'Discounts', 44, 'Order_Discount', 16);
INSERT INTO `REL_Field__Field_Set` VALUES (849, 'Discounts', 44, 'Limit_Use_Per', 15);
INSERT INTO `REL_Field__Field_Set` VALUES (848, 'Discounts', 44, 'Limit_Use_To', 14);
INSERT INTO `REL_Field__Field_Set` VALUES (847, 'Discounts', 44, 'Limit_Use', 13);
INSERT INTO `REL_Field__Field_Set` VALUES (846, 'Discounts', 44, 'Enforce_Y', 12);
INSERT INTO `REL_Field__Field_Set` VALUES (845, 'Discounts', 44, 'Get_Y', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (844, 'Discounts', 44, 'Buy_X', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (843, 'Discounts', 44, 'Buy_X_Get_Y', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (842, 'Discounts', 44, 'Display_Products_With', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (841, 'Discounts', 44, 'Price_Label', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (840, 'Discounts', 44, 'Categories', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (839, 'Discounts', 44, 'Products', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (838, 'Discounts', 44, 'Discount_What', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (278, 'Discounts', 45, 'Image', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (537, 'Discounts', 46, 'Operator_1', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (538, 'Discounts', 46, 'Start_Value_1', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (539, 'Discounts', 46, 'End_Value_1', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (540, 'Discounts', 46, 'Start_Date_1', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (541, 'Discounts', 46, 'End_Date_1', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (542, 'Discounts', 46, 'Group_1', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (543, 'Discounts', 46, 'Country_1', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (482, 'Discounts', 47, 'Category_Condition_2', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (481, 'Discounts', 47, 'Product_Condition_2', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (480, 'Discounts', 47, 'Country_2', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (479, 'Discounts', 47, 'Group_2', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (478, 'Discounts', 47, 'End_Date_2', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (477, 'Discounts', 47, 'Start_Date_2', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (476, 'Discounts', 47, 'End_Value_2', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (475, 'Discounts', 47, 'Start_Value_2', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (474, 'Discounts', 47, 'Operator_2', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (493, 'Discounts', 48, 'Category_Condition_3', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (492, 'Discounts', 48, 'Product_Condition_3', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (491, 'Discounts', 48, 'Country_3', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (490, 'Discounts', 48, 'Group_3', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (489, 'Discounts', 48, 'End_Date_3', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (488, 'Discounts', 48, 'Start_Date_3', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (487, 'Discounts', 48, 'End_Value_3', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (486, 'Discounts', 48, 'Start_Value_3', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (485, 'Discounts', 48, 'Operator_3', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (504, 'Discounts', 49, 'Category_Condition_4', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (503, 'Discounts', 49, 'Product_Condition_4', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (502, 'Discounts', 49, 'Country_4', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (501, 'Discounts', 49, 'Group_4', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (500, 'Discounts', 49, 'End_Date_4', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (499, 'Discounts', 49, 'Start_Date_4', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (498, 'Discounts', 49, 'End_Value_4', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (497, 'Discounts', 49, 'Start_Value_4', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (496, 'Discounts', 49, 'Operator_4', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (515, 'Discounts', 50, 'Category_Condition_5', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (514, 'Discounts', 50, 'Product_Condition_5', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (513, 'Discounts', 50, 'Country_5', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (512, 'Discounts', 50, 'Group_5', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (511, 'Discounts', 50, 'End_Date_5', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (510, 'Discounts', 50, 'Start_Date_5', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (509, 'Discounts', 50, 'End_Value_5', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (508, 'Discounts', 50, 'Start_Value_5', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (523, 'Discounts', 51, 'Condition_Formula_Simple', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (522, 'Discounts', 51, 'Show_Which_Condition_Formula', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (521, 'Discounts', 51, 'Show_Condition_5', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (520, 'Discounts', 51, 'Show_Condition_4', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (519, 'Discounts', 51, 'Show_Condition_3', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (518, 'Discounts', 51, 'Show_Condition_2', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (837, 'Discounts', 44, 'Advertise_Conditions', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (836, 'Discounts', 44, 'Advertise', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (835, 'Discounts', 44, 'Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (507, 'Discounts', 50, 'Operator_5', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (506, 'Discounts', 50, 'Offer_When_5', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (495, 'Discounts', 49, 'Offer_When_4', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (484, 'Discounts', 48, 'Offer_When_3', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (473, 'Discounts', 47, 'Offer_When_2', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (546, 'Discounts', 46, 'State_1', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (545, 'Discounts', 46, 'Category_Condition_1', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (524, 'Discounts', 51, 'Condition_Formula_Advanced', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (517, 'Discounts', 51, 'Show_Condition_1', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (544, 'Discounts', 46, 'Product_Condition_1', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (483, 'Discounts', 47, 'State_2', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (494, 'Discounts', 48, 'State_3', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (505, 'Discounts', 49, 'State_4', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (516, 'Discounts', 50, 'State_5', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (536, 'Discounts', 46, 'Offer_When_1', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1768, 'Orders', 54, 'Ship_Street_2', 20);
INSERT INTO `REL_Field__Field_Set` VALUES (1767, 'Orders', 54, 'Ship_Street', 19);
INSERT INTO `REL_Field__Field_Set` VALUES (1766, 'Orders', 54, 'Ship_VAT_Registration', 18);
INSERT INTO `REL_Field__Field_Set` VALUES (1765, 'Orders', 54, 'Ship_Company', 17);
INSERT INTO `REL_Field__Field_Set` VALUES (1764, 'Orders', 54, 'Ship_Last_Name', 16);
INSERT INTO `REL_Field__Field_Set` VALUES (1763, 'Orders', 54, 'Ship_First_Name', 15);
INSERT INTO `REL_Field__Field_Set` VALUES (1762, 'Orders', 54, 'Bill_Fax', 14);
INSERT INTO `REL_Field__Field_Set` VALUES (1761, 'Orders', 54, 'Bill_Phone', 13);
INSERT INTO `REL_Field__Field_Set` VALUES (1760, 'Orders', 54, 'Bill_Email_Preference', 12);
INSERT INTO `REL_Field__Field_Set` VALUES (1759, 'Orders', 54, 'Bill_Email_Address', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (1758, 'Orders', 54, 'Bill_Country', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (1757, 'Orders', 54, 'Bill_Postal_Code', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (1756, 'Orders', 54, 'Bill_State_Other', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (1755, 'Orders', 54, 'Bill_State_or_Province', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (1401, 'Store_Information', 2, 'HTML_Email_Ship_Notification', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (584, 'Orders', 56, 'IP_Address', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (585, 'Orders', 56, 'User_Agent', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (586, 'Orders', 56, 'Host_Name', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (587, 'Orders', 56, 'Referring_URL', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1588, 'Customers', 58, 'Email_Preference', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (1587, 'Customers', 58, 'Email_Address', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (1586, 'Customers', 58, 'Country', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (1585, 'Customers', 58, 'Postal_Code', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (1584, 'Customers', 58, 'State_or_Province', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (1583, 'Customers', 58, 'City', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (1582, 'Customers', 58, 'Street_2', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1581, 'Customers', 58, 'Street', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1580, 'Customers', 58, 'Company', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1579, 'Customers', 58, 'Last_Name', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1578, 'Customers', 58, 'First_Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (604, 'REL_Customers__Groups', 59, 'Groups_rn', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (631, 'REL_Orders__Order_Status', 57, 'Record_Date', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (617, 'Field_Set', 27, 'Show_When', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (618, 'Field_Set', 27, 'Parent_Field_Set', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (619, 'REL_Field__Field_Set', 27, 'Field_Name', 12);
INSERT INTO `REL_Field__Field_Set` VALUES (630, 'REL_Orders__Order_Status', 57, 'Order_Status_rn', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (2198, 'Store_Information', 60, 'Rich_Text_Word_Wrap', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (867, 'Store_Information', 9, 'Load_GD', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (2196, 'Store_Information', 60, 'Images_in_Data_Rows', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1240, 'Store_Information', 93, 'Step_3_Label', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1239, 'Store_Information', 93, 'Step_2_Text', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1237, 'Store_Information', 93, 'Step_1_Text', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1238, 'Store_Information', 93, 'Step_2_Label', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (2197, 'Store_Information', 60, 'Save_Action', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (2195, 'Store_Information', 60, 'Records_per_Page', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (684, 'Payment_Methods', 43, 'Large_Image', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (2209, 'Store_Information', 5, 'Checkout_Login_Behavior', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (722, 'Images', 61, 'Alt', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (721, 'Images', 61, 'Description', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (720, 'Images', 61, 'Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (719, 'Images', 62, 'Image', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (723, 'Images', 61, 'Class', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (742, 'REL_Products__Warehouses', 63, 'Warehouses_rn', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (743, 'REL_Products__Warehouses', 63, 'Stock', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (745, 'Products', 15, 'SKU', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1046, 'Table_Definition', 65, 'Delete_Inhibit_Records', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (1045, 'Table_Definition', 65, 'Read_Only', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (1044, 'Table_Definition', 65, 'No_New_Records', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (1043, 'Table_Definition', 65, 'Footer', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (1042, 'Table_Definition', 65, 'Header', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (1041, 'Table_Definition', 65, 'Record_Fields', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1040, 'Table_Definition', 65, 'Table_Fields', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1039, 'Table_Definition', 65, 'Plural_Record_Name', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1038, 'Table_Definition', 65, 'Single_Record_Name', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1037, 'Table_Definition', 65, 'Table_Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (785, 'Cart_Images', 69, 'Alt', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1880, 'Query', 67, 'WHERE', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (1879, 'Query', 67, 'GROUP', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1878, 'Query', 67, 'SELECT', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1877, 'Query', 67, 'Primary_Table', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1876, 'Query', 67, 'Description', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1875, 'Query', 67, 'Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (784, 'Cart_Images', 69, 'Description', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (783, 'Cart_Images', 69, 'Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (787, 'Cart_Images', 70, 'Image', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (786, 'Cart_Images', 69, 'Class', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (807, 'Products', 71, 'Description', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1968, 'Products', 22, 'Handling_Fee', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1967, 'Products', 22, 'MSRP', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (808, 'Categories', 72, 'Description', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1700, 'Categories', 28, 'Display_In_Content', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (1699, 'Categories', 28, 'Display_In_Navigation', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1698, 'Categories', 28, 'Do_not_display', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (823, 'Order_Status', 73, 'Status', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (824, 'Order_Status', 74, 'Description', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (832, 'Sales_Agreement', 75, 'Width', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (831, 'Sales_Agreement', 75, 'Display_Name', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (830, 'Sales_Agreement', 75, 'Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (829, 'Sales_Agreement', 76, 'Agreement', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (833, 'Sales_Agreement', 75, 'Height', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (834, 'Discounts', 77, 'Description', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (852, 'Discounts', 44, 'Price_Is', 18);
INSERT INTO `REL_Field__Field_Set` VALUES (853, 'Discounts', 44, 'Exact_Price', 19);
INSERT INTO `REL_Field__Field_Set` VALUES (854, 'Discounts', 44, 'Reduced_Price', 20);
INSERT INTO `REL_Field__Field_Set` VALUES (855, 'Discounts', 44, 'Reduced_Price_Is', 21);
INSERT INTO `REL_Field__Field_Set` VALUES (866, 'Store_Information', 9, 'Load_CURL', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (937, 'Options', 87, 'Default_Weight_Operator', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (997, 'Options', 80, 'Description', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (894, 'REL_Options__Choices', 81, 'Choices_rn', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (885, 'Choices', 82, 'Description', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (932, 'Choices', 83, 'Default_Weight', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (931, 'Choices', 83, 'Default_Price_Operator', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (930, 'Choices', 83, 'Default_Price', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (929, 'Choices', 83, 'Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1007, 'Choices', 84, 'Image', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (893, 'REL_Options__Choices', 85, 'Options_rn', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (983, 'Options', 78, 'Required', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (982, 'Options', 78, 'Use_Inventory_Control', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (981, 'Options', 78, 'Height', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (980, 'Options', 78, 'Width', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (936, 'Options', 87, 'Default_Weight', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (935, 'Options', 87, 'Default_Price_Operator', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (934, 'Options', 87, 'Default_Price', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (933, 'Choices', 83, 'Default_Weight_Operator', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (2351, 'Payment_Methods', 42, 'Echecks_Payable_To', 16);
INSERT INTO `REL_Field__Field_Set` VALUES (2001, 'Orders', 53, 'Grand_Total', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (979, 'Options', 78, 'Break_After_Choice', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1029, 'Options', 88, 'Detail_Page_Content', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (978, 'Options', 78, 'Add_Blank_Choice', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (977, 'Options', 78, 'Type', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (976, 'Options', 78, 'Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1028, 'Options', 88, 'Detail_Link_Placement', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (984, 'Options', 78, 'Instruction', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (985, 'Options', 78, 'Show_Detail_Page', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (1027, 'Options', 88, 'Custom_Link_Text', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1026, 'Options', 88, 'Detail_Links', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1025, 'Options', 88, 'Detail_Page_Height', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1004, 'Options', 79, 'Image_of_Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1005, 'Options', 79, 'Image', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1006, 'Options', 79, 'Large_Image', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1008, 'Choices', 84, 'Large_Image', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1024, 'Options', 88, 'Detail_Page_Width', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1023, 'Options', 88, 'Detail_Page_Size', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1030, 'Options', 88, 'Detail_Page_URL', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (1031, 'Options', 88, 'Choices_Per_Row', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (1032, 'DB_History', 91, 'Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1033, 'DB_History', 91, 'Description', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1034, 'DB_History', 91, 'Release_Date', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1035, 'DB_History', 91, 'Import_Date', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1036, 'DB_History', 91, 'Status', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1047, 'Table_Definition', 65, 'Sort_By', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (1048, 'Table_Definition', 65, 'Sort_How', 12);
INSERT INTO `REL_Field__Field_Set` VALUES (1049, 'Table_Definition', 65, 'Default_Form', 13);
INSERT INTO `REL_Field__Field_Set` VALUES (1050, 'Table_Definition', 65, 'Default_Query', 14);
INSERT INTO `REL_Field__Field_Set` VALUES (1236, 'Store_Information', 93, 'Step_1_Label', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1396, 'Store_Information', 2, 'Email_Order_To_Customer', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1395, 'Store_Information', 2, 'Email_Orders_To', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (2231, 'Store_Information', 92, 'Missing_Field_Indicator_Choice', 19);
INSERT INTO `REL_Field__Field_Set` VALUES (2230, 'Store_Information', 92, 'Required_Field_Indicator', 18);
INSERT INTO `REL_Field__Field_Set` VALUES (2229, 'Store_Information', 92, 'Required_Field_Indicator_Choice', 17);
INSERT INTO `REL_Field__Field_Set` VALUES (2228, 'Store_Information', 92, 'New_Products_per_Row', 16);
INSERT INTO `REL_Field__Field_Set` VALUES (2227, 'Store_Information', 92, 'New_Products_per_Preview', 15);
INSERT INTO `REL_Field__Field_Set` VALUES (2226, 'Store_Information', 92, 'New', 14);
INSERT INTO `REL_Field__Field_Set` VALUES (2225, 'Store_Information', 92, 'Expand_Categories', 13);
INSERT INTO `REL_Field__Field_Set` VALUES (2224, 'Store_Information', 92, 'Previews_per_Page', 12);
INSERT INTO `REL_Field__Field_Set` VALUES (2223, 'Store_Information', 92, 'Subcategories_per_Row', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (2222, 'Store_Information', 92, 'Products_per_Row', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (2221, 'Store_Information', 92, 'Products_per_Page', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (2220, 'Store_Information', 92, 'Order_Products_How', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (2219, 'Store_Information', 92, 'Order_Products_By', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (1394, 'Orders', 98, 'Packing_Details', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1400, 'Store_Information', 2, 'Email_Ship_Notification', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (1393, 'Orders', 98, 'Shipping_Details', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (2094, 'Shipping_Couriers', 40, 'Logo_Image', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (2174, 'Shipping_Couriers', 38, 'FedEx_Residence_Signature', 21);
INSERT INTO `REL_Field__Field_Set` VALUES (2173, 'Shipping_Couriers', 38, 'FedEx_DocTabLocation', 20);
INSERT INTO `REL_Field__Field_Set` VALUES (2172, 'Shipping_Couriers', 38, 'FedEx_LabelStockOrientation', 19);
INSERT INTO `REL_Field__Field_Set` VALUES (2171, 'Shipping_Couriers', 38, 'FedEx_Label_Resolution_Other', 18);
INSERT INTO `REL_Field__Field_Set` VALUES (2170, 'Shipping_Couriers', 38, 'FedEx_Label_Resolution', 17);
INSERT INTO `REL_Field__Field_Set` VALUES (2169, 'Shipping_Couriers', 38, 'FedEx_Label_ImageType', 16);
INSERT INTO `REL_Field__Field_Set` VALUES (1897, 'Shipments', 96, 'Cost', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1896, 'Shipments', 96, 'Weight', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1895, 'Shipments', 96, 'Tracking_Number', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1894, 'Shipments', 96, 'Method', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1390, 'Shipments', 97, 'Label', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1402, 'Store_Information', 2, 'Email_Credit_Card_Number', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (1403, 'Store_Information', 2, 'Transpose_Number', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (2168, 'Shipping_Couriers', 38, 'FedEx_Meter_Number', 15);
INSERT INTO `REL_Field__Field_Set` VALUES (2208, 'Store_Information', 5, 'Add_to_Cart_Behavior', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (2207, 'Store_Information', 5, 'Maximum_Quantity', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (2206, 'Store_Information', 5, 'Minimum_Order_Amount', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (1454, 'Store_Information', 3, 'Remember_Me', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (1455, 'Store_Information', 3, 'Remember_Me_Expiration', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (1456, 'Store_Information', 3, 'Remember_Me_Default', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (1457, 'Store_Information', 3, 'Collect_CVV2', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (1458, 'Store_Information', 3, 'CVV2_Required', 12);
INSERT INTO `REL_Field__Field_Set` VALUES (2349, 'Payment_Methods', 42, 'Currency_Code', 14);
INSERT INTO `REL_Field__Field_Set` VALUES (2348, 'Payment_Methods', 42, 'Test_IPN', 13);
INSERT INTO `REL_Field__Field_Set` VALUES (2346, 'Payment_Methods', 42, 'PDT_Identity_Token', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (2345, 'Payment_Methods', 42, 'PDT', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (2344, 'Payment_Methods', 42, 'Auto_Return', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (2000, 'Orders', 53, 'Handling_Total', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (1999, 'Orders', 53, 'Shipping_Total', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (1998, 'Orders', 53, 'Savings_Total', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (1997, 'Orders', 53, 'Tax_Total', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (1996, 'Orders', 53, 'VAT_Total', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (1995, 'Orders', 53, 'State_Tax_Total', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1513, 'Orders', 99, 'PayPal_Payment_Type', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1514, 'Orders', 99, 'PayPal_Address_Status', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1515, 'Orders', 99, 'PayPal_Payer_Status', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1516, 'Orders', 99, 'PayPal_Pending_Reason', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1517, 'Orders', 99, 'PayPal_Reason_Code', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1518, 'Orders', 99, 'PayPal_IPN_Log', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (2083, 'Payment_Gateways', 101, 'Show_Start_Date', 15);
INSERT INTO `REL_Field__Field_Set` VALUES (2082, 'Payment_Gateways', 101, 'Show_Test_Mode_Client_Non', 14);
INSERT INTO `REL_Field__Field_Set` VALUES (2081, 'Payment_Gateways', 101, 'Show_Test_Mode_Client_Sec', 13);
INSERT INTO `REL_Field__Field_Set` VALUES (2080, 'Payment_Gateways', 101, 'Show_Test_Mode_Server', 12);
INSERT INTO `REL_Field__Field_Set` VALUES (2333, 'Payment_Gateways', 100, 'PayPal_IPN', 15);
INSERT INTO `REL_Field__Field_Set` VALUES (2332, 'Payment_Gateways', 100, 'PayPal_Mode', 14);
INSERT INTO `REL_Field__Field_Set` VALUES (2330, 'Payment_Gateways', 100, 'Enabled', 12);
INSERT INTO `REL_Field__Field_Set` VALUES (2331, 'Payment_Gateways', 100, 'Test_Mode', 13);
INSERT INTO `REL_Field__Field_Set` VALUES (1589, 'Customers', 58, 'Phone', 12);
INSERT INTO `REL_Field__Field_Set` VALUES (1590, 'Customers', 58, 'Fax', 13);
INSERT INTO `REL_Field__Field_Set` VALUES (1591, 'Customers', 58, 'Username', 14);
INSERT INTO `REL_Field__Field_Set` VALUES (1592, 'Customers', 58, 'Password', 15);
INSERT INTO `REL_Field__Field_Set` VALUES (1593, 'Customers', 58, 'Theme', 16);
INSERT INTO `REL_Field__Field_Set` VALUES (1754, 'Orders', 54, 'Bill_City', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (1753, 'Orders', 54, 'Bill_Street_2', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1752, 'Orders', 54, 'Bill_Street', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1751, 'Orders', 54, 'Bill_Company', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1750, 'Orders', 54, 'Bill_Last_Name', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1749, 'Orders', 54, 'Bill_First_Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1621, 'Shipping_Methods', 102, 'Courier', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1622, 'Shipping_Methods', 102, 'Method', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1623, 'Shipping_Methods', 102, 'Max_Weight_lbs', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1624, 'Shipping_Methods', 102, 'Max_Weight_oz', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1625, 'Shipping_Methods', 102, 'Max_Length_Plus_Girth', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1626, 'Shipping_Methods', 102, 'Description', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (1627, 'Shipping_Methods', 103, 'UPS_Service_Code', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1628, 'Shipping_Methods', 103, 'FedEx_XML_Name', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1629, 'Shipping_Methods', 103, 'FedEx_Carrier_Code', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1630, 'Store_Information', 104, 'Cart_Preview_Mode', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1631, 'Store_Information', 104, 'Cart_Preview_Name_Length', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (2078, 'Payment_Gateways', 101, 'Show_URL', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (2329, 'Payment_Gateways', 100, 'Currency_Code', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (2079, 'Payment_Gateways', 101, 'Show_Currency_Code', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (1673, 'Warehouses', 41, 'Postal_Code', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (1674, 'Warehouses', 41, 'Country', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (1675, 'Warehouses', 41, 'Description', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (1676, 'Warehouses', 41, 'VAT_Enabled', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (1677, 'Warehouses', 105, 'VAT_Rate_0', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1678, 'Warehouses', 105, 'VAT_Rate_1', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1679, 'Warehouses', 105, 'VAT_Rate_2', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1697, 'Categories', 28, 'Display_Name', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1696, 'Categories', 28, 'Name', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1695, 'Categories', 28, 'record_number', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1708, 'Categories', 28, 'Additional_Text', 14);
INSERT INTO `REL_Field__Field_Set` VALUES (1709, 'Categories', 28, 'Sort_Index', 15);
INSERT INTO `REL_Field__Field_Set` VALUES (1966, 'Products', 22, 'My_Cost', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1965, 'Products', 22, 'Base_Price', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1964, 'Products', 22, 'Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1994, 'Orders', 53, 'Product_Total', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1993, 'Orders', 53, 'Ordered_By', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1992, 'Orders', 53, 'Transaction_ID', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1991, 'Orders', 53, 'Order_Number', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1769, 'Orders', 54, 'Ship_City', 21);
INSERT INTO `REL_Field__Field_Set` VALUES (1770, 'Orders', 54, 'Ship_State_or_Province', 22);
INSERT INTO `REL_Field__Field_Set` VALUES (1771, 'Orders', 54, 'Ship_State_Other', 23);
INSERT INTO `REL_Field__Field_Set` VALUES (1772, 'Orders', 54, 'Ship_Postal_Code', 24);
INSERT INTO `REL_Field__Field_Set` VALUES (1773, 'Orders', 54, 'Ship_Country', 25);
INSERT INTO `REL_Field__Field_Set` VALUES (1774, 'Orders', 54, 'Ship_Email_Address', 26);
INSERT INTO `REL_Field__Field_Set` VALUES (1775, 'Orders', 54, 'Ship_Phone', 27);
INSERT INTO `REL_Field__Field_Set` VALUES (1776, 'Orders', 54, 'Ship_Fax', 28);
INSERT INTO `REL_Field__Field_Set` VALUES (1777, 'Orders', 54, 'Ship_Address_Is', 29);
INSERT INTO `REL_Field__Field_Set` VALUES (1778, 'Orders', 54, 'Ship_Special_Instructions', 30);
INSERT INTO `REL_Field__Field_Set` VALUES (2077, 'Payment_Gateways', 101, 'Show_Password_Field', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (2076, 'Payment_Gateways', 101, 'Show_AUTH_CAPT_Fields', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (2075, 'Payment_Gateways', 101, 'Show_Email_Field', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (2343, 'Payment_Methods', 42, 'PayPal_Mode', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (2342, 'Payment_Methods', 42, 'NOCHEX_Test_APC', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (1806, 'REL_Categories__Categories', 106, 'Categories_child_rn', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1807, 'Products_Sold', 107, 'Quantity', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1808, 'Products_Sold', 107, 'Product_rn', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (2167, 'Shipping_Couriers', 38, 'FedEx_Real_Time_Rates', 14);
INSERT INTO `REL_Field__Field_Set` VALUES (2166, 'Shipping_Couriers', 38, 'UPS_Real_Time_Rates', 13);
INSERT INTO `REL_Field__Field_Set` VALUES (2165, 'Shipping_Couriers', 38, 'Real_Time_Rates', 12);
INSERT INTO `REL_Field__Field_Set` VALUES (2164, 'Shipping_Couriers', 38, 'Supports_RTR', 11);
INSERT INTO `REL_Field__Field_Set` VALUES (2163, 'Shipping_Couriers', 38, 'UPS_Password', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (2194, 'Store_Information', 60, 'Delete_Unused_Images', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (2193, 'Store_Information', 60, 'Use_Version_Control', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (2218, 'Store_Information', 92, 'Order_Categories_How', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (2217, 'Store_Information', 92, 'Order_Categories_By', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (2216, 'Store_Information', 92, 'Base_Price', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (2215, 'Store_Information', 92, 'Bread_Crumb_Seperator', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (2214, 'Store_Information', 92, 'Weight_Symbol', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (2213, 'Store_Information', 92, 'Currency_Symbol', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1881, 'Query', 67, 'ORDER', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (2205, 'Store_Information', 5, 'Per_Order_Handling_Fee', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (1898, 'Shipments', 96, 'Shipped_On', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1899, 'Shipments', 96, 'Order_Number', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (2204, 'Store_Information', 5, 'Order_Number_Increment', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (2203, 'Store_Information', 5, 'Next_Order_Number', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (2202, 'Store_Information', 5, 'Order_Number_Format', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (2162, 'Shipping_Couriers', 38, 'UPS_UserId', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (2161, 'Shipping_Couriers', 38, 'UPS_Access_Key', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (2160, 'Shipping_Couriers', 38, 'UPS_Agreed', 7);
INSERT INTO `REL_Field__Field_Set` VALUES (2159, 'Shipping_Couriers', 38, 'FedEx_Drop_Off_Type', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (2158, 'Shipping_Couriers', 38, 'Pickup_Type', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (2157, 'Shipping_Couriers', 38, 'Enabled', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1952, 'Image_Settings', 108, 'Table_Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (1953, 'Image_Settings', 108, 'Field_Name', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (1954, 'Image_Settings', 108, 'Autogenerate', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (1955, 'Image_Settings', 108, 'From_Image', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (1956, 'Image_Settings', 108, 'Width', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (1957, 'Image_Settings', 108, 'Height', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (1977, 'Products', 22, 'Sort_Index', 14);
INSERT INTO `REL_Field__Field_Set` VALUES (2201, 'Store_Information', 5, 'Dimension_Units', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (2002, 'Orders', 53, 'Order_Date', 12);
INSERT INTO `REL_Field__Field_Set` VALUES (2003, 'Orders', 53, 'Payment_Method', 13);
INSERT INTO `REL_Field__Field_Set` VALUES (2004, 'Orders', 53, 'Payment_Status', 14);
INSERT INTO `REL_Field__Field_Set` VALUES (2010, 'Sales_Tax', 109, 'Tax_Shipping', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (2009, 'Sales_Tax', 109, 'Tax', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (2008, 'Sales_Tax', 109, 'State', 1);
INSERT INTO `REL_Field__Field_Set` VALUES (2011, 'Sales_Tax', 109, 'Tax_Handling', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (2012, 'Sales_Tax', 109, 'Description', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (2327, 'Payment_Gateways', 100, 'Transaction_Type', 9);
INSERT INTO `REL_Field__Field_Set` VALUES (2328, 'Payment_Gateways', 100, 'Connection_Method', 10);
INSERT INTO `REL_Field__Field_Set` VALUES (2326, 'Payment_Gateways', 100, 'Authenticate_With', 8);
INSERT INTO `REL_Field__Field_Set` VALUES (2074, 'Payment_Gateways', 101, 'Show_Certificate_Path', 6);
INSERT INTO `REL_Field__Field_Set` VALUES (2073, 'Payment_Gateways', 101, 'Show_Transaction_Key', 5);
INSERT INTO `REL_Field__Field_Set` VALUES (2072, 'Payment_Gateways', 101, 'Currency_Codes', 4);
INSERT INTO `REL_Field__Field_Set` VALUES (2071, 'Payment_Gateways', 101, 'Connection_Methods', 3);
INSERT INTO `REL_Field__Field_Set` VALUES (2070, 'Payment_Gateways', 101, 'Echeck_Capable', 2);
INSERT INTO `REL_Field__Field_Set` VALUES (2069, 'Payment_Gateways', 101, 'Module_Name', 1);
INSERT INTO `REL_Field__Field_Set` VALUES