I got the same question here. I’d like to have a minimum amount for my local delivery same as the free shipping but free shipping does not have a delivery fee. So here’s what I did..
I open up these files on Notepad++ (or any editor you use)
– class-wc-shipping-free-shipping.php
– class-wc-shipping-local-delivery.php
On class-wc-shipping-free-shipping, find and copy these lines:
$this->enabled = $this->get_option( 'enabled' );
$this->min_amount = $this->get_option( 'min_amount', 0 );
$this->requires = $this->get_option( 'requires' );
Then paste them inside class-wc-shipping-local-delivery.php under function init().
Another one from free-shipping.php, find and copy these lines:
'requires' => array(
'title' => __( 'Free Shipping Requires...', 'woocommerce' ),
'type' => 'select',
'default' => '',
'options' => array(
'' => __( 'N/A', 'woocommerce' ),
'coupon' => __( 'A valid free shipping coupon', 'woocommerce' ),
'min_amount' => __( 'A minimum order amount (defined below)', 'woocommerce' ),
'either' => __( 'A minimum order amount OR a coupon', 'woocommerce' ),
'both' => __( 'A minimum order amount AND a coupon', 'woocommerce' ),
)
),
'min_amount' => array(
'title' => __( 'Minimum Order Amount', 'woocommerce' ),
'type' => 'price',
'placeholder' => wc_format_localized_price( 0 ),
'description' => __( 'Users will need to spend this amount to get free shipping (if enabled above).', 'woocommerce' ),
'default' => '0',
'desc_tip' => true
)
);
Then paste them on local-delivery.php under function init_form_fields().