How can I integrate Coupon Manager with Other Page Templates?
Use one of the following methods for integrating Coupon Manager with Other Page Templates.
Method 1 (must be used if you wish to use free shipping coupons)
This approach allows Coupon Manager to work as it does normally, with a redeem coupon button that reloads the OSEL screen.
1) Register a new 3rd Party Token for Coupon Manager in Other Page Templates. Use DEN_COUPON for the module code and token name.
2) In the "Checkout: Shipping/Payment Selection" (OSEL) template, add the following directly BEFORE the %beginform|OSEL|% token:
<font color="red">
%module|DEN_COUPON|error|%
</font>
<form method="post" action="%var|g.secure_sessionurl|%">
<input type="hidden" name="Store_Code" value="%var|g.Store_Code|%">
<input type="hidden" name="Screen" value="OSEL">
<input type="text" name="DEN_COUPON_Code" size="25" maxlength="35" value="%var|g.DEN_COUPON_Code|%">
<input type="submit" value="Redeem Coupon">
</form>
3) In the same template, click on the "Process Hooks" tab. In the "Page Load" tokens field, add
%module|DEN_COUPON|redeem|%
4) In the "Shipping List" tokens field, add
%module|DEN_COUPON|freeship|%
Method 2 (does not work with free shipping coupons)
This approach does not use a redeem coupon button, but rather just adds a textbox to input a coupon which is processed when clicking next to proceed to the OPAY screen. It is not compatible with free shipping coupons, however.
1) Register a new 3rd Party Token for Coupon Manager in Other Page Templates. Use DEN_COUPON for the module code and token name.
2) In the "Checkout: Shipping/Payment Selection" (OSEL) template, add the following directly AFTER the %beginform|OSEL|% token:
%module|DEN_COUPON|display|%
3) In the "Checkout: Payment" (OPAY) template, click on the "Process Hooks" tab. In the "Page Load" tokens field, add
%module|DEN_COUPON|redeem|%
4) In the same template, add the following somewhere towards the top to display error messages when entering invalid coupons.
<font color="red">
%module|DEN_COUPON|error|%
</font>
Last update: 2004-09-01 03:27
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- I have the UPS Custom Integration configured so that ... (2008-07-11 10:21)
- I would like to conditionally display something for a ... (2008-07-03 17:37)
- Is there any way to configure specific global headers ... (2008-06-02 18:28)
- I pay my affiliates with gift certificates from your ... (2008-05-29 10:42)
- Is there any way to add a negative number ... (2008-05-22 13:51)
Top 10 
- 2521 views:
Adding Tokens to Evaluate Expressions - 2510 views:
Why won't you call me for technical support? I ... - 2489 views:
Is there a way to "Limit" the number of ... - 2402 views:
Are license keys valid for more than one store? ... - 2308 views:
I'm trying to enter a license key and get ... - 2270 views:
How do I install a module? - 2133 views:
How do I check for a module upgrade? - 2132 views:
How can display and change the parameters of an ... - 1960 views:
The total on my checkout pages are not correct. ... - 1843 views:
I have select and radio type attributes in my ...
















