Skip to content

Docs

›

Selling

Customer accounts and members-only content

Let visitors create accounts, give them roles, and limit pages, collections and apps to signed-in customers or specific roles.

Updated November 9, 2026

Who can use this: Roles with the manage permission for customers can edit customer accounts and roles. Page access needs the Site Builder, and collection access needs permission to manage content types.

A customer account is one login for your visitors. The same account buys in your shop, opens members-only pages, reads gated collections and signs in to your Code Builder apps.

Set up accounts

  1. Open Commerce, then Settings, then Customer accounts.

  2. Keep Visitors can create an account on, or turn it off so that only you can add customers.

  3. Optionally pick Roles given to new accounts.

When sign-up is off, create a customer under Commerce, then Customers. The person sets a password with "Forgot password".

Add account pages to your site

Add a Customer Account block to a page: Account Login, Account Register, Account Forgot Password, Account Reset Password, Account Dashboard, Account Profile, Account Orders or Account Order Detail.

A page with a block that shows the customer's own data requires a sign-in automatically. A signed-in visitor who opens the login page is sent onward. The link on a block's submit button sets where the visitor goes next.

Create customer roles

  1. Open Commerce, then Roles.

  2. Click New role, name it (for example Member or Student), and save.

Customer roles are labels for access. They are separate from staff roles and from customer groups, which handle pricing. A role's page shows the customers, products, pages, apps and collections that use it. Deleting a role removes it from all of them.

Give a customer a role

  • On a customer's page, add the role yourself.

  • Under Roles given to new accounts, give it to everyone who signs up.

  • On a product, set Roles granted under Customer access. Buying the product gives the role, and a cancellation or full refund removes it again.

Limit a page

  1. Open the page settings in the Site Builder and choose the Access tab.

  2. Set Visibility to Signed-in customers or Specific roles.

  3. Optionally set Redirect visitors to.

Signed-out visitors go to the redirect path, or the site's login page, and return to the page after signing in. A signed-in customer without the role goes to the redirect path, or the site's account page. Limited pages are left out of site search and the sitemap.

Limit a collection

In the CMS, open a content type and find Customer access. Set Read, Create, Update and Delete separately:

  • Read: Public, Signed-in customers, Specific roles, or Signed-in customers, only their own entries.

  • Create: No sign-in required, Signed-in customers or Specific roles.

  • Update and Delete: No sign-in required, Only the entry's owner, Signed-in customers or Specific roles.

These rules apply to site visitors and Code Builder apps. Staff and API tokens are not affected.

Limits and good to know

  • Passwords need at least 8 characters.

  • A password reset link works for 60 minutes.

  • A session lasts 24 hours, or 90 days with remember me.

  • Email addresses are not verified at sign-up.

Questions about building on PraismaHub? We're happy to help.

Contact us