View Single Post
  #1  
Old 03-18-2009, 11:54 AM
 
jherzog jherzog is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 93
 

Default If Statement for Invoices

I have made a modification (addition) to currency.tpl. This is the template file that controls how prices are displayed. I only want that change to show up when you viewing products or a product. I do not want this change to show up on the invoices (emails).

My idea was to wrap my modification in an if statement that checks to see if this file is being called to create an invoice. i.e. {if $invoice eq true}. Is there any such variable that identifies this is an invoice not a product listing (or visa versa)?

Thanks
__________________
Jed Herzog
Gold X-Cart 4.0.17
http://www.outliersolutions.com
Portland Advertising Agency,
Portland Web Design
Reply With Quote