Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thanks a lot !
    It’s very easy to hook.
    For example, for adding billing address I just added:

    To main.php:
    ‘wc_settings_tab_customer_address’=>__( ‘Address’, ‘woocommerce-simply-order-export’ )
    — under wpg_order_columns

    to order-export.php:
    ‘address’ => array(‘name’ => __( ‘Address’, ‘woocommerce-simply-order-export’ ),’type’ => ‘checkbox’,’desc’ => __( ‘Address’, ‘woocommerce-simply-order-export’ ),’id’ => ‘wc_settings_tab_customer_address’),
    — under get_settings() function

    and to order-export-process.php:
    if( !empty( $fields[‘wc_settings_tab_customer_address’] ) && $fields[‘wc_settings_tab_customer_address’] === true )
    {
    array_push( $csv_values, self::customer_meta( get_the_ID(), ‘_billing_address_1’ ) );
    }
    — under while($orders->have_posts()) loop

    I think it’s working now with WC 2.2.8 !
    I reinstalled the plugin and it works well. Thanks !

    Is it possible to add a more fields to the CSV ? like Date, Order Number, address etc…

    I’m having the same issue.
    Button isn’t working.
    My Woocommerce version is 2.2.8.
    Anything new ?

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