From the course: WordPress: Customizing WooCommerce Themes

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Remove checkout fields

Remove checkout fields - WordPress Tutorial

From the course: WordPress: Customizing WooCommerce Themes

Start my 1-month free trial

Remove checkout fields

- [Narrator] WooCommerce comes with a pretty standard checkout form. It has billing information, shipping information, it asks for email, address, name, et cetera. And this is pretty great for the vast majority of stores, but there are some things we can do to make our checkout even better. If you notice, there's a phone field, which you really only need if something goes wrong with the order, like a shipment being delayed or something like that. And if you do have an issue, many people prefer email. As it turns out, many store owners never use this information, and if you don't need this information, why make your customers fill it out? Let's remove that little bit of visual clutter and make it faster to checkout. I'm gonna go over to my code editor, and in my themesfunctions.php file I'm gonna scroll down to the bottom and add a new comment. Remove phone field in checkout. We're gonna start with a filter because we're going to filter all of the available checkout fields. The filter…

Contents