View Single Post
  #3  
Old 11-08-2008, 05:00 PM
  CobaltCat's Avatar 
CobaltCat CobaltCat is offline
 

Senior Member
  
Join Date: Jul 2003
Location: Southern Orygun
Posts: 153
 

Default Re: add market price to order_data.tpl

JWait -

Thanks for the info. I added

Code:
{if $discount gt 0} <font class="MarketPrice">{$lng.lbl_market_price}: <s> {include file="currency.tpl" value=$products[product].list_price} </s>&nbsp;&nbsp;</font> {/if}

to the html/order_data.tpl, so it looks like

Code:
<td align="right">{include file="currency.tpl" value=$product.display_price}&nbsp;&nbsp;<br /> {if $discount gt 0} <font class="MarketPrice">{$lng.lbl_market_price}: <s> {include file="currency.tpl" value=$products[product].list_price} </s>&nbsp;&nbsp;</font> {/if} </td>

but it doesn't show anything on an invoice. I did clear the templates cache on the server.

Any ideas?
__________________
Thanks -
CobaltCat

I would love to change the world, but they won't give me the source code.
Reply With Quote