Hi @loopforever,
Yes, I was thinking of removing the whole table. CSS came to mind but I was looking for another solution.
To remove the order data table from packing slips, you can indeed use CSS. Please add this code snippet to your site to do so:
/**
* Hide the order data table
*/
add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles', 10, 2 );
function wpo_wcpdf_custom_styles ( $document_type, $document ) {
if ( $document_type == 'packing-slip' ) {
?>
td.order-data {
display: none;
}
<?php
}
}
If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use filters
Also a suggestion: It would be perfect if you bring a feature to the plugin for Dokan. It may even be premium. I am pleased. Because you are interested in the plugin.
In fact, our plugin is already compatible with Dokan. You just need to install their Dokan Invoice extension to add your sellers’ info on the invoice.