You can get a products weight using this snippet. You will need to be in the product loop to access it or on a page like content-single-product.php where you're already within the loop.
global $product;
$attributes = $product->get_attributes();
if ( $product->has_weight() ) {
echo $product->get_weight();
}