I have the "How Did You Hear About Us" mod from this post:
http://forum.x-cart.com/viewtopic.php?t=2931 and need to have the field displayed in the order details viewed in the admin.
I added this to the main/history_order.tpl:
Code:
<tr>
<td valign="top">{$lng.lbl_how_heard}</td>
<td valign="top">{$customer.hear}</td>
</tr>
The label shows up, but no data. I can change it to some other fields and they show up. I looked in func.php where I believe it is getting the $userdata by querying all fields from the user table and putting them in an array which is eventually translated to the $customer array.
What am I missing??? Any help is greatly appreciated.
__________________
-Ken
X-Cart User / Developer Since April 2003
(Varying versions, multiple client sites, 3.x through 4.4.x)
www.pointbweb.com