Version 2.0.3.1
Although my customers enter requested details on separate lines of the Payment Methods comments field in the Checkout, those details appear as a single line in the Instructions box of the new order email I receive.
Can I modify the code so the new order email shows the details on separate lines just as the customer has entered them in the Checkout?
Thanks in anticipation of any suggestions.
A quick and dirty fix would be to change somewhere near line 48 in the file
/catalog/view/theme/default/template/mail/order.tpl
from
<?php echo $comment; ?>
to
<?php echo nl2br($comment); ?>
Chris, Opencart Developers and Programmers,
Opencart Developers Opencart Programmers
https://www.chrisranjana.com
Who is online
Users browsing this forum: No registered users and 134 guests