The Store Message File


Store Label Text and Messages

All of the text displayed in the application can be customized. This allows you to configure the store to look the way you want it to, and allows you to translate it into a language other than English.

All of the user readable text used in the store application, except the HTML Headers and Footers, are stored in a message file (MRCHMSGF) which is found using the Commerce Server/400 library list. All of the message text can be customized for your store. You can add HTML tags to the text if desired, however, it is recommended that only text formatting tags (bold, italics, etc.) be used.

Message Groups

The following is a description of each group of messages.

MRC0100 - MRC0119

This is the text that is displayed on the Order Form.

IDDescription
MRC0100 This is the product column heading.
MRC0101 This is the product ID column heading.
MRC0102 This is the description column heading.
MRC0103 This is the price column heading.
MRC0104 This is the unit column heading.
MRC0105 This is the quantity column heading.
MRC0106 This is the cash register button text.
MRC0107 This is the reset button text. It is used for the reset buttons found on all the screens.
MRC0110 These are the table start HTML tags. This can be used to set the width of the table, cell spacing, etc.
MRC0111 This is the product separator. It is displayed between each product. As this is displayed in the table, it will need to have the appropriate <TR> and <TD> tags.
MRC0112 These are the table end HTML tags.
MRC0113 This text is inserted at the front of each heading cell. It can be used to change the formatting of the text. If it contains only spaces it is ignored.
MRC0114 This text is inserted at the end of each heading cell. If it contains only spaces it is ignored.
MRC0115 This text is inserted at the front of each cell. It can be used to change the formatting of the text. If it contains only spaces it is ignored.
MRC0116 This text is inserted at the end of each cell. If it contains only spaces it is ignored.

MRC0120 - MRC0139

This is the text that is displayed on the Cash Register.

IDDescription
MRC0120 This is the product ID column heading.
MRC0121 This is the cost column heading.
MRC0122 This is the total label.
MRC0123 This is the shipping and handling label.
MRC0124 This is the total cost label.
MRC0125 This is the prompt that asks the user if he/she has completed shopping.
MRC0126 This is the yes button text.
MRC0127 This is the no button text.
MRC0130 These are the product table's start HTML tags. This can be used to set the width of the table, cell spacing, etc.
MRC0131 These are the product table's end HTML tags.
MRC0132 These are the button table's start HTML tags. This can be used to set the width of the table, cell spacing, etc.
MRC0133 These are the button table's end HTML tags.
MRC0134 This text is inserted at the front of each heading cell. It can be used to change the formatting of the text. If it contains only spaces it is ignored.
MRC0135 This text is inserted at the end of each heading cell. If it contains only spaces it is ignored.
MRC0136 This text is inserted at the front of each cell. It can be used to change the formatting of the text. If it contains only spaces it is ignored.
MRC0137 This text is inserted at the end of each cell. If it contains only spaces it is ignored.

MRC0140 - MRC0199

This is the text that is displayed on the Check Out screen.

IDDescription
MRC0140 This is the credit card information heading.
MRC0141 This is the credit card number label.
MRC0142 This is the expiration date label.
MRC0150 This is the customer information subheading.
MRC0151 This is the name label.
MRC0152 This is the company label.
MRC0153 This is the phone number label.
MRC0154 This is the fax number label.
MRC0155 This is the e-mail address label.
MRC0156 This is the reference number label.
MRC0170 This is the billing address subheading.
MRC0171 This is the shipping address subheading.
MRC0172 This text follows the shipping address subheading, indicating that it should be filled in if the shipping address is not the same as the billing address.
MRC0173 This is the complete order button text.
MRC0180 This is the address label.
MRC0181 This is the city label.
MRC0182 This is the state label.
MRC0183 This is the ZIP code label.
MRC0184 This is the country label.
MRC0190 These are the credit card table's start HTML tags. This can be used to set the width of the table, cell spacing, etc.
MRC0191 These are the credit card table's end HTML tags.
MRC0192 These are the customer information table's start HTML tags. This can be used to set the width of the table, cell spacing, etc.
MRC0193 These are the customer information table's end HTML tags.
MRC0194 This text is inserted at the front of each label cell. It can be used to change the formatting of the text. If it contains only spaces it is ignored.
MRC0195 This text is inserted at the end of each label cell. If it contains only spaces it is ignored.
MRC0196 This text is inserted at the front of each cell. It can be used to change the formatting of the text. If it contains only spaces it is ignored.
MRC0197 This text is inserted at the end of each cell. If it contains only spaces it is ignored.

MRC0200 - MRC0219

This is the text that is displayed on the Thank You screen.

IDDescription
MRC0200 This message is used to display the order number.
MRC0201 This message is used to display the authorization ID.
MRC0202 This message is used to display the amount charged to the credit card.

MRC0300 - MRC0399

The text in this range of messages are general purpose and will be used throughout in the store.

IDDescription
MRC0300 This is the text displayed before an error message.
MRC0301 This is the text displayed before a warning message.
MRC0302 This is the text that shows how a MM/YYYY date should be formatted.
MRC0303 This is the text that shows how a MM/DD/YYYY date should be formatted.
MRC0304 This is the currency symbol that is displayed.
MRC0305 This is the text that shows the minimum number of characters that can be entered.
MRC0306 This is the text that is used to separate a label from it's value.

MRC0400 - MRC0499

This is the text that contains the HTML tags for the GIF or JPEG files displayed in the application. You can modify the message text if you wish to display a different image, or replace it with text that does not contain an IMG tag, if you do not wish to display images.

The following is an example of an image tag and a description of its parts:

    '<IMG SRC="/MERCHANT/MASTERCD.GIF" ALT="MasterCard" WIDTH=102 HEIGHT=63 BORDER=0>'
IDDescription
MRC0400 This is the MasterCard image tag.
MRC0401 This is the VISA image tag.
MRC0402 This is the Discover image tag.
MRC0403 This is the American Express image tag.
MRC0404 This is the error image tag.
MRC0405 This is the warning image tag.
MRC0406 This is the required image tag.

MRC1000 - MRC1199

This range contains messages that are displayed in the application. Be careful when modifying these that you keep the same number of replacement fields in the messages. The order of the replacement fields can be changed in the body of the text, meaning that &1 can come after &2. Keep in mind that the actual data field must remain constant, though.