• Resolved santiarango

    (@santiarango)


    Hi! In former versions of Checkout Manager we could hide certain fields of woocommerce checkout form like post code or company name and address which are irrelevant for us, with this new version (4.0.8) we are not able to do it, is there any way?

    The checkout form now shows address and location fields on top, but we need name and personal info first, how can we reorganize this as we used to do it with 3.6.8 version, which seems to be a much more useful version. Thanks for your help.

    https://ww.wp.xz.cn/plugins/woocommerce-checkout-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, I have the EXACT SAME problem… have you figured out a way? PLEASE HELP… I’ve been trying to do that for a long time and unable to do it now… PLEASE HELP!

    I know this is an old post, but anyways:

    In your theme there is a folder called functions.php, copy/paste this in:

    <?php
    
    add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
    
    function custom_override_checkout_fields( $fields ) {
        unset($fields['billing']['billing_first_name']);
        unset($fields['billing']['billing_last_name']);
        unset($fields['billing']['billing_company']);
        unset($fields['billing']['billing_address_1']);
        unset($fields['billing']['billing_address_2']);
        unset($fields['billing']['billing_city']);
        unset($fields['billing']['billing_postcode']);
        unset($fields['billing']['billing_country']);
        unset($fields['billing']['billing_state']);
        unset($fields['billing']['billing_phone']);
        unset($fields['order']['order_comments']);
        unset($fields['billing']['billing_address_2']);
        unset($fields['billing']['billing_postcode']);
        unset($fields['billing']['billing_company']);
        unset($fields['billing']['billing_last_name']);
        unset($fields['billing']['billing_email']);
        unset($fields['billing']['billing_city']);
        return $fields;
    }

    Just remove the fields you want to keep

    It appears you can remove them by clicking the box to the far right of the WooCommerce Checkout Manager main billing screen under the X.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to hide items?’ is closed to new replies.