Support » Plugin: Funnel Builder for WordPress - Sell More with Sales Funnels » Can’t add custom fields to checkout form

  • Resolved Uriahs Victor

    (@uriahs-victor)


    Are you somehow blocking the addition of custom checkout fields? The following example code doesn’t work once a woofunnel checkout is used, but works for default WooCommerce:

    function add_custom_checkout_field($fields){
    
    $fields['billing']['test_field'] = array(
    			'label'    => 'My Field',
    			'required' => false,
                            'type' => 'text'
    
    );
    
    return $fields
    
    }
    add_filter('woocommerce_checkout_fields', 'add_custom_checkout_field');
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.