• Resolved Kerosity

    (@kerosity)


    Attempting to use:

    add_filter( 'woocommerce_enable_order_notes_field', '__return_false' );

    It won’t remove the field.

    I’ve also tried the one directly from the woocommerce checkout fields customization page:

    // Hook in
    add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
    
    // Our hooked in function - $fields is passed via the filter!
    function custom_override_checkout_fields( $fields ) {
         unset($fields['order']['order_comments']);
    
         return $fields;
    }

    And that doesn’t work either. How do I add/change/remove fields with cartflows installed?

Viewing 1 replies (of 1 total)
  • Plugin Support CartFlows Team

    (@cartflows)

    Hello @kerosity ,

    Thank you for contacting us!

    Actually, we have provided the option to hide the additional & order comment field in the Pro version of the CartFlows.

    If you are using the Pro version on the CartFlows then please go to CartFlows -> Flows -> your_flow -> Checkout page -> Custom Fields Tab -> Disable the option of Additional Fields.

    If you are not using the Pro version of the CartFlows Pro then I have modified the code. Click here to view the custom code.

    Please let me know how it goes.

Viewing 1 replies (of 1 total)
  • The topic ‘Can’t remove checkout fields’ is closed to new replies.