• Is there a way to take off the billing address and have only the shipping address show up when printing?

Viewing 1 replies (of 1 total)
  • Hi @relle23,

    You can do this by modifying the template a bit. Copy the file ‘print-content.php’ from /wp-content/plugins/woocommerce-delivery-notes/templates/print-order to /wp-content/themes/yourtheme/woocommerce/print-order. In this file you will need to remove the following code on line 27 –

    
    <div class="billing-address">
       <h3><?php _e( 'Billing Address', 'woocommerce-delivery-notes' ); ?></h3>
       <address>
    	<?php if( !$order->get_formatted_billing_address() ) _e( 'N/A', 'woocommerce-delivery-notes' ); else echo apply_filters( 'wcdn_address_billing', $order->get_formatted_billing_address(), $order ); ?>
    				
       </address>
    </div>

    Please let me know if this worked for you.

    Regards,
    Rashmi

Viewing 1 replies (of 1 total)
  • The topic ‘Shipping & Billing address’ is closed to new replies.