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

    (@yordansoares)

    Hi @sobesoft,

    If you’re using the customizer, included in Premium Templates, just go to WooCommerce > PDF Invoices > Customizer > Invoice, find the Product item column block and uncheck the Show meta data option:

    A screenshot that displays the Product item column block within the customizer

    If you’re using only our free main plugin, you can achieve the same with a code snippet, using the wpo_wcpdf_custom_styles PDF template action hook, like this:

    /**
     * WooCommerce PDF Invoices & Packing Slips
     * Remove item meta from the PDF documents
     */
    add_action( 'wpo_wcpdf_custom_styles', function( $document_type, $document ) {
    	?>
    	.meta, .item-meta {
    	    display: none;
    	}
    	<?php
    }, 10, 2 );

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

    Thread Starter sobesoft

    (@sobesoft)

    thank you ??

    Plugin Contributor Yordan Soares

    (@yordansoares)

    We’re happy to help, @sobesoft!

    If you don’t mind and have the time, do you think you could leave us a review?

    Thanks in advance and all the best with your store!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Product Detail’ is closed to new replies.