Skip to content

Seekvane

Seekvane adds three kinds of match to the search box on WooCommerce > Orders. It has no settings and stores nothing. Type in the usual search box and click Search orders; Seekvane's matches are added to the orders WooCommerce finds itself.

Term What it finds
A product SKU, e.g. MUG-MATTE-01 Orders that contain that product. A variation SKU finds orders with that variation; the parent SKU finds every order with the product. The SKU must match in full; letter case does not matter.
A phone number, e.g. +48 600 100 200 Orders whose billing or shipping phone has the same last nine digits. Spaces, dashes, dots, slashes, brackets and + are ignored, so 0048 600-100-200 and 600100200 match too. At least seven digits are needed.
An amount, e.g. 123,45 or 123.45 Orders whose total is exactly that amount. 120 matches 120.00. Thousands separators are not read.

A term can match more than one way: 600100200 is tried as a phone and as an amount, and WooCommerce tries it as an order number.

Checked in the WooCommerce 11.3.1 source (OrdersTableSearchQuery for HPOS, WC_Order_Data_Store_CPT::search_orders() for orders stored as posts). Seekvane does not repeat any of it:

  • the order number (order ID);
  • customer name, company, address, city, postcode, country and email, through the billing and shipping address index;
  • the phone, but only as a substring of the number exactly as it was saved;
  • the names of all order lines: products, and also coupons (a coupon line is named after its code), shipping and fees;
  • on the HPOS screen, the payment transaction ID.
  • HPOS screen (admin.php?page=wc-orders): when the filter next to the search box is All. WooCommerce runs a fixed list of its own fields for All, so Seekvane joins its order IDs to that search group. Picking a single filter (Order ID, Customer email, Customers, Products) keeps WooCommerce's behaviour of searching only that field.
  • Classic screen (edit.php?post_type=shop_order, orders stored as posts): always, through the woocommerce_shop_order_search_results filter.

Only the admin order list is changed. My Account, the REST API and reports are not.

  • Each of the three lookups returns at most the 200 newest matching orders.
  • The phone lookup runs only for a term made of digits and phone punctuation; the amount lookup only for an amount. A text term runs the SKU lookup alone, which is one indexed query when the SKU does not exist.
  • Orders of a product that has been deleted are not found by its SKU, because the SKU is looked up on existing products. WooCommerce still finds them by product name.
  • Nine digits are compared because that drops the country or trunk prefix in most numbering plans. Two different numbers that share their last nine digits match each other.

WordPress 6.5, PHP 8.1, WooCommerce 8.9 or newer. The plugin declares HPOS compatibility.

There is nothing to clean up: Seekvane writes no options, no meta and no tables.