tl Posted September 14, 2011 Share Posted September 14, 2011 Hi, I need to edit my checkout process to show and hide certain statements depending on what user group someone is in so I can show certain things to trade. What conditional statement in my template would do this so if user group = 'TRADE' then print "XXXX" Sorry my php isnt too hot and I cant seem to get it working. any help greatly appreciated. Thanks Link to comment Share on other sites More sharing options...
virtualgadjo Posted September 14, 2011 Share Posted September 14, 2011 hi, i think it's because you should do this with smarty, not php it will look like something like that {if $user.group.name=='TRADE'}xxx{/if} not tested but the syntax should be more like that have swing Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now