Miva Merchant 5 Module FAQs » Gift Certificate Manager 5.x (BROK_CERTIFICATES5)


Using Gift Certificate Manager with Phone Order Manager

First, make sure you're using the latest version of both modules.

To display the Gift Certificate Manager redemption field in the Phone Order Manager (POM) add to the POM module's "Main Page Template" the code<

%begin_if|g.GCMError|%  <br>
  <font color="red"> <br>
  %var|g.GiftCertificateError|%  <br>
  </font> <br>
<INPUT TYPE="hidden" NAME="BrokAction" VALUE="REDEEM"><br>
<INPUT TYPE="hidden" NAME="BROK_CERTIFICATES5_From_Screen" VALUE="POM_main">  <br>
<b>Gift Certificate:</b> <input type="text" name="CertKey" size="30">   <br>

This will display the redemption field  and any error messages encountered during redemption.  Note that this code does not have a button specifically for "Redeem".  To redeem the gift certificate simply click on the POM module's "update" button. If you want a button specifically for the redemption field you can add an additional "Update" button to the POM template in the appropriate place.

Categories for this entry

Last update: 2009-10-07 23:57
Author: Michael Brock
Revision: 1.2

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

Average rating: 5 out of 5 (1 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry