• Resolved liborg

    (@liborg)


    Hello,
    How can I hide order number and date of order? I would like to have there only billing date, invoice number and method of payment.
    No I see:
    Invoice number:
    Billing date:
    Order number:
    Date of order:
    Method of payment:

    Thank you

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

    (@yordansoares)

    Hello @liborg,

    Please add this code snippet to your site to hide the order number and date from your invoices:

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

    Let me know if it works! ??

    Thread Starter liborg

    (@liborg)

    Thank you very much. It works.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    I’m glad to know it!

    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 order number’ is closed to new replies.