Re: if/then for wholesale customers...
Quote:
Originally Posted by qualiteam
Add
Code:
$smarty->assign('user_account', @$user_account);
right before this
Code:
func_display('customer/home.tpl', $smarty);
in the "<xcart_dir>/home.php" script.
After surround the price code in products.tpl template with e.g.:
Code:
{if $user_account.membershipid eq 0}
...
{/if}
this will show the price only for customers without any membership level.
|
Thanks this worked! 
__________________
X-cart Gold
Version 4.1.9
|