Tagging in Sales Layer

Using Sales Layer

 

Next to the search bar you will find another useful tool for organising your content: tags. These can be added to products to make them easier to locate from inside your catalogue.

Following the example we previously looked at when using the search bar we are going to search for products whose colour field contains the word red:

field:color:red

 Searching for products when preparing to create tags
Searching for products when preparing to create tags

Now that we have filtered our content appropriately we go to Actions, Update tags and then create a new tag called “Red”.

 Creating a “Red” tag
Creating a “Red” tag

As you can see below, on the right hand side, we now have a new icon which allows us to access our newly created tag. This option wasn’t previously visible, thanks to Sales Layer’s philosophy of only showing you what you need, when you need it.

 Selecting a Tag to filter which content is displayed
Selecting a Tag to filter which content is displayed

If we add another tag, for example one for content which was “White”, we could apply both tags at once. From here we can filter even further by choosing to display the items which have both Red and White tags (A and B) applied, or those which have either the Red or White tags applied (A or B).

4 Filtering for content which has both the Red and White tags applied to it
4 Filtering for content which has both the Red and White tags applied to it

Content filtered by using tags can also be searched further using the search bar. For example, as well as using the Red and White tags, we can enter:

Field:name:shirt

and Sales Layer will filter on these three criteria, showing us only those products which have “shirt” in their name field, as well as having both the Red and White tags applied.

Searching for content while using tags (White and Red + Shirt)
Searching for content while using tags (White and Red + Shirt)

If you want to remove a tag from a product, you can do so from the Update Tags pop up menu, simply hover over the tag and click on the x button when the tag turns yellow. If a tag is not associated with any products then it will be removed from Sales Layer and if you wish to use it again you will have to recreate it.

 Removing a tag
Removing a tag

Finally, tags can also be used to create channels which only export content that has a particular tag applied to it, or even when creating a workflow so that an editor can only work with content that has a specific tag. We will see more about this later on in the section dealing with workflows.

Filtering by tags when creating a workflow