diff --git a/includes/class-wc-product-variable.php b/includes/class-wc-product-variable.php index f656817b93f..4c7dd986086 100644 --- a/includes/class-wc-product-variable.php +++ b/includes/class-wc-product-variable.php @@ -290,7 +290,7 @@ class WC_Product_Variable extends WC_Product { 'attributes' => $variation->get_variation_attributes(), 'availability_html' => wc_get_stock_html( $variation ), 'backorders_allowed' => $variation->backorders_allowed(), - 'dimensions' => wc_format_dimensions( $variation->get_dimensions( false ) ), + 'dimensions' => $variation->get_dimensions( false ), 'dimensions_html' => wc_format_dimensions( $variation->get_dimensions( false ) ), 'display_price' => wc_get_price_to_display( $variation ), 'display_regular_price' => wc_get_price_to_display( $variation, array( 'price' => $variation->get_regular_price() ) ),