View Single Post
  #12  
Old 06-10-2007, 02:39 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Show Referrer Information on Order Details Page

May I suggest, if you ae using version 4.1.x, try this:

BEFORE:
Code:
{include file="main/subheader.tpl" title=$lng.lbl_products_info}
INSERT:
Code:
{if $usertype eq "A" or $usertype eq "P"} <table cellspacing="0" cellpadding="0" width="100%"> <tr> <td valign="top">{$lng.lbl_referred_by}</td> <td> {if $customer.referer} {$customer.referer} {else} {$lng.lbl_unknown} {/if} </td> </tr> <tr> <td colspan="2" valign="top" height="10">&nbsp;</td> </tr> </table> {/if}

I agree with QVS -- I like it on top of the page... One thing though -- for xhtml, you really MUST use lowercase tr and td tags if you want to validate.

This is confirmed good with 4.1.7
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote