Title: Order summary
Last modified: November 13, 2022

---

# Order summary

 *  Resolved anonymized-20586711
 * (@anonymized-20586711)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/order-summary/)
 * Hello,
 * Idk how but in the order summary, the product weight doesnt show right.
    Can 
   you guys help me?
 * Kind regards,
    Youri
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Forder-summary%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Saif](https://wordpress.org/support/users/babylon1999/)
 * (@babylon1999)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/order-summary/#post-16201218)
 * Hello @yourinieuw,
 * > Idk how but in the order summary, the product weight doesnt show right.
   >  Can
   > you guys help me?
 * That’s right, the order weight will not render in the order information from 
   the admin or customer side.
 * I found the following snippet to add it programmatically, but it only works with
   orders made after you’ve added the snippet.
 *     ```
       /**
        * @snippet       Save & Display Order Total Weight - WooCommerce Order
        * @how-to        Get CustomizeWoo.com FREE
        * @author        Rodolfo Melogli
        * @compatible    WooCommerce 3.6.4
        * @donate $9     https://businessbloomer.com/bloomer-armada/
        */
   
       add_action( 'woocommerce_checkout_update_order_meta', 'bbloomer_save_weight_order' );
   
       function bbloomer_save_weight_order( $order_id ) {
           $weight = WC()->cart->get_cart_contents_weight();
           update_post_meta( $order_id, '_cart_weight', $weight );
       }
   
       add_action( 'woocommerce_admin_order_data_after_billing_address', 'bbloomer_delivery_weight_display_admin_order_meta', 10, 1 );
   
       function bbloomer_delivery_weight_display_admin_order_meta( $order ) {    
           echo '<p><strong>Order Weight:</strong> ' . get_post_meta( $order->get_id(), '_cart_weight', true ) . get_option( 'woocommerce_weight_unit' ) . '</p>';
       }
       ```
   
 * [Source.](https://www.businessbloomer.com/woocommerce-save-display-order-total-weight/)
 * You can add it to your functions.php file or use a plugin like [Code snippet](https://wordpress.org/plugins/code-snippets/).
 * Hope this helps!

Viewing 1 replies (of 1 total)

The topic ‘Order summary’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Saif](https://wordpress.org/support/users/babylon1999/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/order-summary/#post-16201218)
 * Status: resolved