• Hello

    I’m trying to add a shipping number at delivery note for my customers to know which is their track guide number for shipping.

    I already have it on version 2.0.2 of this plugin by adding next code at file templates/print/print-delivery-notes.php

    <div id="order-listing">
    					<h3><?php _e( 'Recipient', 'woocommerce-delivery-notes' ); ?></h3>
    					<div class="shipping-info">
    						<?php if( wcdn_get_template_type() == 'invoice' ) : ?>
    							<?php wcdn_billing_address(); ?>
    						<?php else : ?>
    							<?php wcdn_shipping_address(); ?>
    						<?php endif ?>
    						<br />
    						<h3 class="order-email-label">Gu&iacute;a env&iacute;o</h3>
    						<span class="order-payment"><?php echo wcdn_get_order_custom_field( 'guiaenvio' ); ?></span>
    					</div><!-- .shipping-info -->

    and on custom fields at orders I just put variable “guiaenvio” by dropdown button and its value.

    and now im trying to do the same at version 4.1.5 but there isn’t the same files structure

    do anyone solve how to add custom fields at the delivery note? im using wordpress 4.2.2
    thanks

    https://www.ads-software.com/plugins/woocommerce-delivery-notes/

  • The topic ‘How to add a shipping number at delivery note?’ is closed to new replies.