Support » Plugin: WooCommerce PDF Invoices & Packing Slips » remove weight from invoice

  • Resolved ajna667

    (@ajna667)


    Hello how to remove product weight on invoice and on packing slip, with a snippet?
    and how to remove page footer only for packing slip?
    big thinks

Viewing 1 replies (of 1 total)
  • Plugin Support kluver

    (@kluver)

    Hi @ajna667,

    The following snippet should do the trick:

    add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles' );
    function wpo_wcpdf_custom_styles () {
    	?>
    	dt.weight,
    	dd.weight,
    	.packing-slip #footer {
    		display: none;
    	}
    	<?php
    }

    This snippet should be added to the functions.php of your child theme. If you haven’t worked with code snippets or functions.php before please read this: How to use filters

Viewing 1 replies (of 1 total)
  • The topic ‘remove weight from invoice’ is closed to new replies.