Okay
  Public Ticket #3610831
Changing the value of Customer in my order dashboard
Closed

Comments

  • Pasquale started the conversation

    Hi, in my order dashboard, I'd like to display the 'company' value instead of the customer's billing name in the 'customers' column. Alternatively, how can I add another column with this information?

  •  1,881
    WebWizards replied

    Hi there,

    Thank you for purchasing our plugin,


    I wrote a code snippet that adds an additional column with the order billing company. You can find the snippet here:

    https://pastecode.io/s/6dfi50sk


    This is a PHP snippet that can be added to functions.php, or by following our guide here: https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/


    After adding it, you should see a 'Company' column as follows:

    3149140303.png


    Let me know if you have any issues with that,


    Kind regards,

    Stefan

  • Pasquale replied

    Thank you so much, but if I'd like to delete the "customer" column from my order dashboard?

  •   WebWizards replied privately