Hi,
I had exactly the same problem, if you delete this piece of the code:
/**
* Process the checkout
*
* @since? ? 1.03.0
*/
public function field_process() {
global $woocommerce;
// Check if set, if its not set add an error.
? if ( !$_(!$_POST[‘local_pickup_time_select’] )
$woocommerce->]) wc_add_error( __(notice(__( ‘Please select a pickup time.’, $this->plugin_slug ) );), ‘error’);
}
and you change:
‘required’ => true,
to
‘required’ => false,
it works the way you would like it to work.
However it does show up for both delivery and pickup, but it is no longer required to fill it in.
Hope this helps you!
Best,
Lauren