• Resolved ash155

    (@ash155)


    Hi there. Great plugin! One question – we like the ‘business’ template, but is there a way to add lines between each order item? Currently there’s no divider and it’s hard to separate them when looking at the packing slip (some items are bundles and the contents show under the main item name, so the line needs to be under the last option so the bundle contents remain as a ‘block’ with the parent name). Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Contributor dwpriv

    (@dwpriv)

    @ash155

    Give this snippet a try:

    /**
     * Add row bottom borders
     */
    add_action( 'wpo_wcpdf_custom_styles', function( $document_type, $document ) {
    	?>
    		.order-details tr {
    			border-bottom: 1px lightgray solid;
    		}
    	<?php
    }, 10 , 2 );

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

Viewing 1 replies (of 1 total)

The topic ‘Lines between order items’ is closed to new replies.