View Single Post
  #2  
Old 03-18-2009, 12:32 PM
 
carpeperdiem carpeperdiem is offline
 

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

Default Re: If Statement for Invoices

Quote:
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).

so the best way to do this is to ask IF it's a product or catalog. try this:

{if $main eq "product"}
show the currency.tpl edit
{/if}

{if $main eq "catalog"}
show the currency.tpl edit
{/if}

or use an else in there....

Helpful?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote