• Resolved bekot9

    (@bekot9)


    Hello!
    My client wants to add weight to all products in a shop in order to see total order weight when receives an order but he does not want customer to see weight on product page. Questions are:
    1) how to hide product weight in front end (product page) but still have it in back end?
    2) And how to make total order weight visible when receive an order from client? Now I tried on existing Woo shop to make an order for products which I added weight, but weight is not visible when I open that order in the back end.
    Thank you for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @bekot9,

    Good questions! Let’s start with the first question.

    how to hide product weight in front end (product page) but still have it in back end?

    1) You can hide the weight info on the product page by applying some custom CSS. You have to target the right selector and hide it with the declaration {display: none;}. If you want to learn more about CSS you can start from https://www.w3schools.com/css/default.asp.

    This will not pass the weight to the order though. So you will probably need custom code or a plugin to hide the weight just in the front-end. Let’s see if anyone is able to chime in to help you out with this.

    And how to make total order weight visible when receive an order from client? Now I tried on existing Woo shop to make an order for products which I added weight, but weight is not visible when I open that order in the back end.

    2) The weight is not visible out of the box in the WooCommerce Edit order page but you can display it using the custom code from this article:

    https://www.zealopers.com/woocommerce-tutorials/woocommerce-show-product-weight-in-admin-order-item-meta/

    This will show up the weight of every single product. If you want to sum up the total weight it will be required further customization. We don’t provide support for customizations but you can consult with a developer who can help you create a custom solution: https://woocommerce.com/customizations/.

    Hope this helps!

    • This reply was modified 3 years ago by Mirko P..
    MayKato

    (@maykato)

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

    wkm

    (@wkmoms2020)

    Hello! I need to show the item weight in the “order” tab of the Account FrontEnd of Woocommerce. Is this possible? Maybe in a new column ? I have found the way to add a new column with the colour data but I can not seem to get the weight. Thanks!

    Plugin Support Sérgio L. a11n

    (@csnlima)

    Hi @wkmoms2020,

    To better address your request, and because this topic is already closed, can you please open a new topic here:

    https://www.ads-software.com/support/plugin/woocommerce/#new-topic-0

    We will be waiting.

    Best,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Product weight’ is closed to new replies.