Hi @mixbee,
The code snippet below might help you.
This will prevent WooCommerce from auto-selecting the first shipping method available, prompting the user to make the selection explicitly.
/**
* Disable autoselect shipping method.
*/
add_filter( 'woocommerce_shipping_chosen_method', '__return_false', 10, 3 );
The downside is that Fluid Checkout will consider the entire Shipping step as incomplete, and returning customers will start every purchase from the shipping step, instead of jumping right to the payment step.
You could also move the shipping methods section to the payment method with the code snippet below. Comment or remove the second “bail” statement if you want to move the section also for guest users.
/**
* Move shipping method substep to the payment step.
*/
function fluidcheckout_move_billing_address_shipping_step() {
// Bail if steps class not available
if ( ! class_exists( 'FluidCheckout_Steps' ) ) { return; }
// Bail if user is not logged in
if ( ! is_user_logged_in() ) { return; }
remove_action( 'fc_output_step_shipping', array( FluidCheckout_Steps::instance(), 'output_substep_shipping_method' ), 20 );
add_action( 'fc_output_step_payment', array( FluidCheckout_Steps::instance(), 'output_substep_shipping_method' ), 5 );
}
add_action( 'init', 'fluidcheckout_move_billing_address_shipping_step', 300 );
If you are unsure about how to add the code snippet, check our article:
How to safely add code snippets to your WooCommerce website
I’m closing this topic for now. If you need further assistance, please reply to this topic.
Best,
Diego