Quote Originally Posted by lhungil View Post
After looking a bit further, there is a real easy option to allow product attributes with user entered multiline text. So I was wrong earlier, no need to edit "/admin/edit_orders.php" (it has been awhile since I have looked through the product attribute display code in Zen Cart).

Zen Cart out of box supports changing individual "text" option names (attributes) to use a textarea HTML element instead of an input HTML element (with a type attribute of text). As Edit Orders uses almost the exact same code as a stock Zen Cart product page (minor modifications for handling of downloads), turning this option on for the "text" option name in Zen Cart will also switch to using a textarea HTML element.

How to enable support for multiline "text" product options:
  1. Log into the Zen Cart administrative interface.
  2. Navigate the menu's to "Catalog" -> "Option Name Manager".
  3. Find the option name (option type: text) and click the associated "edit" button.
  4. Change "rows" to the number of rows to display (for multiline input must be greater than 1).
  5. Click the "update" button.


NOTE: Tested and verified to work under Zen Cart 1.5.1+ and Edit Orders 4.1.3+ (probably earlier as well - but these are my current test environments. The setting is documented in the wiki (Google FTW).
This is how i'm set up it keeps the line formatting in the order, however when editing it displays as one line