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
|