Dimension Pricing
Copyright © 2002, 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, 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 two dimensions and the module calculates the price based on the entered numbers (size units) times the price of the first 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. As example, 8" X 10" = 80 square inches. At 10 cents per square inch, the item cost would be $8.00.
Initial Setup
1) In admin, click Add Modules
2) Click the file upload button
3) Browse to find the dim_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 Dimension Pricing and select Update
8) Click the Dimension Pricing tab to enter the configuration settings. 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_dim.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 Dimension Pricing and select Update

Usage
Include two attributes in any product you want this action to apply. The attribute CODEs must begin with SX1- and SX2- You can follow that with anything, e.g. SX1-Length and SX2-Width. 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). You assign the price/cost of each unit (SX1 X SX2) in the first attribute (SX1-), e.g. 1.25.