Miva Merchant 4 Module FAQs » Order Status (BROK_ORDERSTATUS)


What tokens are available?


(2003/09/09)Most of the available tokens are visible in the default template. Here's a quick list of some of them:

Main Page and Details Page tabs:

%orderdate%
%todaysdate%
%todaydate%
%yesterday%

%orderidL%
%orderid%

%paydata% (the data stored by the payment module)
%totaltax%
%tracklink%
%tracknum%
%tracktype%
%total% (order total)

%paytype%
%totaltax% (total tax)
%totalwithtax% (subtotal + tax)

%taxdescription%
%taxamountF%
%taxamount%

%shippingdescription%
%shippingamountF%
%shippingamount%

%orderchargedesc%
%orderchargeamountF%
%orderchargeamount%

The above three sets also have alternate tokens which will display the second, third, etc. charge (tax and shipping are considered by Merchant to be "charges").

%taxdescription2%
%taxamountF2%
%taxamount2%

%shippingdescription2%
%shippingamountF2%
%shippingamount2%

%orderchargedesc2%
%orderchargeamountF2%
%orderchargeamount2%

etc.

A specific module's charge and description can be displayed by that module's code:

%charge|desc|module_code|%
%charge|price|module_code|%

%custpassword% Customers.d.password
%custlogin% Customers.d.login
%custpwemail% Customers.d.pw_email
%custid% Customers.d.id
%cust_ship_fname% Customers.d.ship_fname
%cust_ship_lname% Customers.d.ship_lname
%cust_ship_email% Customers.d.ship_email
%cust_ship_comp% Customers.d.ship_comp
%cust_ship_phone% Customers.d.ship_phone
%cust_ship_fax% Customers.d.ship_fax
%cust_ship_addr% Customers.d.ship_addr
%cust_ship_city% Customers.d.ship_city
%cust_ship_state% Customers.d.ship_state
%cust_ship_zip% Customers.d.ship_zip
%cust_ship_cntry% Customers.d.ship_cntry
%cust_bill_fname% Customers.d.bill_fname
%cust_bill_lname% Customers.d.bill_lname
%cust_bill_email% Customers.d.bill_email
%cust_bill_comp% Customers.d.bill_comp
%cust_bill_phone% Customers.d.bill_phone
%cust_bill_fax% Customers.d.bill_fax
%cust_bill_addr% Customers.d.bill_addr
%cust_bill_city% Customers.d.bill_city
%cust_bill_state% Customers.d.bill_state
%cust_bill_zip% Customers.d.bill_zip
%cust_bill_cntry% Customers.d.bill_cntry

%totalprice% (product subtotal) g.ProductTotal
%totalpriceF%
%productstotal%
%productstotalF%

%cust_password% StatusOrders.d.password
%cust_login% StatusOrders.d.login
%cust_id% StatusOrders.d.cust_id
%ship_fname% StatusOrders.d.ship_fname
%ship_lname% StatusOrders.d.ship_lname
%ship_email% StatusOrders.d.ship_email
%ship_comp% StatusOrders.d.ship_comp
%ship_phone% StatusOrders.d.ship_phone
%ship_fax% StatusOrders.d.ship_fax
%ship_addr% StatusOrders.d.ship_addr
%ship_city% StatusOrders.d.ship_city
%ship_state% StatusOrders.d.ship_state
%ship_zip% StatusOrders.d.ship_zip
%ship_cntry% StatusOrders.d.ship_cntry
%bill_fname% StatusOrders.d.bill_fname
%bill_lname% StatusOrders.d.bill_lname
%bill_email% StatusOrders.d.bill_email
%bill_comp% StatusOrders.d.bill_comp
%bill_phone% StatusOrders.d.bill_phone
%bill_fax% StatusOrders.d.bill_fax
%bill_addr% StatusOrders.d.bill_addr
%bill_city% StatusOrders.d.bill_city
%bill_state% StatusOrders.d.bill_state
%bill_zip% StatusOrders.d.bill_zip
%bill_cntry% StatusOrders.d.bill_cntry
%note% StatusOrders.d.note
%note2% StatusOrders.d.note2
%field1% field 1
%field2% field 2
%field3% field 3

%status% (status of the order)

%close_button%
%back_button%
%add_button%
%addall_button%
%back_link%


The tokens availalbe in the "products" area of the template are, for the most part, the same as those available in the Product Page templates module. Eg:

%addtobasket%
%addquantity%
%prodcode%
%prodthumbL%
%begin_hasweight%...%end_hasweight%
etc.

The tokens specific to the product's status are:

%prodstatus% which will display the status of the product itself
%productstatus% will display the status of the product or, if it doesn't have one, the status of the order.



Last update: 2004-12-09 13:36
Author: Support
Revision: 1.0

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

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry