Note that legacy methods are no longer available once disabled
This commit is contained in:
parent
cef3ec7e37
commit
7cfdf23aec
|
@ -13,7 +13,7 @@ $settings = array(
|
|||
'enabled' => array(
|
||||
'title' => __( 'Enable/Disable', 'woocommerce' ),
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Enable this shipping method', 'woocommerce' ),
|
||||
'label' => __( 'Once disabled, this legacy method will no longer be available.', 'woocommerce' ),
|
||||
'default' => 'no',
|
||||
),
|
||||
'title' => array(
|
||||
|
|
|
@ -70,7 +70,7 @@ class WC_Shipping_Legacy_Free_Shipping extends WC_Shipping_Method {
|
|||
'enabled' => array(
|
||||
'title' => __( 'Enable/Disable', 'woocommerce' ),
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Enable Free Shipping', 'woocommerce' ),
|
||||
'label' => __( 'Once disabled, this legacy method will no longer be available.', 'woocommerce' ),
|
||||
'default' => 'no'
|
||||
),
|
||||
'title' => array(
|
||||
|
|
|
@ -97,7 +97,7 @@ class WC_Shipping_Legacy_Local_Delivery extends WC_Shipping_Local_Pickup {
|
|||
'enabled' => array(
|
||||
'title' => __( 'Enable', 'woocommerce' ),
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Enable local delivery', 'woocommerce' ),
|
||||
'label' => __( 'Once disabled, this legacy method will no longer be available.', 'woocommerce' ),
|
||||
'default' => 'no'
|
||||
),
|
||||
'title' => array(
|
||||
|
|
|
@ -74,7 +74,7 @@ class WC_Shipping_Legacy_Local_Pickup extends WC_Shipping_Method {
|
|||
'enabled' => array(
|
||||
'title' => __( 'Enable', 'woocommerce' ),
|
||||
'type' => 'checkbox',
|
||||
'label' => __( 'Enable local pickup', 'woocommerce' ),
|
||||
'label' => __( 'Once disabled, this legacy method will no longer be available.', 'woocommerce' ),
|
||||
'default' => 'no'
|
||||
),
|
||||
'title' => array(
|
||||
|
|
Loading…
Reference in New Issue