Jump to content

Password Protect a Page? Addon?


RavenMedia

Recommended Posts

A follow up:

 

Is there a variable to check for specific group id, for instance something like this:

{if $groupid==2}

SOME CONTENT TO SHOW UP

{else}

You don't have permissions.

{/if}

 

I'm aware that for each group there is a separate ID, I just have no idea how to reach it because I can't find anything regarding it in documentation. I tried finding code where it checked for group IDs for discounts but couldn't find anything.

 

I would appreciate any help on this one.

Edited by RavenMedia
Link to comment
Share on other sites

That helped. :)

 

I've read complete Debug Console like you suggested, I'm now searching for a variable that says if the product is hidden or not. My main goal is to show list of products that are only available for a certain group. For now, I've managed to show content to certain group, now I'm trying to figure out how can I list such hidden products in the code that appear only to the group I want it to appear.

 

If there's no such variable I'll have to link products separately for such group, unless you guys have a better idea?

 

Thanks a lot.

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
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated