WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. gkimbell
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/woocommerce-delivery-notes/

  2. gourmetspiceco
    Member
    Posted 11 months 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
    Member
    Posted 9 months ago #

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

  4. nyxas
    Member
    Posted 9 months ago #

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

  5. nyxas
    Member
    Posted 9 months 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
    wp-content/themes/superstore/woocommerce/print

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

    -
    comments welcome

  6. greenmeanie
    Member
    Posted 9 months ago #

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

  7. Toralf78
    Member
    Posted 1 month ago #

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

  8. piffpaffpuff
    Member
    Plugin Author

    Posted 1 month 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.

    http://wordpress.org/plugins/woocommerce-delivery-notes/faq/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic