Jump to content
Sign in to follow this  
deregular

Show boxes to certain groups

Recommended Posts

Hi guys,

 

Ive managed to be able to display certain boxes to only logged in customers, by editing the column_left.php file, with this code.

 

if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'categories.php');

 

Now im wondering if its possible to make some boxes only show to certain customer groups? Im running seperate pricing per customer contribution and an article contribution. This would be a great thing to accomplish as I could keep articles available to only premium customers.

 

Any ideas? I have the feeling I may be able to just add to the code ive shown above to only show if the customer group is a certain one.

 

Thanks in advance

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×