• Resolved seb1426

    (@seb1426)


    Hello, recently i’ve been trying to pre-fill the billing data in the checkout fields in my page. I followed this video and it works:

    https://www.youtube.com/watch?v=c3mpsqK0pXA

    but the problem is when i send the order to woocommerce, it won’t save the custom pre-filled data, like the “billing_id_type” or the “billing_company”. I tried prefilling the fields with javascript and the “woocommerce_checkout_get_value” hook but it didn’t work neither. One example of this problem is the following, where in between “Tipo cliente” and “billing_dni” it must be “billing_company” and “billing_id_type” (this last field is a custom field, billing company isn’t but it still fails):

    https://imgur.com/roqT8vv

    Can you please help me to fix this problem please? i really need to save this custom data in the woocommerce order.

    • This topic was modified 4 years, 3 months ago by seb1426.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello there,

    This is pretty strange.

    You can perform a conflict test, please follow these steps below:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If after running the test you’re not seeing the same problem, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Let us know if there are any questions.

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem Pre-populating billing data’ is closed to new replies.