How do I display the redemptions from our coupon module in the order details and in the invoice?
(2003/11/12)here are tokens available in the details template to display "Order charges", which is where the information from coupon (and gift certificate) modules are usually stored:
%orderchargedesc% (the description of the charge)
%orderchargeamountF% (the amount; formatted using the currency module)
%orderchargeamount% (the amount, unformattted)
If there is more than one order charge you can display them with:
%orderchargedesc2%
%orderchargeamountF2%
%orderchargeamount2%
%orderchargedesc3%
%orderchargeamountF3%
%orderchargeamount3%
etc.
I didn't maintain very good consistency when adding tokens to this module. The tokens for use within the label template are different! They are:
%chargedescription1%
%chargeprice1%
etc.
to display the charges in their order (i.e. %chargeprice1% will display the first non-tax, non-shipping charge found in the database.
You can use the token %charge|desc or price|module code|% to display particular module's charge. So if the coupon module has the module code, coupon, then to display the description and price, respectively, the tokens would be:
%charge|desc|coupon|%
%charge|price|coupon|%
Last update: 2004-12-09 13:34
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- Alternate ways to display the product and attribute data ... (2008-09-02 18:40)
- Adding both "Add All to Basket" and "Add to ... (2008-09-01 09:46)
- When adding a product to the basket from an ... (2008-08-27 19:02)
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
Top 10 
- 2940 views:
Adding Tokens to Evaluate Expressions - 2872 views:
Is there a way to "Limit" the number of ... - 2793 views:
Why won't you call me for technical support? I ... - 2682 views:
Are license keys valid for more than one store? ... - 2580 views:
I'm trying to enter a license key and get ... - 2569 views:
How do I install a module? - 2413 views:
How do I check for a module upgrade? - 2375 views:
How can display and change the parameters of an ... - 2220 views:
The total on my checkout pages are not correct. ... - 2018 views:
I have select and radio type attributes in my ...
















