[ad_1]
Hi @chandrasekhar2chandu,
Although it is possible to customize the checkout steps in the way you described via custom code, and as mentioned on our support page, customization work, are not covered by our support, this limitation also applies for our PRO customers.
With that said, below is a code snippet that we use to move the billing address section into the shipping step. You can adapt that to meet your needs.
/**
* Move billing substep to shipping step.
*/
function fluidcheckout_move_billing_address_shipping_step() {
// Bail if steps class not available
if ( ! class_exists( 'FluidCheckout_Steps' ) ) { return; }
// Bail if shipping step is not available
if ( ! function_exists( 'WC' ) || ! WC()->cart || ! WC()->cart->needs_shipping() ) { return; }
remove_action( 'fc_output_step_billing', array( FluidCheckout_Steps::instance(), 'output_substep_billing_address' ), 10 );
add_action( 'fc_output_step_shipping', array( FluidCheckout_Steps::instance(), 'output_substep_billing_address' ), 30 );
}
add_action( 'wp', 'fluidcheckout_move_billing_address_shipping_step', 300 );
/**
* Remove the billing step.
*/
function fluidcheckout_remove_billing_step() {
// Bail if steps class not available
if ( ! class_exists( 'FluidCheckout_Steps' ) ) { return; }
// Bail if shipping step is not available
if ( ! function_exists( 'WC' ) || ! WC()->cart || ! WC()->cart->needs_shipping() ) { return; }
FluidCheckout_Steps::instance()->unregister_checkout_step( 'billing' );
}
add_action( 'fc_register_steps', 'fluidcheckout_remove_billing_step', 300 );
We do not have documentation about how these things work in the plugin, so you’ll have to follow the code of the plugin and try to customize it by yourself.
I’m closing this topic for now.
Best,
Diego.