If you've ever edited a widget in the CMS, you may have noticed the Layer selector under the General Options tab:
Let's imagine you have a banner image advertising an exciting promotion, but it only applies to your B2C customers. In this case, you'd place the banner on the page using a Static Content widget, then use a layer to restrict that widget to users on a B2C role. As a result, B2B users would not see the banner at all.
Best Practice Design websites come equipped with several standard Layers out of the box. You are free to edit, remove, or add to these Layers as required.
To access Layers, in the CMS, navigate to Advanced Content → Layers.
How To Create a Layer
In the CMS, navigate to Advanced Content → Layers.
- Click Add New Layer.
- Give the new layer a Name and a Description; anything that's meaningful to you.
- Next, specify the conditions under which this layer will 'activate'. It could be for particular roles, accounts, or marketing flags, for example.
(For further information on layers and examples of use, see our blog post on Personalisation here!)
- Click Save & Exit.
- Your new layer is now ready to use! Add it to any widget on your site - it's that easy.
The widget will activate when the customer browses a particular page or pages.
Use the '*' wildcard to include all like pages, or exclude a page using '!'
|User Authenticated Status
|Defines the layer based on Logged In users (Authenticated), Logged Out users (Anonymous), or Any user.
|Defines the layer based on the role of the user. You can include, or exclude any role from the list.
A single account code, or a list of debtors from PRONTO that should be included (or excluded) from this layer.
|Similar to the Account option, this specifies a Bill-to Account filter, using an include or exclude.
|If your site uses Custom Catalogues, you can define a layer based on what catalogue the user is browsing. Specify the Global Catalogue, any Custom Catalogue, or a list of Custom Catalogues.
There are several Customer fields integrated from PRONTO ERP that can be used to define a layer, including:
Any of the above can be done as a list (separated by commas), and can be set up to include or exclude the values supplied.
|User Email Pattern
|Defines a layer of users based on one or more email patterns.
|User defined set of users. (See User Group Filtering help for more details.)
|Minimum Version Requirements
|Third Party Costs