I\'m trying to modify dimensions output that everywhere where get_dimensions()
is called instead of default it would include letter of dimensio
$dimensions = $product->get_dimensions();
if ( !empty( $dimensions) ) {
echo 'Height: ' . $product->get_height() . get_option( 'woocommerce_dimension_unit' );
echo 'Width: ' . $product->get_width() . get_option( 'woocommerce_dimension_unit' );
echo 'Length: ' . $product->get_length() . get_option( 'woocommerce_dimension_unit' );
}