Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Assign If to login membership type.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-25-2003, 02:20 PM
 
Gibberish Gibberish is offline
 

Senior Member
  
Join Date: Sep 2003
Posts: 182
 

Default Assign If to login membership type.

Need help assigning an if statement to a login membership type.

if ($login = [$user_account['fulfilment staff'])
$smarty->assign("show_order_details", "N");

What im trying to do is I dont want any fulfilment staff members to see the credit card number, or maybe just the last 4 digits.


Thanks in advance.
Reply With Quote
  #2  
Old 10-06-2003, 10:58 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

include/check_useraccount.php towards the bottom where the other $smart->assign's are:
Code:
# # Assign $user_membership variable to templates # {if $user_membership eq "Wholesale"} # $smarty->assign("user_membership",$user_account["membership"]);

__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:33 PM.

   

 
X-Cart forums © 2001-2020