Reply 173691 to: Product Units in Product Listing Pages

Avatar: Rose Tyler
Rose Tyler
Support staff
September 28, 2017 at 13:46

There is no such possibility by default, but you may use this code:
http://prntscr.com/gqqu6s > http://prntscr.com/gqqx76

<?php 
     if ( $product->has_weight() && is_shop() ) {
       $weight = $product->get_weight();
       echo '<div class="product-meta product-weight-list"><span class="product-meta-label">Weight: </span>' . $weight . get_option('woocommerce_weight_unit') . '</div></br>';
     }
  ?>

in legenda/woocommerce/content-product.php file
to show http://prntscr.com/gqqlyi > http://prntscr.com/gqqmes.
We recommend you to make changes in a child theme.

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.