Mignuti Motor: help & documentation
A sober, technical JTL template for car parts, accessories and workshop supplies.
Installing in JTL-Shop #
Requirements: JTL-Shop 5.8 or later with the NOVA template.
- In the admin, open Darstellung → Templates and upload the ZIP file (top folder
MignutiMotor). Or copy the folder totemplates/. - Activate MignutiMotor. On activation the template writes its default settings and language variables.
- Adjust the settings in the Mignuti Motor section (phone, guides link, hero image).
- Edit the texts with the prefix
mounder Sprachvariablen – at leastmoOilAddress(used-oil collection point) andmoFooterAddress.
Settings #
The template settings are under Darstellung → Templates → MignutiMotor.
- Theme: style variation, left sidebar.
- Header: menu in its own row, behaviour on scroll, menu alignment, width.
- Mignuti Motor: word mark instead of a logo file, service bar, description column in the mega menu, mobile bar, vehicle finder, name of the vehicle characteristic, "fits" table, start page sections (vehicle finder, benefits, categories, part manufacturers, workshops with quick order, guides), trade notices, data sheet box, OE and cross-reference numbers, list badges, quick order in the basket, parts advice phone number.
- SEO & Barrierefreiheit (Mignuti): JSON-LD instead of NOVA microdata, type of business (schema.org), net-price notice for customer groups with net prices.
Style variations and colours #
Two style variations are available under Theme:
- Motor: light, steel blue and signal red.
- Garage: dark header, menu, hero and footer in asphalt with warning yellow, light content.
Text colours meet WCAG 2.2 AA in both variations.
Your own colours:
- Small additions without compiling:
themes/<theme>/custom.css. - Palette:
themes/<theme>/sass/_variables.scss. Then compile with the free JTL Theme-Editor plugin or withphp cli compile:sass --templateDir=MignutiMotor.
Maintaining vehicle data #
All vehicle features use one JTL characteristic. Set its name under Mignuti Motor → name of the characteristic (default: Fahrzeug).
- Create the characteristic
Fahrzeugin JTL-Wawi (type text, one value per vehicle). - Enter
Make > Model > Engineas the value. Separators>,›or|work. - Put the key numbers into the value description, for example
HSN/TSN: 9999/AAB, 9999/AAD. - Assign every vehicle the item fits.
- For universal parts, set the function attribute
mig_passttouniversal. "Universell einsetzbar" then replaces the table.
Values without items are not offered. The vehicle tree is kept in the JTL object cache and rebuilt after the next sync or cache flush. Recommended for up to a few hundred vehicles (about 80 bytes per vehicle in the page).
Licensed vehicle databases are paid and not included. A plugin can replace or extend the vehicle tree through the event mignuti.motor.vehicles. The template then shows those vehicles everywhere.
The chosen vehicle is stored only in the visitor’s browser (localStorage mo-vehicle). In product lists, "Diese Liste auf mein Fahrzeug einschränken" narrows the list with a JTL filter.
Part numbers and search #
- OE numbers: function attribute
mig_oe. - Cross-reference numbers: function attribute
mig_vergleich(comma-separated).
Important: JTL's search does not search attributes. Also put the numbers into the item’s Suchbegriffe (search terms) – with and without spaces, for example LG 615 301 A LG615301A. Both spellings are then found.
JTL searches item number, manufacturer number (HAN) and GTIN anyway.
Deposit, used oil, dangerous goods and approval #
You control the notices with function attributes in JTL-Wawi. The sample wordings are language variables (moBattery…, moOil…, moCore…, moHazard…, moApproval…). Check them for your shop – this is not legal advice.
mig_pfand(amount, e.g.7,50): "zzgl. 7,50 € Batteriepfand" next to the price, deposit notice, list badge.mig_altteilpfand(amount, e.g.60,00): "zzgl. 60,00 € Altteilpfand" next to the price, exchange part notice.mig_altoel(ja): used-oil take-back notice with the collection point frommoOilAddress.mig_zulassung(abe,e:E1 12345,eintragungorkeine): approval notice, withkeinethe badge "Ohne Straßenzulassung".- JTL fields UN number and hazard number (e.g.
UN 2794/80): dangerous goods notice and badge.
Deposits are shown, not charged. JTL-Shop has no deposit line item. To charge it in the basket, use the plugin Mignuti Pfand.
Dangerous goods shipping: give such items their own shipping class (e.g. "Gefahrgut") and allow it only for suitable shipping methods (Versandarten → Versandklassen).
Also fill in JTL's special page Batteriegesetzhinweise.
Images #
- Hero area: by default the template shows a bundled technical drawing (SVG). Set a photo under Bild im Titelbereich.
name-960.jpgandname.webpnext to it are used automatically. - Category images are shown small (square, about 160 px). Upload them at about 320 px.
- Category tiles on the start page get a srcset from JTL's generated sizes.
Working with Mignuti plugins #
Mignuti Motor was tested in the demo together with these Mignuti plugins for JTL-Shop:
- Mignuti Pfand: charges battery and exchange-part deposits as their own basket line. It reads the same attributes as the template.
- Mignuti Brutto-Netto-Umschalter (gross/net toggle)
- Mignuti Tagesangebot (daily deal, with the 30-day lowest price)
- Mignuti Menü-Badges (category attribute
mig_badge) - Mignuti Mehr laden ("Weitere Artikel anzeigen")
- Mignuti GTIN-Prüfung (GTIN check)
Troubleshooting #
- The shop answers HTTP 500 after activation. JTL otherwise writes template settings only on the first save. Mignuti Motor does this on activation. If the error still occurs, open the template settings and click Speichern.
- A vehicle is missing in the finder. Values without assigned items are not offered. After changes in JTL-Wawi it appears after the next sync or cache flush.
- Search does not find an OE number. Also add the number to the search terms, with and without spaces.
- The deposit is missing in the basket. The template only shows deposits. To charge them you need Mignuti Pfand.
- Colour changes do not show. SCSS changes need to be compiled. Then clear the cache.