• Resolved awesiome

    (@awesiome)


    Hellooo,

    Can the billing address be hidden from the Invoice pdf? I would prefer not to create a custom template just for this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter awesiome

    (@awesiome)

    Solved this with:
    add_action( ‘wpo_wcpdf_custom_styles’, ‘wpo_wcpdf_custom_styles’, 10, 2 );
    function wpo_wcpdf_custom_styles ( $document_type, $document ) {
    ?>
    /*Hide Billing Address*/
    .address.billing-address {
    display:none !important;
    }
    <?php
    }`

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @awesiome,

    I’m glad to hear that you managed to do it yourself! ??

    Let us know if you need anything else ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide Billing Address Completely’ is closed to new replies.