0

I want to insert elements inbetween WooCommerce Checkout fields.

For example, say I wanted to add a closing tag at this point -> please look at the image below.

Insert element here

I know I can use hooks and filters to add elements before or after the billing section, but inserting inbetween the fields themselves eludes me.

Thank you in advance.

LoicTheAztec
  • 229,944
  • 23
  • 356
  • 399
  • Does this answer your question? [add a custom checkout billing field under the last name in WooCommerce](https://stackoverflow.com/questions/61668748/add-a-custom-checkout-billing-field-under-the-last-name-in-woocommerce) – 7uc1f3r May 12 '20 at 16:02
  • Related: https://stackoverflow.com/questions/38261425/reordering-checkout-fields-in-woocommerce-3/38265060#38265060 & https://stackoverflow.com/questions/59452847/change-order-of-billing-fields-on-checkout-page – 7uc1f3r May 12 '20 at 16:03
  • Thanks but it's not a billing field I'm trying to insert. I want to be able to add HTML into that space. – Alex Gaillard May 12 '20 at 18:41
  • Well then you can edit template files https://github.com/woocommerce/woocommerce/blob/3.8.0/templates/checkout/form-billing.php#L39 or add add html via a hook https://stackoverflow.com/a/61319684/11987538 – 7uc1f3r May 12 '20 at 19:51
  • Ah, ok. Thank you very much. :) – Alex Gaillard May 12 '20 at 20:25

0 Answers0