We build things that work. Seriously.

Back to the plugin Help & documentation

Mignuti Menü-Badges: help & documentation

“New”, “Sale” or your own text on categories in the mega menu.

Installation in JTL-Shop 5 #

Requirements: JTL-Shop 5.8 or later, PHP 8.3 or later, NOVA or a template using NOVA's mega menu.

  1. In the admin, open Plugins → Plugin manager and upload the ZIP file.
  2. In the Available tab, tick the plugin and click Install.
  3. Create the first badge in the plugin tab Badges.

Settings #

  • Kategorie-Attribut aus JTL-Wawi auswerten (use category attribute from JTL-Wawi, default: yes): a category attribute mig_badge creates a badge. Badges set in the plugin take precedence.
  • Badges in der Kategorie-Box (badges in the category box, yes): badges also appear in the “Categories” box (Darstellung → Boxen), for example in the sidebar of category pages.

Managing badges in the admin #

  1. Open the Badges tab in the plugin.
  2. Choose the category.
  3. Choose the type: New, Sale, Offer or custom text.
  4. Choose the colour: green, red, dark or outlined.
  5. For custom text, enter it in German and English.
  6. Save.

Keep badges short, up to 20 characters. The menu is narrow and long texts are cut off.

Change the texts “New”, “Sale” and “Offer” via the language variables mig_mb_new, mig_mb_sale and mig_mb_offer.

Badges from JTL-Wawi #

In JTL-Wawi, add the attribute mig_badge to the category and sync:

  • neu or new – badge “New” in green
  • sale – badge “Sale” in red
  • angebot or offer – badge “Offer” in red
  • any other short text – custom badge in dark

This requires the setting “Kategorie-Attribut aus JTL-Wawi auswerten”. A badge set in the plugin for the same category takes precedence.

Troubleshooting #

  • The badge does not appear: does your template use NOVA's mega menu? For Wawi badges: is the setting enabled and the category synced? If needed, clear the shop's object cache.
  • The Wawi badge is ignored: a badge is set in the plugin for this category. It takes precedence.
  • The text is cut off: shorten it to at most 20 characters.
  • No badge in the sidebar: enable “Badges in der Kategorie-Box” and place the “Categories” box.

Uninstalling #

Uninstalling deletes the table xplugin_mignuti_menubadges, settings and texts. Category attributes in JTL-Wawi remain untouched.