Viewing 1 replies (of 1 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @tom-van-m,

    I edited the code snippet that I wrote for you here, to reduce the space between bundle items, adding an extra selector to do the same for composite items too:

    /**
     * WooCommerce PDF Invoices & Packing Slips:
     * Reduce the space between bundle and composite items
     */
    add_action( 'wpo_wcpdf_custom_styles', function( $document_type, $document ) {
    	?>
    	.order-details tr.bundled-item td,
    	.order-details tr.component_table_item td {
    		padding-bottom: 0;
    		padding-top: 0;
    	}
    	<?php
    }, 10, 2 );

    Let me know if it worked!

Viewing 1 replies (of 1 total)
  • The topic ‘Less whitespace between composite products in packing slips and invoice’ is closed to new replies.