Volume Pricing
Copyright © 2001, William Weiland
Overview

Initial Setup
1) In admin, click Add Modules
2) Click the file upload button
3) Browse to find the cim_vol.mv file on your hard drive and upload
4) Click Add to add it to the domain
5) Click the image to the left of your store name
6) Click on the System Extension Configuration link
7) Check the box to the left of Volume Pricing and select Update
8) Click on Add Modules again
9) Click the file upload button
10) Browse to find the cim_log.mv file on your hard drive and upload
11) Click Add to add it to the domain
12) Click the image to the left of your store name
13) Click on the Logging Configuration link
14) Check the box to the left of CIM Activity Log and select Update
15) Once installed to the store, you can add volume pricing inputs in the individual product edit screen.
System Configuration (Optional)
To display the discount price table on the product or category screens, click the link for Volume Pricing under the store system extension configuration screen.
Editing Option (skip if using the OpenUI)
If you are using the Miva Merchant User Interface (mmui) you will need to make some very simple edits to the core files. Be sure to do that with a text editor (NO WYSIWYG editors) such as Programmer's File Editor (PFE) so as not to damage the mv files. ALWAYS BACKUP your unmodified mv files in case you make a mistake.

If you are using the OpenUI, the settings under the system configuration screen will determine whether the table of discount prices will display on the product and category screens. If you are using the mmui.mv and want to display the volume price discount table, you will also need to add the following line of code in the mmui.mv where you want the table to display. Most likely that will be in the MMUI_ProductDisplay and/or MMUI_Display_Product_ScreenExpand functions directly below the location where the normal Product price is displayed.
<MvDO FILE = "{g.Module_Root $ 'modules/system/cim_vol.mv'}" NAME = "l.showit" VALUE = "{ShowPriceTable()}">

Limitations
1) This module ignores price groups. It applies the price in your low, high, cost groupings. If you do not include a grouping at the single item level, it will use the method for pricing in your store. It only activates if you include a low, high, cost grouping. So if you want price group customers to get 10% off on a single item, then don't include the 1 in your grouping; ie start with 2 or higher number. However, if you do that, you should at least match the price group discount at those higher numbers. For example:
6|10|12%^
11|20|14%^
21|999|16%^

2) The percentage discounting method subtracts the percent discount from the price. To apply the percentage, simply include the percent symbol (%) in the line. If you are using cost method for your store, you will not be able to use the percentage discounting method. Instead, use the actual value method.

3) If you are using another third party module which overrides prices in the basket and recomputes them using the price in the product record, you will not be able to use this module. Other third party modules will not recognize that it needs to apply the calculations in this module.