Remove unnecessary formating, fixes #17662
https://github.com/woocommerce/woocommerce/issues/17662
This commit is contained in:
parent
220728544a
commit
fb94f67b0f
|
@ -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() ) ),
|
||||
|
|
Loading…
Reference in New Issue