Support » Plugin: Product Customer List for WooCommerce » Missing firstnames/lastnames

  • Resolved Cédric Charles

    (@cedriccharles)


    Hello there 🙂

    First of all, thank you very much for your great plugin 🙂 !

    I’ve just noticed that, since at least a few days, the lastname/firstname columns are empty for all the clients except one…
    Screenshot 1: https://snipboard.io/HRIm8l.jpg
    Screenshot 2: https://snipboard.io/plW8ot.jpg

    I’ve checked the clients profiles, and the lastname/firstname exists!
    What’s wrong and how can I change that?

    Kind regards,
    Cedric

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kokomo

    (@kokomoweb)

    Bonjour Cédric!

    That’s a weird one, first time I see this! Do you see any errors in your javascript console?

    Do the names show up for shipping first name and shipping last name?

    Thread Starter Cédric Charles

    (@cedriccharles)

    Hello Kokomo 🙂 !

    Thank you for your quick answer!
    I think I have understood the issue… I’ve “recently” simplified the checkout process. There is no billing/shipping fields anymore. It’s why these fields are not passed on checkout. Do you know how can I programmatically pass them on checkout without showing them to the client so that your plugin can record/show them?

    Kind regards,
    Cedric

    Plugin Author Kokomo

    (@kokomoweb)

    Hi Cedric,

    glad you figured it out. I am unsure what you mean, how can you pass the info if the client does not have fields to input it?

    Thread Starter Cédric Charles

    (@cedriccharles)

    I don’t want to show fields for billings “First name” – “Last name” – “Email” because these fields are already required when they registered (they have to register to access the store). So ut makes non-sens to ask these fields again as I already know them. So I want to programmatically set it on checkout in order to have them in your table of clients 🙂

    Plugin Author Kokomo

    (@kokomoweb)

    Oh I get it. Since this is unrelated to my plugin, I cannot write the code for you, but if you are familiar with PHP / WordPress programming, you could use the following action to copy the info when the order is created:

    add_action( ‘woocommerce_checkout_order_processed’, ‘copy_user_info’, 10, 1 );

    function copy_user_info( $order_id ){
    // your code here
    }

    Plugin Author Kokomo

    (@kokomoweb)

    Actually, another solution would be to purchase the premium version of the plugin, it includes user meta so you could show those fields instead.

    Thread Starter Cédric Charles

    (@cedriccharles)

    Thank you very much Kohomo 🙂 !

    Have a nice day!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.