If you only want to show the product thumbnail, SKU, and barcode/scanner support in the Pick Order table, you can use a custom snippet.
This snippet removes the visible product name, variation/bundle details, and other extra product fields from each order row, while keeping the SKU and the plugin’s barcode element intact. That means barcode scanning and related Pick List JavaScript functionality will continue to work as normal.
Important notes:
- This only affects the
Pick Ordertable view - It does not change the actual order data
- It does not affect PDF/print output
- It does not affect Grid View unless separately customized
You can add the snippet with a snippets plugin or in custom admin-side code.
Code:
add_action( 'admin_footer', function() {
$page = isset( $_GET['page'] ) ? sanitize_key( wp_unslash( $_GET['page'] ) ) : '';
$tab = isset( $_GET['tab'] ) ? sanitize_key( wp_unslash( $_GET['tab'] ) ) : '';
if ( 'picklist' !== $page || 'single' !== $tab ) {
return;
}
?>
<script>
document.addEventListener('DOMContentLoaded', function () {
document.querySelectorAll('#cas-picking-table td.cas-tbl-head').forEach(function (cell) {
Array.from(cell.childNodes).forEach(function (node) {
if (node.nodeType === Node.ELEMENT_NODE) {
if (
node.classList.contains('cas-tbl-sku') ||
node.classList.contains('cas-barcode')
) {
return;
}
node.remove();
return;
}
if (node.nodeType === Node.TEXT_NODE) {
node.remove();
}
});
});
});
</script>
<?php
} );