PHPackages                             thepixelage/craft-productlabels - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. thepixelage/craft-productlabels

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

thepixelage/craft-productlabels
===============================

Product Labels is a Craft Commerce plugin for creating labels for products

4.0.6(3y ago)02.6k↑16.7%proprietaryPHPPHP ^8.0

Since May 5Pushed 3y ago2 watchersCompare

[ Source](https://github.com/thepixelage/craft-productlabels)[ Packagist](https://packagist.org/packages/thepixelage/craft-productlabels)[ RSS](/packages/thepixelage-craft-productlabels/feed)WikiDiscussions develop-v4 Synced 1mo ago

READMEChangelog (7)Dependencies (2)Versions (8)Used By (0)

[![Product Labels icon](https://camo.githubusercontent.com/15f7ae1de2774ee5840b1c70c3d59c9b58c30bdffc1735d006dc250d49b5c857/68747470733a2f2f7777772e746865706978656c6167652e636f6d2f706c7567696e732f6173736574732f69636f6e2d70726f647563746c6162656c732e737667)](https://www.thepixelage.com/plugins/productlabels)

Product Labels Plugin for Craft CMS
===================================

[](#product-labels-plugin-for-craft-cms)

**[Product Labels](https://www.thepixelage.com/plugins/productlabels)** is a Craft Commerce plugin for managing promotional labels for products.

License
-------

[](#license)

This plugin requires a commercial license purchasable through the [Craft Plugin Store](https://plugins.craftcms.com/productlabels).

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 4.0.0 or later and Craft Commerce 4.0.0 or later.

Installation
------------

[](#installation)

You can install this plugin from the Plugin Store or with Composer.

### From the Plugin Store

[](#from-the-plugin-store)

Go to the Plugin Store in your project’s Control Panel and search for “Product Labels”. Then click on the “Install” button in its modal window.

### With Composer

[](#with-composer)

Open your terminal and run the following commands in your project directory:

```
# tell Composer to load the plugin
composer require thepixelage/craft-productlabels

# tell Craft to install the plugin
./craft install/plugin productlabels

```

Setup
-----

[](#setup)

You can customise the field layout for Product Labels by going to Product Labels &gt; Settings and configuring the field layout, just like for Entries.

Managing Product Labels
-----------------------

[](#managing-product-labels)

Product labels come with a set of these setting fields that control when a product label should be displayed:

SettingDescriptionStart DateThe date/time to start displaying this product label. If not specified, it displays immediately.End DateThe date/time to stop displaying this product label. If not specified, it displays indefinitely.Match ProductThe condition rules that a product must match in order for the product label to display. If not specified, it will match all products.### Product Sales Condition Rule

[](#product-sales-condition-rule)

A Product Sales condition rule is available for specifying a list of Sales that a product should match.

### Products Condition Rule

[](#products-condition-rule)

A Products condition rule is available for specifying a list of Products to match. This is useful if you need a way to specify a list of products that are not related by a category or other attributes.

Displaying Product Labels for Products
--------------------------------------

[](#displaying-product-labels-for-products)

This plugin adds a `productLabels` property to the `Product` element type which returns an array of `ProductLabel` that are valid for the product. Once a list of product labels are queried, it can be displayed just like your entries.

Example using Twig:

```
{% set products = craft.products.all() %}
{% for product in products %}
    {{ product.title }}
    {% for label in product.productLabels %}
        {{ label.myCustomField }}
    {% endfor %}
{% endfor %}
```

Example using GraphQL:

```
{
  products {
    title
    productLabels {
      title
      ... on ProductLabel {
        myCustomField
      }
    }
  }
}
```

---

Created by [ThePixelAge](https://www.thepixelage.com)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Recently: every ~27 days

Total

7

Last Release

1362d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5db44c3e43bacce630bcc602e8043bba6e3cf676d275e7f92b3069458b0dc22c?d=identicon)[MrRonbot](/maintainers/MrRonbot)

---

Top Contributors

[![MrRonbot](https://avatars.githubusercontent.com/u/1901227?v=4)](https://github.com/MrRonbot "MrRonbot (32 commits)")

---

Tags

cmsCraftcraftcmscraft-plugincommercecraft-commercecraft-productlabels

### Embed Badge

![Health badge](/badges/thepixelage-craft-productlabels/health.svg)

```
[![Health](https://phpackages.com/badges/thepixelage-craft-productlabels/health.svg)](https://phpackages.com/packages/thepixelage-craft-productlabels)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/events

A full-featured plugin for event management and ticketing.

2311.7k](/packages/verbb-events)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[verbb/vizy

A flexible visual editor field for Craft.

4348.6k](/packages/verbb-vizy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
