scottgraves Posted August 30, 2012 Share Posted August 30, 2012 Hi, I'm running 1.4.4.1 and I have a question. I have 3 customer groups, default(1) is for retail customers, the other two (2 and 3) are for wholesale. I am trying to set up the customer referral program for retail customers only. Is there a way to change the my account page code so that the referral program link only shows up for my default group(1)? Any help would be greatly appreciated. Link to comment Share on other sites More sharing options...
scottgraves Posted October 23, 2012 Author Share Posted October 23, 2012 I should clarify...all I'm trying to do is have the Referral Program link show for the default group (1) and not for anyone else. How can I if this statement so that only group 1 (default) can see the link...this is from my-account.tpl in the referralprogram directory of modules. I know I can just if statement this, but nothing I am trying is working..... <!-- MODULE ReferralProgram --> <li><a href="{$base_dir_ssl}modules/referralprogram/referralprogram-program.php" title="{l s='Referral program' mod='referralprogram'}"><img src="{$module_template_dir}referralprogram.gif" alt="{l s='Referral program' mod='referralprogram'}" class="icon" /></a><a href="{$base_dir_ssl}modules/referralprogram/referralprogram-program.php" title="{l s='Referral program' mod='referralprogram'}">{l s='Referral program' mod='referralprogram'}</a></li> <!-- END : MODULE ReferralProgram --> This should be simple but I'm stumped 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