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 '18 at 16:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.