<pre> This free software is licensed under the terms of the GNU public license. A copy should be accompanying this script. Copyleft 2002 Tom Savino <hide@address.com> This work is merely an enhanced translation of the original works by: Vietdev : http://vietdev.sourceforge.net WYSIWYG Editor (R5.5 / R10.5) NOP Design JavaScript Shopping Cart at http://www.nopdesign.com/freecart/index.html (Cart Logic) DESCRIPTION: Lizard Cart is a set of scripts that reads from a database and displays products, edit products with a built WYSIWYG Editor, prepopulates a paypal form then sends it. REQUIREMENTS: 1. Apache 2. PHP 3. MYSQL 4. A PayPal Account 5. IPN Actived INSTALLATION: 1. Unzip the source in a directory that is under a web root This will create a directory like lizardcart 2. Create a Database. shell> mysqladmin create your_db or use phpadmin 3. Run http://your.com/yourdir/install.php 4. Modify the params in the lizardcart/config.inc.php and admin/config.inc.php to what you need to access your database and other config stuff. Open atho.inc.php in the admin dir Put a username and password. 5. Point your browser to the index.php file to test. 6. Point your browser to the lizardcart/admin/index.php file and start puting your products in. 7.To config the shopping cart logic open nopcart.js: //---------------------------------------------------------------------|| // For more information on SmartSystems, or how NOPDesign can help you || // Please visit us on the WWW at http://www.nopdesign.com || // Global Options || // ---------------- || // Shopping Cart Options, you can modify these options to change the || // the way the cart functions. || // || // Options For Everyone: || // ===================== || // * Language: string, the two digit language code to display user || // messages in. Supported languages: || // * English (en) * French (fr) || // * Dutch (nl) * Spanish (sp) || // * German (ge) * Finnish (fi) || // * Swedish (se) * Brazilian (br) || // * Italian (it) || // * MonetarySymbol: string, the symbol which represents dollars/euro, || // in your locale. || // * DisplayNotice: true/false, controls whether the user is provided || // with a popup letting them know their product is added to the cart || // * DisplayShippingColumn: true/false, controls whether the managecart|| // and checkout pages display shipping cost column. || // * DisplayShippingRow: true/false, controls whether the managecart || // and checkout pages display shipping cost total row. || // * DisplayTaxRow: true/false, controls whether the managecart || // and checkout pages display tax cost total row. || // * TaxRate: number, your area's current tax rate, ie: if your tax || // rate was 7.5%, you would set TaxRate = 0.075 || // * TaxByRegion: true/false, when set to true, the user is prompted || // with TaxablePrompt to determine if they should be charged tax. || // In the USA, this is useful to charge tax to those people who live || // in a particular state, but no one else. || // * TaxPrompt: string, popup message if user has not selected either || // taxable or nontaxable when TaxByRegion is set to true. || // * TaxablePrompt: string, the message the user is prompted with to || // select if they are taxable. If TaxByRegion is set to false, this || // has no effect. Example: 'Arizona Residents' || // * NonTaxablePrompt: string, same as above, but the choice for non- || // taxable people. Example: 'Other States' || // * MinimumOrder: number, the minium dollar amount that must be || // purchased before a user is allowed to checkout. Set to 0.00 || // to disable. || // * MinimumOrderPrompt: string, Message to prompt users with when || // they have not met the minimum order amount. || // || // Payment Processor Options: || // ========================== || // * PaymentProcessor: string, the two digit payment processor code || // for support payment processor gateways. Setting this field to || // anything other than an empty string will override your OutputItem || // settings -- so please be careful when receiving any form data. || // Support payment processor gateways are: || // * Authorize.net (an) || // * Worldpay (wp) || // * LinkPoint (lp) || // * PayPal (pp) || // * CC Encryption to db (tom) || // Options For Programmers: || // ======================== || // * OutputItem<..>: string, the name of the pair value passed at || // checkouttime. Change these only if you are connecting to a CGI || // script and need other field names, or are using a secure service || // that requires specific field names. || // * AppendItemNumToOutput: true/false, if set to true, the number of || // each ordered item will be appended to the output string. For || // example if OutputItemId is 'ID_' and this is set to true, the || // output field name will be 'ID_1', 'ID_2' ... for each item. || // * HiddenFieldsToCheckout: true/false, if set to true, hidden fields || // for the cart items will be passed TO the checkout page, from the || // ManageCart page. This is set to true for CGI/PHP/Script based || // checkout pages, but should be left false if you are using an || // HTML/Javascript Checkout Page. Hidden fields will ALWAYS be || // passed FROM the checkout page to the Checkout CGI/PHP/ASP/Script || //---------------------------------------------------------------------|| </pre>