Lot & Batch Traceability + Recall Notices
Add-on ID: kv_lot_batch_traceability · Edition: CS-Cart & Multi-Vendor · Latest version: 1.0.1 · Compatible with: CS-Cart & Multi-Vendor 4.17.2 – 4.22.x, PHP 7.4 – 8.3 · Changelog: view
Lot & Batch Traceability + Recall Notices records which lot of a product went to which customer, and gives you a clean way to act when a lot has a problem. You receive stock as lots (lot number, production date, expiry date, quantity, supplier), orders take their units from those lots (the lot that expires first by default), and the lot number is written on the order, the invoice, the packing slip and the shipment. Months later you type a lot number and see every order and customer that received it. If a lot is recalled, you start a recall: orders stop taking the lot, every affected order and customer is listed, a notice e-mail goes out, a notice page appears on your store, and you export the whole file for an authority.
It is made for stores that sell food, cosmetics, supplements, electronics, e-bikes and batteries, or anything else where a defect or a supplier problem can hit one batch only, and for Multi-Vendor marketplaces where each vendor owns its lots and you see the whole register.
Why records matter now
Section titled “Why records matter now”Two EU rules put the seller’s records in focus. This is information about what the add-on helps you keep, not legal advice; check the official texts and your national law.
- Directive (EU) 2024/2853 (new Product Liability Directive): Member States must adopt the national rules by 9 December 2026 (Article 22), and the new rules apply to products placed on the market after that date. A claimant can ask a court to order a defendant to disclose relevant evidence (Article 9), and claims can be brought for years after a product was placed on the market (Article 17). Whether you, as a seller, can be held liable depends on your role and on the national law, which is still being adopted in several countries. Official text: EUR-Lex, Directive (EU) 2024/2853.
- Regulation (EU) 2023/988 (General Product Safety Regulation, GPSR): manufacturers (Article 9) and distributors (Article 12) have duties for product identification and documentation, accidents must be notified through the Safety Business Gateway (Article 20), and in a product safety recall the affected consumers who can be identified must be notified directly, using the customer data the business holds (Article 35). A written recall notice must have the headline “Product safety recall” and the content listed in Article 36, and the consumer must be offered a remedy (Article 37). Which of these duties apply to you depends on your role. Official text: EUR-Lex, Regulation (EU) 2023/988.
Lot records, order links and recall logs are the kind of evidence these rules talk about. The add-on does not decide what you must do and does not make your store compliant; it keeps the records and the recall workflow in one place.
The five everyday workflows
Section titled “The five everyday workflows”| You need to | How the add-on does it |
|---|---|
| 1. Receive a lot | Products → Lots & recalls → Add lot: product, lot number, production and expiry date, quantity, supplier, delivery reference and a certificate note. Or import a CSV. The lot stock is kept next to the normal product stock. |
| 2. Sell from the right lot | When an order is placed, the add-on takes the units from your lots: the lot that expires first (FEFO), the lot received first (FIFO), or the lot you choose on the order page. Expired lots, lots on hold and lots that expire too soon are skipped. |
| 3. Print the lot where the customer and the auditor look | The lot number appears on the order page, the invoice, the packing slip, order e-mails and the shipment record, without editing any template. |
| 4. Find who got a lot | Trace a lot: type a lot number (or part of it), a customer or an order. You see every order, customer, quantity and shipped quantity, and you can export the result. |
| 5. Run a recall | Pick the lots, write what is wrong and what customers should do, activate: orders stop taking the lots and the affected orders and customers are listed. Send the notice e-mail, publish a notice page, track who read it and who returned the product, and export the file for the authority. |
Features
Section titled “Features”- Lots per product (product variations are separate products in CS-Cart, so each variation has its own lots). Production date, expiry date, quantity, supplier, delivery reference, certificate note, status (active, on hold, recalled, closed), CSV import and export.
- Allocation at order placement with FEFO, FIFO or manual choice, set for the store and overridden per product; minimum shelf life in days; expired, held and recalled lots are never picked automatically. Stock per lot is moved atomically, so two orders never take the same unit.
- Admin override: assign or remove lots on the order page, assign a held or expired lot after an explicit tick, correct a lot’s stock with a history line.
- Order edits and cancellations keep the lots right: cancelled, declined and failed orders give the units back, an order that comes back is allocated again, a shrinking line returns units, a deleted order returns everything.
- Shipments record which lot left in which shipment (partial shipments included).
- Lot on documents: order page (admin and customer), invoice, packing slip, order e-mails, with a switch for customers.
- Trace a lot: orders and customers by lot number, customer or order, with totals and CSV export; the lot page lists its orders and its history.
- Recall workflow: draft, activate, notify, close. One notice e-mail per customer (editable e-mail template), a private notice page per customer with an “I have read this” button, a public “Product recalls” page and a lot-number check for visitors, outcome tracking per line, and a log with times.
- Authority file: CSV with every lot, order, customer, notice and outcome; a printable recall report and lot history (PDF when the core PDF documents add-on is active); the activity log as CSV.
- Multi-Vendor: vendors manage the lots and recalls of their own products and orders; the marketplace owner sees everything and can run recalls across vendors.
- Records are kept: uninstalling the add-on keeps the lot and recall records unless you tick the delete setting first.
- Safe on the storefront: nothing is printed on cached pages; the notice pages and the order page are not cached by the 4.21 full page cache.
What it does not do
Section titled “What it does not do”- It does not change the normal product stock. Lot stock is a parallel count; the Lots tab of a product shows both so you can see differences. You can tick Also add this quantity to the product stock when you receive a lot.
- It does not decide whether a product is unsafe, and it does not report to authorities for you. It gives you the data to do that.
- A recalled or held lot is no longer allocated to orders, but the product itself stays on sale with its normal stock. If no other lot is left, set the product stock to zero or disable the product.
- Returns (RMA) do not put units back into a lot automatically: if returned goods go back on the shelf, correct the lot quantity on the lot page.
- Lots are kept per product, not per warehouse or store location (Warehouses add-on): the lot stock is one count for the product.
- The notice e-mail and pages give the headline “Product safety recall”, the products, lot numbers, the problem, what to do and your contact. Check that your text covers everything your authority and Article 36 GPSR ask for (for example a picture and brand of the product, the hazard and the remedy you offer) and write it in the language of your customers.
- Quantities are whole numbers.
- Orders placed before you created the lots have no lot. You can assign lots to them by hand on the order page.
See Installation, Configuration, Usage, FAQ and Developer notes.