• Resolved neo4evr

    (@neo4evr)


    Hello,
    I am using this code for disabling auto-fill of the fields on the checkout form

    add_filter('woocommerce_checkout_get_value','__return_empty_string', 1, 1);

    However, this is triggering even for logged in users who already provided their billing details. As a result, they have to fill the form again and again.

    How do I do the following:
    1. Disable auto-fill for guests’ checkout only.
    2. And keep auto-fill of checkout fields enabled only for registered/logged-in users.

    Thanks!

    • This topic was modified 3 years, 6 months ago by neo4evr.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to autofill forms for only logged in users who provided details?’ is closed to new replies.