PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Search by SKU by default

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

Is there any way to make it default to search by SKU instead of title currently.

Thank you in advance.

Hello

Do you  mean  this   filter - https://clip2net.com/s/4bNOCTO ?

Try  to  add  it  in  functions.php:

add_filter('woobe_quick_search_options',function($arg){

$arg = array(

'sku' => __('SKU', 'woocommerce-bulk-editor'),
'post_title' => __('Title', 'woocommerce-bulk-editor'),
'post__in' => __('ID', 'woocommerce-bulk-editor'),
);

return $arg;

)};

Hello,

Yes it is, but I just added the code in my functions.php and it causes a 503 error : https://ibb.co/CK5zMCK

 

 

 

Hello

Please  add this  code(I tested  it)

add_filter('woobe_quick_search_options',function($arg){

$arg = array(

'sku' => __('SKU', 'woocommerce-bulk-editor'),
'post_title' => __('Title', 'woocommerce-bulk-editor'),
'post__in' => __('ID', 'woocommerce-bulk-editor'),
);

return $arg;

});

Hello,

Thank you, it's perfect!

Hello

Welcome;)