No products in the cart.
Forum Replies Created
Viewing 1 post (of 1 total)
- AuthorPosts
-
September 20, 2017 at 4:09 am in reply to: Custom placeholder for all WooCommerce checkout fields #9460
fyllepo
ParticipantLooking through the WooCommerce documentation you may want to try using the
woocommerce_checkout_fields
filter instead ofwoocommerce_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.
- AuthorPosts
Viewing 1 post (of 1 total)