Miva Merchant 4 Module FAQs » Coupon Manager (DEN_COUPON)
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!
{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
You cannot comment on this entry
Records in this category
- I installed Coupon Manager, but the coupon prompt is not appearing.
- Once I enter a coupon it remains in the basket even if I leave and come back.
- MMUI Installation Instructions For Coupon Manager
- Installing Coupon Manager
- Can I add a redeem coupon form to the basket contents page?
- How can I integrate Coupon Manager with Other Page Templates?
- Can I generate a random coupon code using a token?
- Where do I find the coupon log file?
- Error Code: DEN_COUPON-0001














