Coupon Redemption |
Copyright © 2000, William Weiland |
Overview Manage coupon addition and redemption functions within a Miva Merchant 2.2x or 3.x storefront with this plugin module. |
|
Initial Setup Use the Merchant admin upload feature to upload the modules couponrd.mv and cim_coup.mv. As each are uploaded, click the Add button to add them to the mall/domain. In admin, under your store, click on the link for the System Extension Configuration screen. Assign the CIM Coupon Extension module and Update it to install it in your store. In admin, under your store, click on the link for the Fulfillment Configuration screen. Assign the Coupon Redemption module and Update it to install it in your store. Click the link for Coupon Redemption to enter the configuration settings and add coupons. |
|
Configuration Settings An unlimited number of coupons can be assigned to the store and each identified with a coupon code. Once you have added the module to the store, you can add coupons in the Order Fulfillment section of the admin interface. When you select the Add icon, you will have several input fields to fill in. Coupon ID Expiration Date Redemption Value Minimum Order Reduce Tax Coupon Usage Product Code Specificity Deleting Expired Coupons |
|
Editing Requirements (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. 1) In the mmui.mv file MMUI_Order_ShippingPaymentSelection function add
the following code just above the last table tag in the function. That
last table contains the Continue submit button. 2) In the mmui.mv file MMUI_Order_Payment function add the following just
above the last table tag (same as you did in the previous instruction). |
|
Merchant Version 2.22-2.24 Special Note This module can be used in both Merchant version 3.x and 2.2x. However, there is a serious, fatal error bug in one of the Miva Corp supplied core files in versions 2.22, 2.23, and 2.24. Hence, in order to use this module in those versions of Merchant, you will need to edit the db.mv file. Be sure you make a backup of this file in case you make an error. In the db.mv file, locate the function BasketCharge_DeleteAll_Module. The MvWHILE loop needs to be closed with </MvWHILE> instead of </MvIF>. If you don't fix this, you will get an error upon checkout. Again, this bug has been fixed in Merchant 2.25 and 3.x so you only need to make the file correction in Merchant 2.22, 2.23, and 2.24. |
|
Customer Interface Coupon codes are entered at the checkout screen which also displays the shipping and payment selections. Appropriate error messages are displayed when coupons do not meet the usage criteria established by the store owner. When the shopper enters a coupon code at checkout that is not valid based on the criteria you establish, he/she will see an error message just below the coupon code input when the checkout form is re-displayed after the validation step. Customers are allowed to redeem one coupon per order. Additionally, if customers go back to the basket and remove items which previously qualified them for a coupon, then go to checkout, they will not be able to get past the coupon validation step with a coupon not meeting the pre-established criteria. |
|
Historical Review A historical database, which can be imported and analyzed in database or spreadsheet software, is maintained on all coupons used. The couponuz.dbf can be FTPd to your PC for further analysis in MS Access, MS Excel, or other data management software. This could be useful in determining which coupons bring you the most activity. |