V4.2.x Usernotes not working in admin under "Order Details"

Discussion in 'v4.2.X Bug Tracker' started by freeze2, Aug 6, 2012.

Thread Status:
Not open for further replies.
  1. freeze2 Super Moderator

    I have found in v4.2.4 and possibly a versions back, that the Usernotes are not working as should in the admin under "Order Details".

    To reproduce:

    1. Click on Manage Orders
    2. Click the modify icon on any order

    Under the Customer Information, you will notice that if the user has usernotes, it will display as "Array".

    To fix, go to your administration templates folder and in the following file:

    orders/customer_table.tpl

    At approx line 116

    Find:

    Code:
    {$usernotes|nl2br}
    Replace with something like:

    Code:
    <ul>
    {foreach from=$usernotes item=entry}
    {if $entry<> '' && $entry.flagged!=1}
    <li>{$entry.note}</li>
    {/if}
    {/foreach}
    </ul>
    
  2. Mike-N-Tosh Owner

    This has been fixed and will be included in the next update v4.2.6
Thread Status:
Not open for further replies.

Share This Page