How to create custom label by tag in the default theme

When you install our app and have our default layout theme (see Default theme definition and Default theme demo), you could easily create a label or badge using tags. Below is the demo image of those labels.

How to create custom label by tag in the default theme

Instruction

1

Access the Customization settings of the Default theme by going to  Online store > Themes > Choose the default theme that you would like to make changes > Customize > Choose Collections  Default collection from the top drop-down listing and then choose Collection pages on the left sidebar.

2

Tick Enable the Custom Label By Tag checkbox in Collection pages setting

3

Edit each product and add tags with the following format: pfs:label-xxx (xxx is the desired name to show on the front end). For example, pfs:label-new, pfs:label-featured, etc.

4
Go to the Sync menu. Trigger  Sync recent updates.