Miva Merchant 5 Module FAQs » Order Status 5.x (BROK_ORDERSTATUS5)


Is it possible to collect a note at checkout that will be associated with the order in admin?

The module has the ability to prompt the customer for a note and other information at checkout. This data is saved and associated with the order so that it is viewable with the order in the module's admin.

There is an a section on the "options" tab, near the bottom, called "Collecting info at checkout". If the "Display prompt for note?" is checked off, the contents of the "Note prompt template" will be used to display a prompt for the note on the customer information page (between the display of basket contents and the fields for the customer information).

The template can contain various tokens to collect the data:

%note% displays a text area 40 cols wide by 10 rows which collects data saved in the order's "note" field
%note|cc|rr|% like the %note% token but displays the textarea cc columns wide and rr rows.

%field1|default|% displays a checkbox to collect a setting for the "field1" field for the order. The "defualt" can be "on" or "off" and will be used to control whether or not the checkbox is defaulted to checked or unchecked.
%field2|defualt|% same as %field1|default|% but saves the selection in the "field2" field.

%field3% displays a text field 40 characters wide which collects data that is subsequently saved in the "field3" field
%field3|xx|% same as the %field3% token but displays a text field xx characters wide.

%trackingtype|default|% displays a hidden field which will set the initial tracking type for the order to the "default" (more on this above).

The token that displays this content is:

<mvt:item name="brokosm" param="OCST_note" />

so it can be moved on the page to display it elsewhere. This token displays the contents of the "Note prompt template" field and a hidden form field:

<input type="hidden" name="SaveOrderBasket" value="1">

You can use the html equivalent of the tokens that display the form fields if you want as long as you also add this hidden field.


Last update: 2008-10-17 10:10
Author: Thor
Revision: 1.1

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