diff --git a/admin/post-types/writepanels/writepanel-product_data.php b/admin/post-types/writepanels/writepanel-product_data.php index 0deeae884d8..1651fe8326f 100644 --- a/admin/post-types/writepanels/writepanel-product_data.php +++ b/admin/post-types/writepanels/writepanel-product_data.php @@ -141,36 +141,6 @@ function woocommerce_product_data_box() { echo ''; - echo '
'; - - // Weight - if( get_option('woocommerce_enable_weight', true) !== 'no' ) : - woocommerce_wp_text_input( array( 'id' => '_weight', 'label' => __('Weight', 'woocommerce') . ' ('.get_option('woocommerce_weight_unit').')', 'placeholder' => '0.00', 'description' => __('Weight in decimal form', 'woocommerce') ) ); - else: - echo ''; - endif; - - // Size fields - if( get_option('woocommerce_enable_dimensions', true) !== 'no' ) : - ?>

- - - - - - - -

'; - echo ''; - echo ''; - endif; - - do_action('woocommerce_product_options_dimensions'); - - echo '
'; - echo '
'; // File URL @@ -269,8 +239,40 @@ function woocommerce_product_data_box() {
- + '; + + // Weight + if( get_option('woocommerce_enable_weight', true) !== 'no' ) : + woocommerce_wp_text_input( array( 'id' => '_weight', 'label' => __('Weight', 'woocommerce') . ' ('.get_option('woocommerce_weight_unit').')', 'placeholder' => '0.00', 'description' => __('Weight in decimal form', 'woocommerce') ) ); + else: + echo ''; + endif; + + // Size fields + if( get_option('woocommerce_enable_dimensions', true) !== 'no' ) : + ?>

+ + + + + + + +

'; + echo ''; + echo ''; + endif; + + do_action('woocommerce_product_options_dimensions'); + + echo '
'; + + echo '
'; // Shipping Class $classes = get_the_terms( $thepostid, 'product_shipping_class' ); @@ -288,6 +290,8 @@ function woocommerce_product_data_box() { ?>

'; ?>