We build things that work. Seriously.

Back to the plugin Help & documentation

Mignuti Tagesangebot: help & documentation

A deal of the day with a real countdown – and the lowest price of the last 30 days.

Installation in JTL-Shop 5 #

Requirements: JTL-Shop 5.8 or later, PHP 8.3 or later, NOVA or a NOVA child template.

  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. In JTL-Wawi, create a special price with start and end for the product and sync it.
  4. In the plugin, open the Angebote (deals) tab and create the first deal.

Settings #

  • Auf der Startseite zeigen (show on home page, default: yes): the running deal appears on the home page above the product sliders. Box and OPC portlet work independently.
  • Countdown auf der Artikelseite (countdown on product page, yes): end date and remaining time below the price of the deal product.
  • Nur mit aktivem Sonderpreis (only with active special price, yes): the deal only appears if the product has an active JTL special price for the visitor's customer group.
  • Niedrigsten 30-Tage-Preis bei allen Sonderpreisen zeigen (show 30-day low for all special prices, yes): “lowest price in the last 30 days” on every product page with an active special price.
  • Niedrigsten 30-Tage-Preis auch in Artikellisten zeigen (also in product lists, yes): “Lowest 30-day price: …” in categories, search and sliders. With a Mignuti template the line is omitted, because the template shows the price as a strike-through price.

Planning a deal #

  1. In JTL-Wawi, create a special price for the product (start and end) and sync it.
  2. In the plugin tab Angebote (deals), enter product number, start and end. Times are in shop time.
  3. Optionally enter a custom heading. Otherwise the language variable mig_dd_heading (“Deal of the day”) is used.
  4. Save. The list shows special price, validity and the 30-day low for each customer group.

Periods must not overlap. You can edit planned and running deals (product, period, heading) without deleting and re-creating them.

If the list warns, a customer group has no special price or the special price is not a reduction compared to the 30-day low.

Box and OPC portlet #

  • Box: under Darstellung → Boxen (layout → boxes), place the box “Mignuti Tagesangebot” in the sidebar or footer.
  • OPC portlet: in the OnPage Composer, drag the portlet “Tagesangebot” from the Mignuti group onto a page.
  • Home page: via the setting “Auf der Startseite zeigen”.

Change texts via the language variables mig_dd_* (German and English included), for example mig_dd_ends for “Offer valid until …”.

Lowest price of the last 30 days #

Anyone announcing a price reduction must state the lowest total price of the 30 days before it (§ 11 PAngV). The plugin calculates it from the JTL-Shop price history, which is written on every Wawi sync.

  • If the price history is missing (product not synced in that period), the plugin shows the regular price and warns in the admin.
  • For special prices NOVA also shows the regular price as an “instead of” price and “SALE x %”. If the 30-day low is lower, this comparison can mislead. If in doubt, switch off the “instead of” display (“Artikeldetails → Sonderpreisanzeige”).
  • Mignuti templates calculate strike-through price and percentage against the 30-day low and hide both when there is no real reduction.

This is not legal advice. If in doubt, ask your legal adviser.

Troubleshooting #

  • The deal does not appear: does the product have an active special price for the visitor's customer group? With “Nur mit aktivem Sonderpreis = yes” the deal stays hidden otherwise. Also check start and end (shop time).
  • The deal ends earlier than planned: if the special price in JTL-Wawi ends earlier, the deal ends with it.
  • The 30-day price equals the regular price: the price history for the period is missing. Check the price yourself.
  • No countdown without JavaScript: the remaining time is shown when the page loads. The end date is always shown as text.
  • The period cannot be saved: periods must not overlap with another deal.

Uninstalling #

Uninstalling deletes the table xplugin_mignuti_dailydeal_deals, the box, the portlet, settings and texts.