Ok I went and tried to do this the easy way, and It works...kinda.
In template main/histroy_order.tpl I moved this code:
Code:
{$lng.lbl_tracking_number}:<br />
<INPUT type="textarea" name="tracking" value="{$order.tracking}"{if $usertype eq 'C'} readonly{/if}>
{if $usertype eq "A" or ($usertype eq "P" and $active_modules.Simple_Mode)}
I moved it from below the order status drop down and I moved it up the page, just after:
Code:
{if $products[prod_num].product_options ne "" && $active_modules.Product_Options ne ''}
<TR>
<TD valign="top">{$lng.lbl_selected_options}</TD>
<TD valign="top">{include file="modules/Product_Options/display_options.tpl" options=$products[prod_num].product_options options_txt=$products[prod_num].product_options_txt force_product_options_txt=$products[prod_num].force_product_options_txt}</TD>
</TR>
{/if}
So the field displays ok, but if I have more than one item with different tracking numbers, it displays whatever the last number was. I am assuming system is just looking at the last one and updating all tracking fields because the fields are all still "order" fields and are not "product" fields.
And, I am fairly certain this bit has something to do with it:
Code:
{$lng.lbl_tracking_number}:<br />
<INPUT type="textarea" name="tracking" value="{$order.tracking}"{if $usertype eq 'C'} readonly{/if}>
{if $usertype eq "A" or ($usertype eq "P" and $active_modules.Simple_Mode)}
But I am clueless as to what I should do with it.
Lil help?