Products: Roles

Overview

Roles (or security roles) are used extensively throughout all areas of Hotcakes.  At the product level, the roles allow you to define which groups of people can see the product. By default, all products are public, with no roles assigned to them.

Requirements

The following prerequisites will be necessary to accomplish the goals of this article:

  • Have access to your Hotcakes store administration

Getting Started

There are no prerequisites to get started with this article.

Products:  Roles

Product security roles are a great way to segment your store based upon permissions.  This is especially powerful for instances where you want to make certain products available only to subsets of your customer base.  This could be a VIP customer group as an example.  Another example might be a dual model where you do both B2B and B2C, and you want certain products to only be shown to your partners or other business relationships.

You can manage the roles for a product by editing the product, then selecting the "Roles" page from the left panel.

Initially, you'll see no roles added to your product.

The drop down list will be loaded with all of the security roles that you've create in the CMS control panel.  All you need to do to assign this product to a role is select it, then click the "Add Role" button.

Once you have one or more roles assigned to the product, you can remove the role by clicking the delete icon on the right side of the role.  

Role Hierarchy

You can assign security roles to not only categories, but also product types and products.  If you assign a role here, it will override the category and product type role settings.

Regardless to role assignments, superusers and administrators will always be able to see the products assigned to roles.

Have more questions? Submit a request

Need More Help?

Do you need more assistance with this article? Please review your support options.