cornboy Posted March 21, 2006 Posted March 21, 2006 Need help installing the Max Order contribution. http://www.oscommerce.com/community/contributions,1206 Not sure where to put everything (core files) and if I need to use a program like phpmyadmin or something like that to execute them? I know enough about html but not that much about php. Here are the instructions that comes with the cont: MAX ORDER - version 1.00 2003/04/27 JOHNSON - Copyright ? 2003 Matti Ressler - [email protected] This simple mod is a variation on Minimum price to order V1.7 by Joachim de Boer. It sets a credit limit on a per order/customer basis.It is compliant with multiple currencies, and each customer's credit limit can be set using the admin>customers module. The default limit is set in the max_order.sql file. You may change this before you execute the file or change it directly in the database - there is no provision for changing the default setting through the admin interface at this stage. HOW IT WORKS The customers credit limit is checked at log on and again when they click the checkout button. If the cart total exceeds their credit limit they are redirected to a page displaying how much above their credit limit the order is, with a link to the contact_us page. The limit is checked before shipping is calculated. INSTALLATION Backup your existing files. Copy the enclosed files to their respective folders - if you already have mods, the code is easily found in the files by searching 'max_order'. Add the defines to the two files listed below. admin/includes/languages/english.php define('CATEGORY_MAX_ORDER', 'Maximum Order'); define('ENTRY_MAX_ORDER', 'Credit Limit:'); catalog/includes/application_top.php define('FILENAME_MAX_ORDER', 'max_order.php'); Quote
cornboy Posted March 21, 2006 Author Posted March 21, 2006 Please Please Please It might even be worth money to me. Quote
cornboy Posted March 22, 2006 Author Posted March 22, 2006 OK One question and I'll try to figure it out. How do I execute the .sql file? Would it be in the code of the php files? Do I need phpmyadmin? Something using an ftp explorer and permissions? Thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.