Mignuti Fahrzeugbestand: help & documentation
Your vehicle stock from mobile.de or AutoScout24, right in your JTL-Shop.
Installation in JTL-Shop 5 #
Requirements: JTL-Shop 5.8 or later, PHP 8.3 or later, NOVA or a NOVA child template, dealer API access at mobile.de or AutoScout24. The plugin uses GD for the small preview images.
- In the admin, open Plugins → Plugin manager and upload the ZIP file.
- In the Available tab, tick the plugin and click Install.
- Under Settings, choose the Quelle der Fahrzeuge (vehicle source).
- In the Abgleich (sync) tab, enter the credentials and click Verbindung testen (test connection).
- Click Jetzt abgleichen (sync now). After that the JTL cron takes over.
- Add the “Fahrzeuge” page to a visible link group if it does not appear in the menu.
Settings #
- Quelle der Fahrzeuge (vehicle source): mobile.de (listing integration / Search API, default) or AutoScout24 (Listing Creation API). After a switch, the next successful sync replaces the vehicles of the previous source.
- Automatischer Abgleich (automatic sync): hourly (recommended), every 3 hours, twice a day or daily.
- Fahrzeuge pro Seite (vehicles per page, default 12, 1–60): number per page of the vehicle list.
- Höchstens Fotos pro Fahrzeug (max. photos per vehicle, default 20, 1–50): how many photos are downloaded and stored per vehicle.
- Kontakt: E-Mail-Adresse (contact e-mail): shown on vehicle pages for enquiries. Empty = address from the listing (mobile.de) or the shop e-mail address.
- Kontakt: Telefon (contact phone): empty = first phone number from the listing (only mobile.de provides one).
- Verbrauchswerte bei Gebrauchtwagen (consumption values for used cars): show when WLTP values are provided (default), always show when values exist, or do not show. New cars and pre-registered cars up to approx. 1,000 km always show consumption, CO₂ and CO₂ class.
- Hinweis bei Neuwagen (note for new cars): optional sentence below the price, e.g. “price incl. delivery costs”.
Credentials are deliberately not here but in the Abgleich (sync) tab.
Entering credentials #
Enter the credentials in the plugin tab Abgleich (sync):
- mobile.de: user name, password and customer number for the listing integration (Search API).
- AutoScout24: a data supplier account for the Listing Creation API and your AutoScout24 customer ID.
The password is stored encrypted with a key derived from BLOWFISH_KEY and is never output or logged again. That is why it is not in the regular JTL settings, which would write passwords into the page in plain text.
Alternatively, put the credentials as constants in includes/config.JTL-Shop.ini.php: MIG_VEHICLES_MOBILEDE_USER, MIG_VEHICLES_MOBILEDE_PASSWORD, MIG_VEHICLES_MOBILEDE_CUSTOMER or MIG_VEHICLES_AS24_USER, MIG_VEHICLES_AS24_PASSWORD, MIG_VEHICLES_AS24_CUSTOMER.
AutoScout24 has a test mode: define('MIG_VEHICLES_AS24_TESTMODE', true); reads the AutoScout24 test stock.
Sync #
The sync runs via the JTL cron at the set interval and on demand in the Abgleich (sync) tab.
- First the plugin loads the stock list (mobile.de: 1 request per 100 vehicles, AutoScout24: 1 request).
- Then it only fetches new or changed vehicles. An unchanged stock needs 1–2 requests.
- Large stocks are processed in stages of about 20 seconds.
Safety rules: marketplace errors never delete anything. If the marketplace suddenly returns nothing or more than half is missing, vehicles are only removed after a second run. With AutoScout24, drafts and deactivated listings are never imported.
Buttons in the tab: sync now, test connection, reload everything, remove all vehicles. Below them are the last runs with counts and requests.
Photos are stored under mediafiles/mignuti_vehicles/: the original plus a small 640 px version (WebP, JPEG without WebP support).
Vehicle list and vehicle pages #
Vehicle list (/fahrzeuge, English /vehicles): filters for make, fuel and condition, sorting and paging, usable without JavaScript. Tiles with photo, price, VAT note, key data and, where required, consumption details.
Vehicle page (/fahrzeuge?fahrzeug=<name>): own page title, meta description and canonical URL, photos, price with “VAT deductible” (and net) or “margin scheme under § 25a UStG”, technical data, equipment, description, consumption and CO₂ under the German Pkw-EnVKV with CO₂ class scale (plug-in hybrids weighted and discharged), contact by phone and e-mail.
Sold vehicles show a notice and return HTTP 404.
The plugin shows price and consumption values exactly as in the listing. You remain responsible for complete and correct details. Not legal advice.
Privacy #
Requests only go from the shop server to the marketplace:
- mobile.de:
services.mobile.de,img.classistatic.de - AutoScout24:
listing-creation.api.autoscout24.com,prod.pictures.autoscout24.net
No visitor data, no cookies, no JavaScript in the storefront.
Suggested text for your privacy policy (German): „Unsere Fahrzeugangebote stammen aus unserem Händlerkonto bei mobile.de bzw. AutoScout24. Der Shop kopiert Inseratsdaten und Fotos regelmäßig auf den eigenen Server; beim Aufruf der Fahrzeugseiten baut Ihr Browser keine Verbindung zur Börse auf.“
Troubleshooting #
- Connection fails: check credentials and customer number in the Abgleich tab with Verbindung testen. Does the selected source match the credentials?
- The sync does not start automatically: is the JTL cron running? The Abgleich tab shows the last runs.
- Vehicles do not disappear immediately: if more than half is suddenly missing, the plugin only removes vehicles after a second run. This is a safety rule.
- AutoScout24: no phone on the vehicle page: dealer address and phone are not part of the listing. Enter the contact in the settings.
- Preview images are large: without GD or for narrow photos the page uses the original. Photos from 0.1.0 get the small version on the next sync.
- Consumption values missing for used cars: check “Verbrauchswerte bei Gebrauchtwagen”. The default is “only with WLTP values”.
Uninstalling #
Uninstalling with “delete data” removes the tables xplugin_mignuti_vehicles_items and xplugin_mignuti_vehicles_state, the cron entry and the photos.