codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Add a dropdown to Woocommerce Checkout Fields

    20th January 2021

    WooCommerce

    woocommerce category codehaven

    To add a dropdown or select element to the fields on a woocommerce checkout, this can be achieved by the following code.

    Just add this code and amend where necessary to the functions.php file.

    Add dropdown

    Update dropdown

    Display dropdown answer

    Was this code snippet helpful?