lyric-winslow
Miembro-
lyric-winslow ha publicado una actualización Hace 3 semanas
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
-