• I need to have the email address on the checkout page populated using the value of a session variable. I have tried everything I can find, including stuff that works elsewhere, but nothing is working.

    The field ID appears to be “#email” but it’s possible this is being spoofed. I also found signs that WC may be using JS to populate these fields, so it may be that what I’m doing is being overwritten, but I don’t see the value I specificed appearing at all. There are no errors in the logs or console.

    Note that this is for logged out (guest) users only.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @waloob73,

    Thanks for reaching out.

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    Thread Starter waloob73

    (@waloob73)

    Anyone have any thoughts on this? I can’t believe this is that hard to achieve, it’s just passing a variable to a form field. I’ve done this elsewhere on the site with no issue at all, but for some reason the checkout fields don’t play by the same rules – presumably something to do with how they are generated or populated by Woo.

    Hi again @waloob73,

    You can try running the exact question you’re asking, through an AI platform like ChatGPT for recommendations.

    Or asking the same question in the groups I shared in my previous reply.

    I hope this points you in the right direction.

    Thread Starter waloob73

    (@waloob73)

    @ckadenge I don’t use Facebook, and I have run the question through ChatGPT and tried everythying it suggested. I spent hours on it. I figured as this is the official supprot forum for Woocommerce this should be right place to get a definitive answer on how to achieve something that should be really straightforward! Surely the official line is more helpful than “Ask ChatGPT?!”

    I’ll try Slack.

    Hey, @waloob73!

    ?I figured as this is the official supprot forum for Woocommerce this should be right place to get a definitive answer on how to achieve something that should be really straightforward!

    I understand, but as per our support policy, we can only help with default features of the WooCommerce core plugin, so we are not able to help with custom coding.
    Thank you for understanding!

    Our Slack community is great! I’m sure they’ll be able to help you there ??

    Please let us know if there’s anything else we can do to help or if you have any questions.

    Have a wonderful day!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Auto-Populate Checkout Email Address from Session Variable’ is closed to new replies.