Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Show boxes to certain groups


Guest

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...