Repository navigation
OpenLabel 1.0.0
OpenLabel 1.0: free, MIT-licensed product labels for Magento 2 and Hyvä.
Install the Hyvä bundle:
composer require iranimij/openlabel-hyva-bundle
bin/magento setup:upgrade
bin/magento openlabel:reindex
Supported: Magento Open Source, Mage-OS and Adobe Commerce 2.4.7–2.4.9, PHP 8.2–8.4, Hyvä 1.4 and 1.5 (1.3 best effort).
In 1.0:
- Engine: an indexer with conditions on sale, new, stock, price, rating, review count and any product attribute; 15 variables; labels per store view, customer group and time window.
- Admin: a label form with quick switches, a 3×3 position picker, live preview, matched products with "Why no products?", 15 built-in designs and starters.
- Storefront: server-side markup in the cached page, one generated stylesheet, no JavaScript, and no Tailwind build needed.
- Ops: GraphQL
openlabel_labels, the CLI (reindex, preview, export and import as JSON, Smile importer),var/log/openlabel.log.
Since rc2:
- Hyvä 1.5 product-page labels.
- Quick switches can be combined with advanced conditions (that combination used to fail to save).
- Every operator behaves the same on 2.4.7–2.4.9.
- Error logging.
- "Why no products?".
Details are in the CHANGELOG and the documentation.