Access our premium support and let us know your problems, we will help you solve them.

0
No products in the cart.

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Custom placeholder for all WooCommerce checkout fields #9460
    blankfyllepo
    Participant

    Looking through the WooCommerce documentation you may want to try using the woocommerce_checkout_fields filter instead of woocommerce_default_address_fields

    Seems more logical as the fields above aren’t all address related, and that hook derived from class-wc-countries.php.

    Also, note the field names are different based on the context of the page, for example, the billing page fields are named as so:

    • billing_first_name
    • billing_last_name
    • billing_email
    • billing_phone

    Hope that helps! Good luck.

Viewing 1 post (of 1 total)