Okay
  Public Ticket #4495409
B2B Customers
Open

Comments

  •  1
    Finlip started the conversation

    Hey Stefan,

    thanks a lot for your great support. Would it be possible to implement all the information from the registration formĀ (from both the original and the added fields) into the customer overview, so that we can later extract everything into Excel?

    Attached files:  Screenshot 2025-09-17 104026.png
      Screenshot 2025-09-17 104226.png

  •  2,515
    WebWizards replied

    Hi there,

    Thanks for reaching out! Yes, we can add custom fields to the customer overview table.

    Here's a code snippet that should do that: https://pastecode.io/s/ut7e4kr0

    Just add this to your theme's functions.php or any code snippets plugin and it should display those fields in the table.

    One thing to note - after adding several custom columns, the table might overflow outside its container like this: https://prnt.sc/UVVg9SjSW6FD

    If that happens, you can fix it with some custom CSS on the admin side:

    div#b2bking_admin_customers_table_container {
        width: 2000px !important;
    }

    Alternatively, if you prefer a cleaner look, we could also pack all that custom info into a single column instead of spreading it across multiple columns.

    Let me know how that works for you,

    Kind regards,
    Stefan