Miva Merchant 4 Module FAQs » Coupon Manager (DEN_COUPON)


{docurl}

MMUI Installation Instructions For Coupon Manager

How to modify the mmui.mv file after installing Coupon Manager.

Before making the changes below to your mmui.mv, be sure the module is installed in your store per the instructions in the Installing Coupon Manager FAQ or the install.txt file included within the DEN_COUPON module zipfile.

NOTE: If you're not familiar with editing your MMUI, you may want to read through our FAQ on editing the MMUI.

1) In <MvFUNCTION NAME = "MMUI_Order_ShippingPaymentSelection, find:

<MvEVAL EXPR = "{ MMUI_DisplayOrder() }">

Directly after this line, add:

<MvCOMMENT> *** coupon start *** </MvCOMMENT>

<MvDO FILE="{g.Module_Root $ 'modules/fulfill/DEN_COUPON.mv'}" NAME="l.do" VALUE="{OUI_Extension2(15,1,0)}">
<MvCOMMENT> *** coupon end *** </MvCOMMENT>

2) A couple lines down, find:

<MvIF EXPR = "{ l.numproducts }">

Directly after this line, add:

<MvCOMMENT> *** coupon start *** </MvCOMMENT>
<MvDO FILE="{g.Module_Root $ 'modules/fulfill/DEN_COUPON.mv'}" NAME="l.do" VALUE="{OUI_Extension2(15,5,0)}">
<MvCOMMENT> *** coupon end *** </MvCOMMENT>

3) Further down in the same function, find:

<SELECT NAME = "ShippingMethod">

Directly after this line, add:

<MvCOMMENT> *** coupon start *** </MvCOMMENT>
<MvDO FILE="{g.Module_Root $ 'modules/fulfill/DEN_COUPON.mv'}" NAME="l.do" VALUE="{Free_Shipping()}">
<MvCOMMENT> *** coupon end *** </MvCOMMENT>

That's it!



Last update: 2003-08-26 18:13
Author: Support
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry