Weight in packing slip | WordPress.org

[ad_1]

Hi @gabrielnorell,

Yes, it is! Try with the following code snippet:

/**
* PDF Invoices & Packing Slips for WooCommerce
* Apply custom styles to the PDF documents
*/
add_action( 'wpo_wcpdf_custom_styles', function( $document_type, $document ) {
?>
/* Hide the weight in the packing slips */
.packing-slip .item-meta .weight { display:none !important; }
<?php
}, 10, 2 );

If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use code snippets

If you are using the customizer included in the Premium Templates extension (part of the bundle), please note that you would not need any code, but just to uncheck the “Show weight” option, within the “Product” column:

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer