Skip to content

OpenLabel 1.1.0

Choose a tag to compare

@iranimij iranimij released this 12 Oct 17:39
· 2 commits to main since this release
0a21f1d

OpenLabel 1.1 for Magento 2 and Hyvä: labels in more places, more ways to show them, and an API to manage them.

Highlights:

  • More places: shopping cart, mini cart, wish list, compare page and order, invoice, shipment and credit memo emails; "hide labels on these pages".
  • 21 positions on and around the product image, plus next to the price, next to Add to Cart and under the name.
  • Tooltips and click-through links (CSS only), labels that follow the chosen variant and a live countdown.
  • Conditions: bestseller, most viewed, ships free. Variables: {CATEGORY_NAME}, {BRAND}, and "hide when a variable is zero".
  • Designs: 31 built-in designs, sizes per phone/tablet/desktop, entry animation and hover effect, global CSS, AVIF images.
  • Admin: an OpenLabel section on the product edit page with the labels a product shows, and labels assigned by hand.
  • REST API for labels and designs. Label packs in English, German, French, Spanish, Dutch and Italian.
  • README: a line-by-line comparison with Amasty and Mirasvit Product Labels (from their public documentation).

Upgrade: composer update iranimij/openlabel-hyva-bundle, bin/magento setup:upgrade, bin/magento openlabel:reindex. New tables and columns are added by setup:upgrade; export files from 1.0 still import.

API: new methods on Api\Data interfaces (see CHANGELOG "Changed"); code that only uses them is unaffected, classes that implement them must add the methods.

Tested on Magento 2.4.7, 2.4.8 and 2.4.9 with PHP 8.2–8.4, Hyvä 1.4.2 and 1.5.2 (Playwright, CSP enforced, Varnish on). Full list: CHANGELOG.md.