|
| Buy X Number Items Get 1 Free
|
| Copyright 1999-2000, William Weiland
| 23 Nov 1999
|
| Changes:
| February 6, 2000
| Removed the reliance on the system extension module due to potential
| conflicts with other 3rd party system extension modules. To compensate
| for this, you will need to edit the merchant.mv as described in paragraph
| 2 in the initial setup below. Also, replace the cim_sys.mv on the server
| with the latest version.
| 16 March 2000
| Made the module dual UI compliant
| 22 May 2000
| Updated to use oui_extension2 vs oui_extension
| 27 August 2000
| Changed functionality to place a product called Free Item Discount in the
| basket when applicable for those CC processors which are re-checking
| basket totals before they authorize payment. You will need to remove
| any changes you made to the merchant.mv, mmui.mv, tax module and email
| module related to get1free module. Refer to your previous get1free.mv
| module comments section to see where those edits were made.
| 1 Sept 2000
| Updated to Merchant version 2.2x to use non-product basket charges to
| account for free items.
| 12 Sept 2000
| Added note in initial setup about Merchant db.mv bug.
|
| Initial setup:
| 1) The get1free module is to be FTPd (lower case) to the script directory
| on your server. It goes into your Merchant modules/util/ directory. This
| IS a plugin module. It goes in modules/util/get1free.mv path when
| installed. Install it to the mall, then to your store.
|
| 2) There is a bug in the Miva Merchant core file db.mv in version 2.22.
| You'll need to edit that file to correct the bug until Miva Corp updates
| and corrects the bug. In the db.mv file, locate the function
| BasketCharge_DeleteAll_Module. The MvWHILE loop needs to be closed
| with instead of . The Coupon Redemption and Buy X
| Get One Free modules will not work until you have fixed this.
|
| If you are using the Open UI look and feel, skip this comment section.
|
| In the mmui.mv file MMUI_DisplayBasket function there are two areas
| where you will insert code.
|
| 1) Insert the following line as the first line after the beginning of this
| function.
|
| 2) A few lines before the end of this MMUI_DisplayBasket function you will
| see a table row which contains the Total: for the basket. Add the
| following just before the tag:
|