Public Ticket #3610831

Changing the value of Customer in my order dashboard

Closed
Comments
4 Tickets
Pasquale started the conversation 3 years ago on March 20, 2024 at 1:46pm

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?

2,762
KingsPlugins replied 3 years ago on March 21, 2024 at 4:57am

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://b2bkingplugin.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

Sign In