Jump to content

Partial access on page


Frank Vèssia
 Share

Recommended Posts

Hey Sevarf2,

I believe you could do something like this:

Create a new Role (Access->roles) for "registered_users" and assign it to a user.

In your template, I believe you can do something like:

<?php
if ($user->hasRole("registered_users")) {
  echo "custom price";
}
Link to comment
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
 Share

  • Recently Browsing   0 members

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