Miva Merchant 4 Module FAQs » Order Status (BROK_ORDERSTATUS)


{docurl}

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

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

Records in this category