Hello @danielsps,
At the moment we don’t have ability to remove time-frame dropdown from the settings but it is on our roadmap.
For the temporary fix you can find “public function init_actions_and_filters()” on line 66.
public function init_actions_and_filters() {
add_action( 'woocommerce_review_order_after_shipping', [ $this, 'review_order_after_shipping' ] );
add_action( 'woocommerce_checkout_update_order_meta', [ $this, 'checkout_save_order_timeshifts' ], 10, 2 );
if ( is_admin() ) {
add_action( 'woocommerce_admin_order_data_after_shipping_address', array( $this, 'show_selected_timeshift' ), 20 );
add_filter( 'woocommerce_admin_order_preview_get_order_details', array( $this, 'show_selected_timeshift_in_order_preview' ), 20, 2 );
}
}
Change it to this:
public function init_actions_and_filters() {
//add_action( 'woocommerce_review_order_after_shipping', [ $this, 'review_order_after_shipping' ] );
add_action( 'woocommerce_checkout_update_order_meta', [ $this, 'checkout_save_order_timeshifts' ], 10, 2 );
if ( is_admin() ) {
add_action( 'woocommerce_admin_order_data_after_shipping_address', array( $this, 'show_selected_timeshift' ), 20 );
add_filter( 'woocommerce_admin_order_preview_get_order_details', array( $this, 'show_selected_timeshift_in_order_preview' ), 20, 2 );
}
}
If you have any more questions you can contact us at helpdesk@dpd.lt
Best wishes,
DPD Baltic Support.