Code:
INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES (NULL, 'eBay Exporter Configuration', 'Set eBay Options', '1', '1');
SET @configuration_group_id=last_insert_id();
UPDATE configuration_group SET sort_order = @configuration_group_id WHERE configuration_group_id = @configuration_group_id;
INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order)
VALUES('configEbayExporter','BOX_EBAY','FILENAME_CONFIGURATION',CONCAT('gID=',@configuration_group_id),'configuration','Y','77');
INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES
(NULL, 'Ausgabedatei', 'EBAY_OUTPUT_FILENAME', 'ebay.csv', 'Name der Ausgabedatei', @configuration_group_id, 0, NOW(), NULL, NULL),
(NULL, 'Ausgabeverzeichnis', 'EBAY_DIRECTORY', 'feed/', 'Ausgabeverzeichnis', @configuration_group_id, 1, NOW(), NULL, NULL),
(NULL, 'cPath in der URL verwenden?', 'EBAY_USE_CPATH', 'false', 'cPATH für die Daten verwenden?', @configuration_group_id, 2, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
(NULL, 'Dateikomprimierung', 'EBAY_COMPRESS', 'false', 'Datei komprimieren?', @configuration_group_id, 3, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
(NULL, 'Attribute für Auktionen', 'EBAY_ASA', 'false', 'Auktions Attribute aktivieren?', @configuration_group_id, 3, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
(NULL, 'ausgewählte Kategorien', 'EBAY_POS_CATEGORIES', '', 'Kategorienamen durch Komma getrennt vorgeben <br>(Bsp: 1,2,3)<br />Leer lassen um alle zu erlauben', @configuration_group_id, 4, NOW(), NULL, NULL),
(NULL, 'ausgeschlossene Kategorien', 'EBAY_NEG_CATEGORIES', '', 'Kategorienamen durch Komma getrennt angeben <br>(Bsp: 1,2,3)<br />Leer lassen um alle zu erlauben', @configuration_group_id, 4, NOW(), NULL, NULL),
(NULL, 'ausgeschlossene Keywords', 'EBAY_NEG_KEYWORDS', 'oem', 'Titel Schlüsselworte <br> (Bsp: oem,gift,free,)<br />zum deaktivieren leer lassen', @configuration_group_id, 4, NOW(), NULL, NULL),
(NULL, 'Maximale Anzahl Produkte', 'EBAY_MAX_PRODUCTS', '0', 'Standard = 0 für unendlich', @configuration_group_id, 5, NOW(), NULL, NULL),
(NULL, 'Startpunkt', 'EBAY_START_PRODUCTS', '0', 'Mit Eintrag Nr. starten (nicht die Produkt ID)?<br />Default=0', @configuration_group_id, 5, NOW(), NULL, NULL),
(NULL, 'Minimaler Preis', 'EBAY_MIN_PRICE', '0', 'Standard = 0 für kein Maximum', @configuration_group_id, 6, NOW(), NULL, NULL),
(NULL, 'Maximaler Preis', 'EBAY_MAX_PRICE', '0', 'Standard = 0 für kein Minimum', @configuration_group_id, 6, NOW(), NULL, NULL),
(NULL, 'eBay Seiten ID', 'EBAY_SITEID', '0', 'Für welche eBay Seite?<br />eBay US = 0<br />eBay Canada = 2<br />eBay UK = 3<br />eBay Australia = 15<br />eBay Belgium (French) = 23<br />eBay France = 71<br />eBay Germany = 77<br />eBay Italy = 101<br />eBay Belgium (Dutch) = 123<br />eBay Netherlands = 146<br />eBay Spain = 186<br />eBay Taiwan = 196)', @configuration_group_id, 7, NOW(), NULL, 'zen_cfg_select_option(array(\'0\', \'2\', \'3\', \'15\', \'23\', \'71\', \'77\', \'101\', \'123\', \'146\', \'186\', \'196\'),'),
(NULL, 'Format', 'EBAY_FORMAT', '1', 'Listen Format<br />Auktion = 1<br />Holländische Auktion = 2<br />Live Auktion = 5<br />Anzeigeformat = 6<br />Shop Artikel = 7<br />Festpreis = 9', @configuration_group_id, 8, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'2\', \'5\', \'6\', \'7\', \'9\'),'),
(NULL, 'Währung', 'EBAY_CURRENCY', '1', 'Währung auswählen:<br />USD = 1<br />CAD = 2<br />GBP = 3<br />AUD = 5<br />EUR = 7<br />CHF = 13<br />TWD = 41', @configuration_group_id, 9, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'2\', \'3\', \'5\', \'7\', \'13\', \'41\'),'),
(NULL, 'fester Startpreis', 'EBAY_FIXED_STARTING', '', 'Welchen Startpreis sollen die Auktionen haben?<br />Leer lassen um keinen Startpreis festzulegen', @configuration_group_id, 10, NOW(), NULL, NULL),
(NULL, 'Variabler Startpreis', 'EBAY_STARTING', '100', 'Wieviel Prozent des Shop-Preises sollen als Startpreis gesetzt werden?<br />Default = 100', @configuration_group_id, 11, NOW(), NULL, NULL),
(NULL, 'Differenz', 'EBAY_RESERVE', '0', 'Wieviel Prozent des Shop-Preises sollen als Unterschied bleiben?<br />Default = 0', @configuration_group_id, 12, NOW(), NULL, NULL),
(NULL, 'Sofortkauf', 'EBAY_BIN', '0', 'Wieviel Prozent des Shop Preises sollen für den Sofort-Kauf festgelegt werden?<br />Default = 0', @configuration_group_id, 13, NOW(), NULL, NULL),
(NULL, 'Laufzeit', 'EBAY_DURATION', '7', 'Laufzeit in Tagen<br />GTC ist gültig bis auf Widerruf und kann nur für eBay-Shops verwendet werden<br>default = 7', @configuration_group_id, 14, NOW(), NULL, 'zen_cfg_select_option(array(\'3\', \'5\', \'7\', \'10\', \'20\', \'30\', \'60\', \'90\', \'120\',\'GTC\'),'),
(NULL, 'Menge', 'EBAY_QUANTITY', '', 'Wieviele Artikel sollen angeboten werden?<br />Leer lassen um den gesamten Bestand zu verwenden.', @configuration_group_id, 15, NOW(), NULL, NULL),
(NULL, 'Versicherung', 'EBAY_INSURANCE', '0', 'Versicherung<br />keine = 0<br />Optional = 1<br />erforderlich = 2<br />inklusive = 3', @configuration_group_id, 16, NOW(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\'),'),
(NULL, 'Land', 'EBAY_COUNTRY', 'US', 'Ländercode (Bsp:DE, US, CA, UK)', @configuration_group_id, 17, NOW(), NULL, NULL),
(NULL, 'Stadt', 'EBAY_CITY', '', 'Name der Stadt<br />(Bsp:Dortmund, München, Berlin)', @configuration_group_id, 18, NOW(), NULL, NULL),
(NULL, 'Steuertabelle', 'EBAY_TAX_TABLE', '0', 'Steuertabelle verwenden?', @configuration_group_id, 19, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Steuer hinzurechnen', 'EBAY_TAX', '0', 'Steuer zur Gesamtsumme berechnen?', @configuration_group_id, 19, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Private Auktion', 'EBAY_PRIVATE', '0', 'Private Auktion?', @configuration_group_id, 20, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Versandrabatt', 'EBAY_MULTI', '0', 'Versandrabatt hinzufügen?', @configuration_group_id, 20, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Höchstpreis', 'EBAY_BEST_OFFER', '0', 'höchstes Gebot anzeigen?', @configuration_group_id, 20, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Bezeichnung', 'EBAY_LABEL', 'id', 'Welche Bezeichnung wollen Sie verwenden?', @configuration_group_id, 20, NOW(), NULL, 'zen_cfg_select_option(array(\'id\', \'model\', \'upc\'),'),
(NULL, 'PayPal', 'EBAY_PAYPAL_ACCEPTED', '0', 'Wird PayPal akzeptiert?', @configuration_group_id, 21, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'PayPal Email', 'EBAY_PAYPAL_ADDRESS', '', 'PayPal Emailadresse', @configuration_group_id, 21, NOW(), NULL, NULL),
(NULL, 'Abholung', 'EBAY_PICKUP', '0', 'Akzeptieren Sie Abholung?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Kreditkarten', 'EBAY_CC', '0', 'Akzeptieren Sie Kreditkartenzahlung?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'American Express', 'EBAY_AMEX', '0', 'Akzeptieren Sie American Express?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Discover', 'EBAY_DISCOVER', '0', 'Akzeptieren Sie Discover?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Visa Mastercard', 'EBAY_VISA', '0', 'Akzeptieren Sie Visa/Mastercard?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Nachnahme', 'EBAY_COD', '0', 'Akzeptieren Sie Nachname?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Vorauszahlung', 'EBAY_COD_PREPAY', '0', 'Akzeptieren Sie Vorkasse?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Postanweisung', 'EBAY_POSTAL_TRANSFER', '0', 'Akzeptieren Sie Postbaranweisung?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Money Order', 'EBAY_MONEYORDER', '0', 'Akzeptieren Sie Money Order?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Scheck', 'EBAY_CHECK', '0', 'Akzeptieren Sie Checks?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Money Transfer', 'EBAY_MX', '0', 'Akzeptieren Sie Money Transfer?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Money Transfer in Checkout', 'EBAY_MX_CHECKOUT', '0', 'Akzeptieren Sie Transfer in Checkout?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'andere Zahlungsmethoden', 'EBAY_OTHER_PAYMENT', '0', 'Akzeptieren Sie andere Zahlungsmethoden?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'andere Online Zahlungsmethoden', 'EBAY_OTHER_ONLINE', '0', 'Akzeptieren Sie andere Online Zahlungsmethoden?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'weitere Versandoptionen in der Beschreibung', 'EBAY_SEE_DESCRIPTION', '0', 'Für weitere Versandoptionen die Beschreibung lesen?', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Versandart', 'EBAY_SHIPPING_TYPE', '1', 'Versandkosten <br>1 = kostenloser Versand, 2 = Berechnete Kosten', @configuration_group_id, 23, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'2\'),'),
(NULL, 'Internationaler Versand', 'EBAY_INT_SHIPPING_TYPE', '1', 'Internationaler Versand<br>1 = kostenloser Versand, 2 = Berechnete Kosten', @configuration_group_id, 23, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'2\'),'),
(NULL, 'Zahlung der Versandkosten', 'EBAY_PAYS_SHIPPING', 'buyer', 'Wer zahlt die Versandkosten?', @configuration_group_id, 23, NOW(), NULL, 'zen_cfg_select_option(array(\'buyer\', \'seller\'),'),
(NULL, 'Untertitel', 'EBAY_SUBTITLE', 'false', 'ASA Phrase für den Untertitel verwenden (max = 55 Zeichen)?', @configuration_group_id, 24, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
(NULL, 'Counter', 'EBAY_COUNTER', '2', 'Zähler 0 = kein Zähler<br />5 = Basic<br />6 = Retro-Computer Style <br />7 = Versteckt', @configuration_group_id, 99, NOW(), NULL, 'zen_cfg_select_option(array(\'0\', \'5\', \'6\', \'7\'),'),
(NULL, 'Fett', 'EBAY_BOLD', '0', 'Hervorgehobener Titel?', @configuration_group_id, 24, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
(NULL, 'Hervorgehoben', 'EBAY_FEATURED', '0', 'Angebot hervorheben?', @configuration_group_id, 25, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
(NULL, 'Hervorheben Plus', 'EBAY_FEATURED_PLUS', '0', 'Angebot hervorheben PLUS?', @configuration_group_id, 25, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
(NULL, 'Gallery', 'EBAY_GALLERY', '0', 'Gallery?', @configuration_group_id, 26, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Gallery Featured', 'EBAY_GALLERY_FEATURED', '0', 'Gallery?', @configuration_group_id, 26, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Highlight', 'EBAY_HIGHLIGHT', '0', 'Titel hervorgehoben?', @configuration_group_id, 24, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Rahmen', 'EBAY_BORDER', '0', 'Rahmen um den Titel?', @configuration_group_id, 24, NOW(), NULL, 'zen_cfg_select_option(array(\'1\', \'0\'),'),
(NULL, 'Artikelsprache', 'EBAY_LANGUAGE_OFFER', 'Deutsch', 'Angebote aus welcher Sprachregion?(Bsp:Deutsch)<br>', @configuration_group_id, 24, NOW(), NULL, NULL),
(NULL, 'eBay Template Oben', 'EBAY_TEMPLATE_TOP', '', "HTML Code der vor ein Produkt eingefügt werden soll.", @configuration_group_id, 30, NOW(), NULL, NULL),
(NULL, 'eBay Template unten', 'EBAY_TEMPLATE_BOTTOM', '', "HTML Code mit dem ein Produkt abgeschlossen werden soll.", @configuration_group_id, 31, NOW(), NULL, NULL);
Lesezeichen