WooCommerce Print Invoice & Delivery Note
Remove 'weight' in product description (8 posts)

  1. gkimbell
    Posted 2 years ago #

    My products have defined weights as they are used to calculate the shipping costs, however I would prefer these weights not to show up on the delivery note. Is there an easy way to have them not show up? Thanks in advance.


  2. gourmetspiceco
    Posted 2 years ago #

    I also need this removed as it is misleading. I sell a product of, say, 40g and the packed weight of, say, 60g appears next to it on the invoice. Apart from that, all works well, but can't use until this is resolved! Thank you!

  3. greenmeanie
    Posted 2 years ago #

    I did this twice on updates but now forgot how.
    I could use the help too.

  4. nyxas
    Posted 1 year ago #

    Yes same here, is there going to be any response to that issue?

  5. nyxas
    Posted 1 year ago #

    all right, I guess we figured it out.

    go to:
    templates -> print -> datei: print-delivery-note.php
    line 76:
    <?php if( !empty( $item['weight'] ) ) : ?><dt><?php _e( 'Weight:', 'woocommerce-delivery-notes' ); ?></dt><dd><?php echo $item['weight']; ?><?php echo get_option('woocommerce_weight_unit'); ?></dd><?php endif; ?>

    if you delete this, the weight should not show.

    if you use an extra template and copy it to the folder

    and copy print-delivery-note.php into this folder, changes will stay also after updates to the plugin

    comments welcome

  6. greenmeanie
    Posted 1 year ago #

    Thats what I did before.
    Thanks for the post work like a charm.

  7. Toralf78
    Posted 1 year ago #

    The file print-delivery-note.php is locked, how can i change it?

  8. piffpaffpuff
    Plugin Author

    Posted 1 year ago #

    please do not change plugin files. you need to create a custom template. please read the faq:

    How can I use a custom template for the printing page?
    If you want to use your own template then all you need to do is copy the the files you want to edit from /wp-content/plugins/woocommerce-delivery-notes/templates/print folder and paste them inside your /wp-content/themes/your-theme-name/woocommerce/print folder (if not there just create it). The folder from the plugin comes with the default templates and the basic CSS files. You can modifiy those to fit your own needs.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce Print Invoice & Delivery Note
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic