WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
New Custom Checkout fields are not showing up in my orde (9 posts)

  1. robbiehenry
    Member
    Posted 1 year ago #

    I went through the tutorial on how to add custom fields upon check out.

    Read here: http://wcdocs.woothemes.com/snippets/tutorial-customising-checkout-fields-using-hooks-and-filters/

    I proceeded to place a dummy order and fill in these custom field values.

    When I get my email notification or when I look at the actual order from within wordpress none of those fields and values are shown. Obviously there must be another step that I am missing to get this to work.

    All or any help would be much apprecaited.

    Rob

    http://wordpress.org/extend/plugins/woocommerce/

  2. swilky
    Member
    Posted 1 year ago #

    I'm having exactly the same issue. I've added the field to the billing area, it shows up in the checkout but no information is stored in the actual order.

    Sal

  3. Drivingralle
    Member
    Posted 1 year ago #

    Same Issue.

    My Code from function.php

    add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
    function custom_override_checkout_fields( $fields ) {
        $fields['billing']['billing_ustid'] = array(
            'label'     => __('USt-ID Nr.', 'textdomain'),
            'placeholder'   => _x('USt-ID Nr.', 'placeholder', 'testdomain'),
            'required'  => false,
            'class'     => array('form-row-wide'),
            'clear'     => true
        );
    
        return $fields;
    }

    and

    add_filter('woocommerce_email_order_meta_keys', 'my_custom_checkout_field_order_meta_keys');
    function my_custom_checkout_field_order_meta_keys( $keys ) {
        $keys[] = 'billing_ustid';
        return $keys;
    }
  4. Drivingralle
    Member
    Posted 1 year ago #

  5. N-Media
    Member
    Posted 1 year ago #

    Hello,

    you can add extra fields and even file upload on checkout page by N-Media plugin:
    http://www.najeebmedia.com/n-media-woocommerce-personalized-checkout-options-manager/

    It has also personalized/customized production option manager plugin:
    http://www.najeebmedia.com/n-media-woocommerce-personalized-product-options-manager/

    I hope it will help

  6. TimoVeld
    Member
    Posted 1 year ago #

    Najeeb,
    Do you have any intentions on building a modification of your plugin? Allowing upload BEFORE purchase. Also, a crop function would be nice.

  7. Olajimmy
    Member
    Posted 1 year ago #

    Somebody HELP! Am having the same issue here, i have successfully added the custom fields to the checkout page but is not showing in the mail or under users in my admin panel. I need this ASAP. Would appreciate if somebody can help.

  8. PetruTiglar
    Member
    Posted 1 year ago #

    Same problem here, Any help would be appreciated!

  9. stopczas
    Member
    Posted 1 year ago #

    I`m also having same problem, after adding custom fields they are not showing in dashboard orders and email notifications.

    I know there is a paid plugin for that functionality, but what for post that filter/hook tutorial when its not working at the end ?

    Regards

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic