Staffelpreise 2.0 and BruttoAdmin V1.0 für OSC http://www.oscommerce.com Released under the GNU General Public License "staffelpreis" is a german word and means graduated price based on on tep_snapshot-20020914.zip -------------------------------------------------------------------------- Staffelpreise 2.0 Copyright 2002 Juergen Scheffler mailto: staffelpreise@thewebsite.de http://www.thewebsite.de ------------------------------------------------------------------------- BruttoAdmin V1.0 Copyright 2002 Henri Schmidhuber mailto: info@in-solution.de http://www.in-solution.de BruttoAdmin V1.0 is based on "Nettopreisberechnung" of Matthias Hinsche http://www.gamesempire.de ------------------------------------------------------------------------ With this addon you can manage graduated prices in the admin of oscommerce. the second effect all prices in admin are shown with tax included. Installation: You can adjust your version based on these files All changes for the graduated prices addon starts with "Start www.TheWebSite.de - Aenderung Staffelpreise" . All changes for the BruttoAdmin addon starts with START IN-SOLUTION t. generate this table in the database : DROP TABLE IF EXISTS products_staffelpreis; CREATE TABLE products_staffelpreis ( products_id int(11) NOT NULL default '0', quantity int(11) NOT NULL default '0', unitprice decimal(15,4) NOT NULL default '0.0000', KEY products_id (products_id) ) TYPE=MyISAM; 1.add folowing lines to your admin configure.php // for the BruttoAdmin define ('IN_PRICE_IS_BRUTTO','1'); //Show prizes with tax include define ('IN_PRICE_PRECISION','2'); // Shown precision auf prize define ('IN_TXT_NETTO', 'Netto:'); // Name of prize without tax // for the graduated prices addon define ('ST_STAFFELPREIS', '3'); // number of graduated prices 2. add folowing lines to your admin application_top.php define('TABLE_PRICES','products_staffelpreis'); 3. add folowing lines to your admin\includes\languages\german\categories.php define('TEXT_PRODUCT_SP', 'Staffelpreise
(Menge,Preis)'); 4. add folowing lines to your admin\includes\languages\english\categories.php define('TEXT_PRODUCT_SP', 'Graduated price
(quantity, price)'); 5. add folowing lines to your admin\includes\languages\espanol\categories.php define('TEXT_PRODUCT_SP', 'Graduated price
(quantity, price)'); 6. dd folowing lines to your catalog application_top.php define('TABLE_PRICES','products_staffelpreis'); define ('ST_STAFFELPREIS', '3'); // number of graduated prices 7.add folowing lines to your catalog\includes\languages\german\product_info.php define('TEXT_PRODUCT_SP', 'Staffelpreise (Menge = Preis) :'); 8.add folowing lines to your catalog\includes\languages\english\product_info.php define('TEXT_PRODUCT_SP', 'Graduated prices (quantity = price) :'); 9.add folowing lines to your catalog\includes\languages\espanol\product_info.php define('TEXT_PRODUCT_SP', 'Graduated prices (quantity = price) :');