I've seen some threads about setting fields default values to some certain values. But I couldn't find a specific problem. In registration page, I ask the customer to fill the billing form. But then in the checkout as s/he should fill the shipping form, I want the shipping form fields (like first name, last name, address, etc) default is set the billing fields, as many customers may want to receive the products at their billing address with same information as their billing information. So, what should I do? Thanks

  • Could you edit the question and show as the code of how do you save the data from the billing form? The easiest way would be to extend this code to save the billing adress as shipping address. If the customer is logged in, woocommerce will show that data on the checkout page as default shipping adress data. – user141080 Jul 7 at 16:35

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.