Support » Plugin: Print Invoice & Delivery Notes for WooCommerce » adjust the delivery note

  • Resolved dimendia

    (@dimendia)


    I would like to adjust the delivery note.

    Here I want only the delivery address and not the billing address to appear in the page header.

    Then I want the table to be adjusted.

    No prizes!
    Order number, method of payment and the like can stay like this

    But the columns of the table should look and be filled as follows:

    Product | Packing unit | Item number | EAN

    How can I change this ?

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

    (@shasvat)

    Hi @dimendia

    Regarding your query to show the delivery address in the page header, you need to add the below code in the functions.php file of your active theme.
    Code :

    function wcdn_hide_billing_address() {
        ?>
        <style>	
            .billing-address{
    			display: none;
    		}
        </style>
        <?php
    }
    add_action( 'wcdn_head', 'wcdn_hide_billing_address', 20 );

    Regarding your other query for not showing all the fields in the Order Info list, you can do that with the help of this following code :

    function example_removed_payment_method( $fields ) {
        unset( $fields['payment_method'] );
        return $fields;
    }
    add_filter( 'wcdn_order_info_fields', 'example_removed_payment_method' );

    Here, it will hide the payment method from the Order info list. Code will go in the functions.php file of your active theme.

    Also, it would be great if you can tell us more in detail about the table you want in the delivery note.

    Regards,
    Shasvat shah

Viewing 1 replies (of 1 total)
  • The topic ‘adjust the delivery note’ is closed to new replies.