A2. PRICE, SHIPPING AND TAX BASKET RULES 
    v1.0 (2/25/01)

This folder contains 9 additional files: 

  sbadmin.mgi
  index.mgi
  monets.mgi
  vangoghs.mgi
  other.mgi
  basket.mgi
  checkout.mgi
  confirm.mgi
  process.mgi
  (plus 1 image file and image folder)

To use the price, shipping and tax basket rules example on your system,
perform the following steps to configure the shopping basket admin and
customize the shopping basket pages.

1. Open the checkout.mgi page in a text editor.  In the
shoppingBasketURL parameter of the mgiCollectUserInfo tag, enter the
full URL to the web site region where you will place the 9 files (e.g.,
http://www.domain.com/ or http://www.domain.com/test/, etc.).  Save the
changes you make to the checkout.mgi file.

2. Open the confirm.mgi page in a text editor.  In the shoppingBasketURL
parameter of the mgiConfirmOrder tag, enter the full URL to the web site
region where you will place the 9 files (e.g., http://www.domain.com/ or
http://www.domain.com/test/, etc.).  Save the changes you make to the
confirm.mgi file.

3. Open the process.mgi page in a text editor.  In the shoppingBasketURL
parameter of the mgiSendOrder tag, enter the full URL to the web site
region where you will place the 9 files (e.g., http://www.domain.com/ or
http://www.domain.com/test/, etc.).  Enter your email address in the
"to" and "from" parameters of the mgiSendOrder tag.  Enter your outgoing
SMTP mail server address in the "mailserver" parameter of the
mgiSendOrder tag. Save the changes you make to the process.mgi file.

4. Upload all 9 files to a web server running MGI.

5. View the sbadmin.mgi page with a web browser.

6. Enter the case-sensitive shopping basket name "Wholesale" under the
"Shopping Basket Name" column and click the "Add" button.

7. To configure the shopping basket, click the "Edit" button beside the
"Posters" shopping basket.

8. To configure the price rule, click the "Edit" button
beside "Price Rules".  Add a new price rule named "5dollars"
(case-sensitive).  Click the "Edit" button beside the "5dollars"
price rule. In the segment, enter
or select the following information:

    With a scope of "basket" starting at "50" and ending at "0", decrement
   the price by "5" "dollars" for every "0" units of "dollar amount".

Click the "Save" button to return to the price rules.  Click the "Back"
button to return to the "Wholesale" configuration interface.

9. To configure the shipping rules, click the "Edit" button beside
"Shipping Rules".  Add a shipping rule named "scheduleA"
(case-sensitive). Click the "Edit" button beside the "scheduleA"
shipping rule. Add 3 additional segments. To add a segment, click the 
"Add Segment" button.  In the first segment, enter or select the 
following information:

    With a scope of "basket" and a base shipping cost of "0", starting at
   "1" and ending at "5", increment the shipping charge by "7" "dollars" 
   for every "0" units of "quantity".

In the second segment, enter or select the following information:

    With a scope of "basket" and a base shipping cost of "0", starting at
   "6" and ending at "10", increment the shipping charge by "5" "dollars" 
   for every "0" units of "quantity".
   
In the third segment, enter or select the following information:

    With a scope of "basket" and a base shipping cost of "0", starting at
   "11" and ending at "15", increment the shipping charge by "3" "dollars" 
   for every "0" units of "quantity".
   
In the fourth segment, enter or select the following information:

    With a scope of "basket" and a base shipping cost of "0", starting at
   "16" and ending at "0", increment the shipping charge by "0" "dollars" 
   for every "0" units of "quantity".

Click the "Save" button to return to the shipping rules.  Click the
"Back" button to return to the "Wholesale" configuration interface.

10. To configure the tax rules, click the "Edit" button beside "Tax
Rules".  Add two tax rules, one named "stateWS" and one named "cityWS"
(case-sensitive). Click the "Edit" button beside the "stateWS" tax rule. 
Enter or select the following information:

    With a scope of "basket", apply a tax of "4" % for customers residing in
   "North Carolina,NC" and continue to rule "cityWS".

Click the "Save" button to return to the tax rules.  Click the "Edit"
button beside the "cityWS" tax rule.  Enter or select the following
information:

    With a scope of "basket", apply a tax of "2" % for customers residing in
   "Raleigh" and continue to rule " ".

Click the "Save" button to return to the tax rules.  Close the
sbadmin.mgi page.

11. View the index.mgi page in a web browser.

12. Add an item to the shopping basket and complete the shopping process
from shopping basket to check out to order confirmation to order
processing.

-- Using MGI 2.0
   PagePlanet Software, Inc.
   http://www.pageplanetsoftware.com
   techsupport@pageplanetsoftware.com
