View Single Post
  #1  
Old 01-06-2004, 02:11 AM
 
seven1 seven1 is offline
 

Member
  
Join Date: Oct 2002
Location: At Home
Posts: 16
 

Default Displaying content (prices) according to usertype

hiya,

i wonder if anyone can help... i am trying to display different prices depending on the usertype. i've been trying to edit the products.tpl template to see if i can get it to do the following, but it's not working, where am i going wrong? any help much appreciated!

# C is Customer
# T is Trader
# param00 is trade price

{if $usertype eq "C"}
{include file="currency.tpl" value=$products[product].param00}
{elseif $usertype eq "T"}
{include file="currency.tpl" value=$products[product].price}
{/if}

- omar
Reply With Quote