• Hi,

    I have 2 custom fields in my checkout. My customer buys in my shop and in the next purchase, the checkout is already completed, but the custom fields are not autocompleted.

    How can I autocomplete the custom fields?

    My custom fields are stored in ‘$meta_keys = array’.

Viewing 1 replies (of 1 total)
  • Hi @imillenium,

    Thank you for reaching out to us. I understand how important it is for a smooth and efficient customer experience. To assist you better, could you let us know if they were added via a plugin or custom code? Also, sharing the code snippet for these fields would be great.

    In the meantime, here’s a general approach to ensure custom fields can be autocompleted:

    • For custom code, use woocommerce_checkout_update_order_meta to save field values.
    • For plugins, check for conflicts or settings issues.

    For a more detailed guide on customizing checkout fields, you can refer to the WooCommerce documentation on customizing checkout fields using actions and filters.

    Let us know if there’s anything else we can help you with.

Viewing 1 replies (of 1 total)
  • The topic ‘Autocomplete custom fields in Checkout’ is closed to new replies.