Hi @timmx,
Try activating this code snippet in your site to achieve waht you want:
/**
* PDF Invoices & Packing Slips for WooCommerce:
* Adds custom styles to the PDF documents
*/
add_action( 'wpo_wcpdf_custom_styles', function( $document_type, $document ) {
?>
/* Remove SKU and Weight */
.sku, .weight {
display: none;
}
/* Reverse the table header colors */
.order-details thead th {
color: black;
background-color: white;
border-color: #ccc;
}
<?php
}, 10, 2 );
If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use filters
Thread Starter
timmx
(@timmx)
Thank you! this solved my problem.
Hi @timmx,
Thanks for confirming that the code snippet worked for you!
If you don’t mind and have the time, do you think you could leave us a review?
Thanks in advance and all the best with your store!