lyric-winslow
Member-
lyric-winslow posted an update a week ago
Is it possible to remove the shipping method field from the WooCommerce checkout page? If not, how can I streamline it so that a default shipping method is pre-selected or hidden from customers, while still being applied automatically?
-
Try adding code to remove
add_filter( ‘woocommerce_cart_needs_shipping’, ‘__return_false’ );
add_filter( ‘woocommerce_checkout_fields’, function( $fields ) {
unset( $fields[‘shipping’][‘shipping_method’] );
return $fields;
});2
-