Mignuti Pfand: help & documentation
Battery deposit and core charge as a separate line in the basket.
Installation in JTL-Shop 5 #
Requirements: JTL-Shop 5.8 or later, PHP 8.3 or later, NOVA or a NOVA child template.
- In the admin, open Plugins → Plugin manager and upload the ZIP file.
- In the Available tab, tick the plugin and click Install.
- Maintain the function attributes on the products in JTL-Wawi (see below) and sync.
- Check the Settings.
- Place a test order and check in JTL-Wawi how the deposit line arrives (name, amount, tax).
Settings #
- Batteriepfand (Standardbetrag inkl. MwSt.) (default battery deposit incl. VAT, default
7,50): applies to products with the attributemig_pfandwithout their own amount, e.g. with the valueja. For starter batteries, § 19 of the German Battery Act (BattDG) sets €7.50 incl. VAT. An amount in the attribute takes precedence. - Positionstyp im Warenkorb (basket line type): “Bearbeitungsgebühr” (handling fee, default) or “Zinsaufschlag” (interest surcharge). Determines the JTL line type of the deposit in basket and order – important for the import into JTL-Wawi.
- Pfand neben dem Preis nennen (show deposit next to the price, yes): “plus €7.50 battery deposit” below the price on the product page. With the “Mignuti Motor” template the line is omitted automatically.
- Offenes Pfand im Kundenkonto zeigen (show open deposit in account, yes): logged-in customers see their open deposit under “My account” with the note from the language variable
mig_dep_account_info.
Maintaining deposits in JTL-Wawi #
Create a function attribute on the product:
mig_pfand– amount incl. VAT, e.g.7,50, orjafor the default amount. Creates the line “Batteriepfand: …”.mig_altteilpfand– amount incl. VAT, e.g.40,00. Creates the line “Altteilpfand: …”.
Variations inherit the parent product's attribute if they have none of their own. Sync the product afterwards.
The basket gets one line per product and deposit type. The quantity follows the product: 2 batteries give 2 × €7.50. Business customers in net-price customer groups see the deposit net.
Deposit overview and refunds #
The plugin tab Pfand-Übersicht (deposit overview) lists every order with a deposit and shows the total open deposit, i.e. what the shop still owes.
- The customer returns the old battery or core part.
- Set the status to “returned” and note e.g. the date received.
- Refund the deposit in JTL-Wawi (credit note or repayment via the payment method).
- Set the status to “refunded”, e.g. with the credit note number as a note.
Adapt the return instructions for your customers via the language variable mig_dep_account_info.
Troubleshooting #
- No deposit in the basket: does the product (or its parent) have the function attribute, and is it synced? The value must be an amount or
ja. - The line arrives wrongly in JTL-Wawi: change “Positionstyp im Warenkorb”. Depending on your Wawi settings, “Zinsaufschlag” may fit better than “Bearbeitungsgebühr”. Test again afterwards.
- The “plus … deposit” note appears twice or is missing: with “Mignuti Motor” the template shows the note itself and the plugin omits it. With other templates you control it via “Pfand neben dem Preis nennen”.
- Core charge terms: a core charge is a contractual arrangement. Amount, deadline and return conditions belong in your terms or the product description.
Uninstalling #
Uninstalling deletes the table xplugin_mignuti_deposit_items (deposit overview), settings and texts. Orders and product data remain untouched.