Removing fields from within Field Editor

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #14034

    Hey @support:

    I just upgraded to Pro, but the field editor will not allow me to delete the billing fields.

    This information is unnecessary to my check out flow, and I should not be asking clients this information.

    Similar with DOB. It is optional, but I want to remove this information entirely.

    How can I?

    Support Team

    Hello @infosanooktie-com,

    Thank you very much for buying the pro version of the theme.

    For your information, the default fields cannot be deleted. Only the label of the fields can be changed. As for the newly added field, it can be deleted.

    But if you want to delete the billing field then you can do so using the filter through the child theme.

    To know how you can create and activate the child theme please refer to below given link:

    After activating the child theme in your child theme functions.php add below given code.

    function test_fields( $fields ) {
        unset( $fields['billing_fields'] );
        return $fields;
    add_filter( 'wp_travel_checkout_fields', 'test_fields' );

    Hope this clears the confusion.

    Let us know if there is any confusion further.

    Thank you.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘WP Travel Pro’ is closed to new topics and replies.