add_action(‘woocommerce_checkout_update_order_review’, ‘gabrics_update_shipping_plans’, 10, 1);
function gabrics_update_shipping_plans( $post_data ) {
$packages = WC()->cart->get_shipping_packages();
foreach ($packages as $package_key => $package ) {
WC()->session->set( ‘shipping_for_package_’ . $package_key, false );
}
}