← Back to Setup Docs

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)

  1. Install and activate RegPilot (Free) and RegPilot Pro in WordPress.
  2. Open Settings → RegPilot and enter your free DVLA VES & DVSA MOT API keys (or leave Sandbox Demo Mode enabled while testing with AB21 CDE).
  3. 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).
  4. 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).
  5. Click Save Settings.

What Happens When a Customer Books

Related Guides

Get RegPilot Pro for WooCommerce (£79/yr) →