Admin filter for product SKU?
I used a plugin “WooCommerce Filter Orders by Product” and modified their search by ID, added a get_post_meta(), and now have the ability to filter products by ID. Plugin: https://en-ca.wordpress.org/plugins/woocommerce-filter-orders-by-product/ Modified code: // Display dropdown function foa_product_filter_in_order(){ global $typenow, $wpdb; if ( ‘shop_order’ != $typenow ) { return; } $sql=”SELECT ID,post_title FROM $wpdb->posts WHERE post_type=”product” … Read more