In some workflows, warehouse staff should only scan barcodes and not manually click Pick / Unpick buttons. This keeps the process fast, consistent, and reduces the risk of mistakes—especially when using dedicated barcode scanners.
Pick List for WooCommerce allows you to hide these buttons selectively based on user role (e.g., Shop Managers), while administrators still keep full control.
Barcode scanning will still work as usual ✔️
Orders will still update ✔️
Only the buttons are hidden ❌
Hide Pick / Unpick buttons for Shop Managers
Add the following snippet to your site using a plugin like Code Snippets, or paste it into your theme’s functions.php file:
/**
* Hide Pick / Unpick buttons on the Pick List — only for Shop Managers.
* Administrators still keep full access.
*/
add_action( 'admin_head', function() {
// Admins should keep access
if ( current_user_can( 'administrator' ) ) {
return;
}
// Limit only to users who can normally access WooCommerce
if ( ! current_user_can( 'manage_woocommerce' ) ) {
return;
}
// Ensure we are on the Pick List screen
$screen = get_current_screen();
if ( ! $screen || $screen->base !== 'woocommerce_page_picklist' ) {
return;
}
?>
<style>
/* Hide Pick & Unpick control buttons */
#cas-picking-table td .cas-btn,
#cas-picking-table td .cas-ubtn {
display: none !important;
}
</style>
<?php
});
Notes
- You can modify the snippet to target custom roles (e.g.,
warehouse_worker). - If you prefer to hide the entire Actions column instead, that can also be done.
- If you want this to become a built-in setting inside Pick List for WooCommerce, let me know—easy to add.