View Single Post
  #7  
Old 01-07-2009, 10:49 PM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Arrow Re: Adding text to products.tpl

Quote:
Originally Posted by joannet

{if $products[product].preorder eq "Y"}<a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_p age}{if $featured eq 'Y'}&amp;featured{/if}" class="pl2_is"><b><u>PRE-ORDER</u>:</b> Release Date: {$products[product].dvd_release_date|date_format:"%e %b %Y"}</a>{elseif $products[product].avail gt 0}<a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_p age}{if $featured eq 'Y'}&amp;featured{/if}" class="pl2_is"><b><u>IN-STOCK</u>:</b> Ships immediately</a>{elseif $products[product].preorder ne "Y" || $products[product].avail eq "0"}<a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_p age}{if $featured eq 'Y'}&amp;featured{/if}" class="pl2_is"><b><u>OUT OF STOCK</u>:</b> Normally ships within 14 days</a>{/if}<br />




looks like you have custom coded for perorder.Are you sure you are getting value for $products[product].preorder as Y or N.Jus check this the conditions seems to be fine
Reply With Quote