Size Pricing
Copyright © 2001, William Weiland
Overview
Charge your customers by the variable size of the item they are ordering. This module is used to calculate prices on items which are priced, e.g. by the foot, by the inch, by the gallon, or other units of measure. This is particularly useful when the store owner does not want to have a pull down select list of infinite values. The customer enters the size/length of units and the module calculates the price based on the entered number times the price of the attribute. The store owner determines the storewide number of free units (if any), and the lowest and the highest values that can be used in the measurement.
Initial Setup
1) In admin, click Add Modules
2) Click the file upload button
3) Browse to find the size_x.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 Utilities link
7) Check the box to the left of Size Pricing and select Update
8) Click the Size Pricing tab to enter the configuration setting. Enter the number of free units allowed before the calculation applies. Also, if you want to limit the customer to specific ranges, enter the low and high values. If you leave these at zero, the customer will be able to enter any amount.
9) Click on Add Modules again
10) Click the file upload button
11) Browse to find the cim_log.mv file on your hard drive and upload
12) Click Add to add it to the domain
13) Click the image to the left of your store name
14) Click on the Logging Configuration link
15) Check the box to the left of CIM Activity Log and select Update
16) Click on Add Modules again
17) Click the file upload button
18) Browse to find the cim_size.mv file on your hard drive and upload
19) Click Add to add it to the domain
20) Click the image to the left of your store name
21) Click on the System Extension Configuration link
22) Check the box to the left of CIM System Size Pricing and select Update

Usage
Include an attribute in any product you want this action to apply. The attribute CODE must begin with SX- You can follow that with anything, e.g. SX-Length. If you specify a range in admin, you might want to include that info as part of the attribute PROMPT, e.g. Length in inches (1-1000).