How to Add UK Vehicle Reg Lookup to WooCommerce Checkout (Block & Classic)
If you sell MOT tests, interim or full car services, tyre fitting, alloy refurbishment, detailing, or ECU remapping through WooCommerce, asking customers to manually type their make, model, and engine size causes constant errors.
RegPilot Pro adds native UK vehicle registration lookup to both the modern WooCommerce Checkout Block (WooCommerce 8.9+ / HPOS) and Classic Checkout—using your own free official DVLA & DVSA API keys with zero per-lookup credit fees.
Why Older WooCommerce Reg Lookup Snippets Break
Most older WooCommerce tutorials hook into woocommerce_checkout_fields and read $_POST on woocommerce_checkout_update_order_meta. On modern WordPress sites using the default React-based WooCommerce Checkout Block and High-Performance Order Storage (HPOS), those legacy hooks silently fail.
RegPilot Pro uses WooCommerce's official Additional Checkout Fields API (woocommerce_register_additional_checkout_field) and WC_Order::update_meta_data(), while also keeping full support for Classic [woocommerce_checkout] stores.
Step-by-Step Setup (Takes Under 5 Minutes)
- Install and activate RegPilot (Free) and RegPilot Pro in WordPress.
- Open Settings → RegPilot and enter your free DVLA VES & DVSA MOT API keys (or leave Sandbox Demo Mode enabled while testing with
AB21 CDE). - Under Section 5: Service Pricing Tiers, set your workshop's engine-size thresholds (default: Small ≤1600cc, Medium ≤2000cc, Large >2000cc; Electric and Hybrid are detected automatically).
- Under Section 6: WooCommerce Block & Classic Checkout Integration, check Enable UK vehicle registration lookup on WooCommerce Checkout (and optionally check Require customers to enter a UK registration).
- Click Save Settings.
What Happens When a Customer Books
- On Block Checkout: Customers see a UK Vehicle Registration field with an inline yellow Verify UK Plate button that previews their verified vehicle, service tier, and MOT status right before checkout.
- Server-Side Enrichment (Tamper-Proof): When the order is placed, RegPilot Pro enriches the HPOS order server-side so Make, Model, Year, Fuel, Engine CC, Service Tier, MOT Expiry, and Latest MOT Advisories are always saved cleanly.
- In WP Admin & Workshop Emails: Your team sees a dedicated Vehicle Details (RegPilot Pro) card inside every WooCommerce Order and inside New Order admin emails—including the car's last MOT advisories (e.g. worn tyres or thin brake pads) so technicians can prepare quotes before the vehicle even arrives.