We’ll often need to customize the payment form, for example, if we want to add a NIT (Tax Identification Number) field. In this article, we’ll show two of the most common ways to do this.

  1. Add fields through WooCommerce actions and filters.
  2. Add payment fields through plugins.

Add fields via WooCommerce actions and filters

To do this, you’ll need to have access to your theme’s source code files or create a new plugin.

Adding fields via plugins

There are several plugins in the WordPress repository that allow us to edit custom checkout fields. Some of these plugins are:

https://docs.woocommerce.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/