Skip Billing for Logged in Users
-
I am skipping the billing details for logged in users in WooCommerce.
// Skip Billing for logged in users add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' ); function custom_override_checkout_fields( $fields ) { if( is_user_logged_in() ){ unset($fields['billing']); $fields['billing'] = array(); } return $fields; }
I need the plugin to skip the billing step and go directly to payment step if user is logged in. Can you please share with me what function I need to add or edit to allow me to skip the billing step for logged in users?
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Skip Billing for Logged in Users’ is closed to new replies.