Skip to main content

Labels

Product Labels are markers which are placed according to Placeholders they assigned to at catalog and product pages. Using these marks, you can easily promote your new product or boost sales during marketing campaigns.

The extension uses its own index to store label–product relations:

  • When the index is set to Update on Save, relations are updated automatically when you save a label or a product in the admin panel.

  • If the index is set to Update by Schedule, updates after product changes are handled by Magento’s indexer. Label changes are reindexed by a cron job once a day, at 00:45.

  • To apply label changes immediately, click Apply Label on the label edit page after saving. This button is only visible when the index is set to Update by Schedule.

Access permissions

Access to Manage Labels, Manage Placeholders, Manage Templates, and the extension's Stores -> Configuration page can each be granted or restricted separately per admin role, under System -> Permissions -> User Roles -> Role Resources -> Product Labels.

Labels list​

Navigate to Marketing -> Promotions -> Product labels -> Catalog label to view the full list.

Campaigns dashboard

Labels list

Here, you'll find the following fields:

  • ID: the ID of the label.
  • Title: a unique label name.
  • Type: label type (Attribute/Rule).
  • Product list label: label preview image (for category page).
  • Product view label: label preview image (for product page).
  • Status: label status.
  • Active from: the start date of displaying the label, if set.
  • Active to: the end date of displaying the label, if set.
  • Actions: available actions for the selected placeholder.
    • Edit: allows you to modify the placeholder.
    • Delete: removes the placeholder from the list.

Label settings​

Use the Edit option in the Action column to view details of a specific record. Next label settings will be available:

General section​

This section contains detailed information about label display. It is shown for both types of labels (Attribute and Rule) and includes the same fields.

  • Internal name: a logical internal title of the label.
  • Type: a type of label which needs to be created:
    • Attribute: a simple label that is displayed when the product has a selected attribute value.
    • Rule: a complex label that uses conditions to determine when a label needs to be applied.
  • Attribute: list of attributes tha can be used to create labels for. Applicable only if the Type field is set to Attribute.
  • Is active: indicates whether the label is active and ready to apply.
  • Active from: the start date of displaying the label.
  • Active to: the end date of displaying the label.
  • Appearance: list of options of how the label should be configured and displayed:
    • Product list label: configure and display label only for product listings such as category pages or widgets.
    • Product view label: configure and display label only for product view page.
    • Same label for list and view: configure and display the same label design for product listings and product view pages.
    • Separate labels for list and view: configure and display separate designs for product listings and product view pages.
  • Visible in: stores where the label needs to be applied.
  • Customer groups: customer groups who are eligible to see labels.
  • Sort order - priority order in which labels are applied to products.

Design section​

In this section, you can configure the appearance of the labels that will be displayed either in the product list or on the product page (depending on the value of the Appearance field in the General section).

Each type of label has the following group of fields to manage the label design:

  • Image: uploads label which will be added to the product image.
  • Title: sets title on the label. Variables can be used in this field.
  • Description: sets label description. Variables can be used in this field.
  • Url: sets URL key of label.
  • Placeholder: assign the label to placeholder. Read more at the Placeholders section.
  • Template: choose the template for label. Templates have previews which updating automatically while design fields are edited. Read more at the Templates section.
  • Style: additional CSS styles that should be applied to the label.
  • Reset label: removes current label's design.
tip

The extension allows you to use variables in the labels’ title and description. You can see the available variables in the right column on the label page or in the Variables page.

Rule section​

This section contain a conditional block, which allows you to filter products to which labels should be applied. It will appear only for Rule type.

All conditionals should be enclosed in the global mode block. They have four possible global modes of applying, shown in the special header If apply mode of these conditions are validation mode:

Applying modes define, when rule shall be triggered:

  • ALL: implies that the rule will be executed only when all conditions are strictly met.
  • ANY: implies that the rule will be executed only when one or more (but not all) of conditions are met.

Validation modes define which result can produce each condition to be registered as "met":

  • TRUE: implies that the conditions need to be valid.
  • FALSE: implies that the conditions need to be invalid.

You can also define multiple nested mode blocks by selecting the Conditions combination option. These modes allow for creating flexible condition sets to satisfy a policy of any complexity.

Once you have selected global mode (or left it as default), press the green (+) button, and select a condition type. There are four categories of available conditions:

  • Product

  • Product attribute

  • Product additional: contains special attributes that can be used for building complex campaigns:

    • Created at: checks how many days ago the product was added to the store.
    • Updated at: checks how many days ago the product was last changed.
    • Percent discount: analyzes which discount was applied to this particular product.
    note

    Only discounts that have been applied directly to the products are analyzed. They are created at Marketing -> Catalog Price Rules.

    • Final price: is the final price, calculated after the application of all discounts and special price rules, which customers will actually pay.
    • Price - Final price: is the difference between the product's regular price and its final price.
    • Quantity: the quantity of a product which is currently in stock. This is useful when you need to mark the product as sold out.
    • Set as new: checks whether the product was set as new (including old products, returned as new arrivals).
    • Is salable: checks whether the product is currently salable (in stock and purchasable).
  • Product Popularity: sales and engagement figures, for building Bestseller, Trending, Most Reviewed or Top Rated labels. Each condition compares a number with the value you enter, using the same operators as Quantity (for example, equals or greater than).

    • Units Sold: number of units sold.
    • Number of Orders: number of orders that contain the product.
    • Revenue (base currency, excl. tax): row total minus discounts and refunds, in the store's base currency, without tax.
    • Number of Views (needs Reports statistics enabled): number of product page views.
    • Number of Reviews: number of approved reviews.
    • Average Rating, % (80% is about 4 stars): the average rating as a percentage, where 100% is 5 stars.
    • Wishlist Adds: number of wishlists that hold the product.

    The first four conditions have a period selector on the condition row: Last 7 Days, Last 30 Days (default), Last 90 Days or Lifetime. Changing only the period changes which products match. The last three conditions always count all time, and the row shows All Time instead of a selector.

How popularity figures are calculated​

The extension does not query sales, reviews or wishlists while it matches products. A cron job precomputes the figures once a day, at 00:30, for every store view, and the conditions read those figures.

  • Store view scope: every figure is calculated per store view, so the same product can match in one store view and not in another.
  • Periods: Last 7 Days covers the 7 full days before today, on the store view's calendar. Today is not included until the next day's calculation. Lifetime has no date limit and includes today, so it is not the same as the 90-day figure plus older orders.
  • Orders: canceled and closed orders are not counted. Units, orders and revenue are net of refunded and canceled quantities. A configurable or bundle product is counted once, as the product the customer bought, not as its child products.
  • Missing figures: a product with no sales, views, reviews or wishlist adds has no figure, and the condition compares it as 0.
  • Views: product page views are only recorded when Stores -> Configuration -> General -> Reports -> General Options -> Enable Reports is set to Yes (it is No by default). View counts mostly reflect logged-in customers.
warning

Because a missing figure counts as 0, a condition such as Average Rating, % is less than 60 also matches every product that has never been reviewed. To label only reviewed products, add a second condition: Number of Reviews is greater than 0.

note

After recalculating the figures, the same daily job (00:30) re-applies every active label that uses a Product Popularity condition or a sales & engagement variable, for the products whose figures changed, and cleans their cached pages. This works with both Update on Save and Update by Schedule. If a full label reindex is running at that moment, this step is skipped and the labels catch up on the next daily run.

tip

After saving the rule, the extension will display the number of products matching the rule on the right side of the block, for example: These conditions apply to 14 product(s).

To update this data, you may need to reindex the Product label index.

This section allows you to add a label for each attribute value if the label Type in the General section is set to Attribute.

The Gallery field will contain a bunch of fieldsets the number of which will be equal to number of options of the selected attribute.

Each fieldset will contain one or two groups of the design fields depends on the value of the Appearance field.

All options are identical to the fields in the Design section.