etechflow / module-vehicle-compat
etechflow/module-vehicle-compat
Universal Product Fitment Finder for Magento 2. Make/Model/Year/Part filtering on any fitment domain — automotive, motorcycle, marine, RV, bicycle, phone accessories, watch straps, appliance parts, or any product where customers ask "will this fit my X?". Admin-configurable labels and field visibility. SEO-friendly URLs, PDP fitment badges, customer garage. Theme-agnostic — Hyvä, Luma, custom themes.
ETechFlow_VehicleCompat — Vehicle Compatibility + Part Finder for Magento 2
A complete vehicle compatibility (Make / Model / Year / Part) system for Magento 2 stores selling automotive products. Theme-agnostic by design — bundles its own Alpine.js loader so it works on Hyvä, Luma, and any custom theme without code changes.
- Version: 1.0.0
- Package:
etechflow/module-vehicle-compat - Magento: 2.4.4 – 2.4.8
- PHP: 8.1, 8.2, 8.3
- License: proprietary (see
LICENSE.txt) - Vendor: ETechFlow — https://etechflow.com
What's in the box
Two halves of one feature, intentionally bundled in one module:
Half 1 — Vehicle compatibility data
vehicle_compat_dataproduct attribute (JSON) storing every (Make, Model, Year) combination a product fits.parts_requiredproduct attribute (multi-select) tagging which part-types each product covers (key blade, transponder, immobilizer chip, etc.).- Admin CRUD for Makes and Models under Catalog → Vehicles → Makes / Models.
- CSV import for bulk-loading vehicle compatibility data (
bin/magento etechflow:vehiclecompat:import-parts). - Product edit form modifier — a visual Make/Model/Year picker tab on every product, so the admin doesn't hand-edit JSON.
Half 2 — Part Finder widget
/kvc/options/index— server-side filtered options endpoint. Each dropdown click sendsfield=make|model|year|part+ current selections, server applies bidirectional filter and returns only matching options./kvc/tree/index— full vehicle tree (cached, browser-cacheable for 1h)./kvc/find/index— find-parts results page that filters the catalog by the customer's vehicle.- Shareable form fragment (
ETechFlow_VehicleCompat::partfinder/form.phtml) that drops into any layout — header modal, hero section, PDP sidebar, all use the same template. - Self-contained Alpine.js bootstrap — on Hyvä stores Alpine is already loaded; on Luma / custom themes the bootstrap lazy-loads Alpine from a CDN (URL is overridable for stores that want to self-host).
- Shared Alpine store so multiple form instances on the same page (desktop hero + mobile hero + header modal) stay in sync.
Theme compatibility
| Theme | Status | What happens |
|---|---|---|
| Hyvä (Tailwind + Alpine) | ✅ Native | Alpine is global. The bootstrap shim becomes a no-op. Module just works. |
| Luma / Blank | ✅ With bootstrap | The bootstrap shim detects no Alpine and lazy-loads it from a CDN. Module works. |
| Custom themes (Luma parent) | ✅ With bootstrap | Same as Luma. |
| Custom themes (Hyvä parent) | ✅ Native | Same as Hyvä. |
| Air-gapped / no-CDN stores | ⚠️ Self-host Alpine | Replace the CDN URL in view/frontend/web/js/alpine-bootstrap.js with your self-hosted Alpine URL, or pre-install Alpine in your theme. |
| Headless / PWA Studio | ⚠️ Use API only | Use /kvc/options/index directly from your headless storefront. The PHP-rendered form fragment is skipped in headless. |
See COMPATIBILITY.md for the full audit.
Quick start
# 1. Extract into your Magento root
unzip etechflow-module-vehicle-compat-1.0.0.zip -d <magento-root>/
# 2. Enable + migrate (creates DB tables + product attributes)
cd <magento-root>
bin/magento module:enable ETechFlow_VehicleCompat
bin/magento setup:upgrade
bin/magento setup:di:compile # production-mode only
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
# 3. Visit the admin
open https://your-store.example.com/admin/etechflow_vehicle/make/index
# (Admin sidebar → Catalog → Vehicles → Makes / Models)
# 4. Embed the Part Finder on your homepage / header
# Reference: USAGE.md → "Embedding the Part Finder form"
Documentation index
| File | Purpose |
|---|---|
README.md |
Overview, features, theme matrix (this file) |
INSTALL.md |
Manual + Composer install + verification + troubleshooting |
USAGE.md |
Admin walk-through (Make/Model CRUD, product editor, CSV import) + how to embed the Part Finder widget |
CONFIGURATION.md |
Alpine bootstrap CDN URL, server-side filter behavior, caching |
COMPATIBILITY.md |
Theme + Magento + PHP matrix and the design choices that keep it portable |
CHANGELOG.md |
Version history |
UNINSTALL.md |
Clean removal |
LICENSE.txt |
proprietary license |
Support
- Email: [email protected]
- Include: Magento version, PHP version, active theme, sample product with vehicle data, screenshot.
License
proprietary — see LICENSE.txt.
Changelog — ETechFlow_VehicleCompat
1.0.0 — 2026-05-20
First public release as a standalone, theme-agnostic Magento 2 module.
Added
- Vehicle compatibility data
vehicle_compat_dataproduct attribute (JSON) — Make / Model / Year tuples per productparts_requiredmulti-select product attribute- Admin Makes CRUD under Catalog → Vehicles → Makes
- Admin Models CRUD under Catalog → Vehicles → Models
- Product editor tab with visual Make/Model/Year picker (no hand-edited JSON)
- CSV import command:
bin/magento etechflow:vehiclecompat:import-parts
- Part Finder widget
- Reusable form fragment (
ETechFlow_VehicleCompat::partfinder/form.phtml) — embed anywhere - Server-side filtered options endpoint
/kvc/options/index(bidirectional) - Full vehicle tree endpoint
/kvc/tree/index(cached, browser-cacheable) - Find-parts results page
/kvc/find/indexwith category chips - Shared Alpine store keeps multiple form instances in sync (header modal + hero + sidebar)
- Reusable form fragment (
- Theme-agnostic JS bootstrap
alpine-bootstrap.jsdetects Alpine, lazy-loads it from CDN if absentkvc-part-finder.jsfactory function — loaded once via layout XML- Both loaded on every storefront page via
view/frontend/layout/default.xml
- Scoped namespaced CSS
.kvc-*class prefix prevents theme collisions- Inline
<style>block inpartfinder/styles.phtml
- Catalog filter integration
Plugin\Catalog\Layer\FilterByVehiclenarrows product collections by?make_id=&model_id=&year=&part_id=URL paramsPlugin\Catalog\Block\HideLayeredNavhides the layered nav on/kvc/find/indexpages
- Documentation bundle
- README, INSTALL, USAGE, CONFIGURATION, COMPATIBILITY, CHANGELOG, UNINSTALL, LICENSE
Compatibility
- Magento 2.4.4 – 2.4.8
- PHP 8.1, 8.2, 8.3
- Hyvä Theme (native — Alpine global)
- Luma / Blank / custom themes (Alpine auto-loaded from CDN)
- Adobe Commerce + Magento Open Source + Mage-OS
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.2.1 | stable | Fail | Magento 2.4.7-2.4.8 Details | 2026-06-03 16:12:56 |
| 1.2.0 | stable | Not tested | Not yet tested Details | 2026-06-03 13:22:54 |
| 1.1.1 | stable | Not tested | Not yet tested Details | 2026-06-03 13:03:05 |
| 1.1.0 | stable | Not tested | Not yet tested Details | 2026-06-03 10:56:25 |
| 1.0.3 | stable | Not tested | Not yet tested Details | 2026-06-03 10:47:01 |
| 1.0.2 | stable | Not tested | Not yet tested Details | 2026-06-03 10:45:39 |
| 1.0.1 | stable | Not tested | Not yet tested Details | 2026-06-03 10:29:19 |
| 1.0.0 | stable | Not tested | Not yet tested Details | 2026-06-03 10:22:30 |
Requires 6
| Package | Constraint |
|---|---|
| magento/framework | >=103.0 |
| magento/module-backend | >=102.0 |
| magento/module-catalog | >=104.0 |
| magento/module-store | >=101.0 |
| magento/module-ui | >=101.0 |
| php | ~8.1.0||~8.2.0||~8.3.0||~8.4.0 |
No QA results yet
QA pipelines haven't run for this version. Compatibility and quality results appear here once the vendor publishes a tagged release that gets ingested.
More from etechflow
View vendorDynamic 'View Other Options/Finishes/Sizes' PDP buttons driven by per-product link attributes; replaces hardcoded in-description buttons and strips the old ones at render time.
Theme-agnostic mega menu for Magento 2. Renders on Hyvä, Luma, Adobe Commerce default and custom themes via automatic runtime detection. Provides a JSON endpoint for lazy-loaded subcategory + featured-product data.
EtechFlow Store Locator — admin-managed store/branch finder for Magento 2 with a Leaflet + OpenStreetMap map and postcode proximity search (postcodes.io). Hyva and Luma compatible. No paid map API key required.
Universal Product Fitment Finder for Magento 2 — Make/Model/Year/Part filtering on any fitment domain (automotive, motorcycle, marine, RV, phone cases, watches, appliance parts, anywhere a customer asks "will this fit my X?"). Admin-configurable labels + URL prefix so the same module rebrands to any merchant domain. Includes PDP fitment badge, SEO URLs, customer garage with cross-device sync, OEM/part-number search, and admin tooltips throughout. Theme-agnostic — Hyvä, Luma, custom themes. Renamed from "module-vehicle-compat" in v2.0.0.
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.