Add Email to Admin and Vendor Dashboard columns

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Ultimate Add Email to Admin and Vendor Dashboard columns

Viewing 6 reply threads
  • Author
    Posts
    • #136084
      zoe
      Participant

      Hi

      It would be very useful to be able to see the customer’s email address in the orders page as an additional column, and also to be able to print that in the PDF file or at least include it in the export to excel option.

      Is this possible?

    • #136120

      Hello,

      Try this code to your child theme’s functions.php

      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      add_filter( 'wcfm_orders_additonal_data_hidden', '__return_false' );
      add_filter('wcfm_orders_additonal_data',function($order_data,$order_id){
      	$order = wc_get_order($order_id);
      	$order_data = $order->get_billing_email();
      	return $order_data;
      },10,2);
      add_filter('wcfm_orders_additional_info_column_label',function($lbl){
      	return 'Customer Email';
      },10);

      Thanks.

    • #138738
      zoe
      Participant

      works great thanks a million!

    • #138798
      zoe
      Participant

      Ok, customer is also asking if the phone number can also be added as another additional column. I’m sorry I do not know how to code php. Your help is appreciated. Thank you.

    • #138918

      Hello,

      It’s not possible add another column here with code snippet.
      You can also display “phone number” in this column(previously added column).

      Thanks!

    • #139694
      zoe
      Participant

      Ok, so it is either phone number or email, but not both? You are saying there is only room for one spare extra column and we are already using this for the email? Is that correct?

    • #139713

      Hi,

      add another column is not possible using code snippet.
      It requires serious custom development, and this will be a paid one.

      So, as a quick solution, you can add customer “email” and “phone number” in same column.

      Thanks.

Viewing 6 reply threads
  • You must be logged in to reply to this topic.