Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Max Order - Help


cornboy

Recommended Posts

Posted

Here are the instructions:

 

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');

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...