Search
Generic filters
Exact matches only
  • Add an extra field to Woocommerce checkout

    8th July 2020

    WooCommerce

    woocommerce category codehaven

    To add a simple text field after the address information you will need a simple code you can adjust placed inside your functions.php file.

    1. This will add a extra field (call direct debit)
    2. This will also be added to the woocommerce emails that get emailed out to the customer and admin

    3. If you need this to be compulsory then change line 14 to the following ‘required’ => true

    Add an extra field to Woocommerce checkout,,

    If you are looking to validate this – take a look here

    WooCommerce: How to Add a Custom Checkout Field

    Was this code snippet helpful?

    Comment on this Code Snippet?