Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hello @swerlz

    If you are referring to the discount in the totals you can remove it using the code snippet below inside your theme functions.php file:

    add_action( 'wpo_wcpdf_custom_styles', function( $document_type, $document ) {
    	?>
    	.order-details .discount { display: none; }
    	<?php
    }, 10, 2 );

    if you never worked with actions/filters please read this documentation page: How to use filters

    Thread Starter swerlz

    (@swerlz)

    thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove Discount’ is closed to new replies.