I'm building a travel site and I want to add this custom function to the WooCommerce checkout form: when a user adds 3 packages to his cart, I want to have 3 sets of Billing details (complete with Name, Address and so on) in the checkout form.

So the checkout form generates a billing details set for each product that's added to the cart.

Can this be done via a plugin or something, without custom work?

  • So you want the user to pay 3 times if you have 3 products? i don't think it's possible, since billing is linked with payment. – Pim Oct 23 '18 at 11:00
  • Not necessarily. I want to gather the info of 3 people if there are 3 travel package reservations in the Cart. So it can be one main billing address and 2 additional sets of information. But these have to be generated automatically based on the number of packages added to cart by the user. So if the user adds 5 packages to Cart, I'll have the main Billing box and 4 other boxes to get the info of the other people traveling. – Alex Oct 23 '18 at 11:10

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.