• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

virusword.com

Learn Wordpress

  • Home
  • WordPress Shop
    • Fotopress
    • SEO Tool Kit
    • Social Contact
    • Tag Machine 2
    • Video Profits
  • Latest News
  • WordPress
    • Plugins
    • Themes
    • Tutorials
    • Videos
    • Woocommerce
  • About Us
  • Contact Us
    • Terms of Service
    • Privacy Policy
  • Show Search
Hide Search
Home/Videos/Remove WooCommerce Checkout Fields – Elementor Wordpress Tutorial

Remove WooCommerce Checkout Fields – Elementor WordPress Tutorial



When you have Virtual or Download Products then there’s no need for the Customer (after paying) to enter their Home Address/etc details.

Use Code Snippets and some simple code to remove the Checkout Fields.

Code: https://websquadron.co.uk/remove-woocommerce-checkout-fields-for-virtual-products-with-code-snippets/

We love to create – share – respond – and deliver.

🧐 Learn with our Mastery Modules: https://websquadron.co.uk/web-design-mastery/
👕 Get our Merchandise: https://websquadron.co.uk/merchandise
😃 Join our Facebook Group: https://www.facebook.com/groups/3309523509284305
😃 Get Code Snippets Pro: https://r.freemius.com/10565/3304295/
😃 Get Elementor Pro: https://trk.elementor.com/25741
😃 Boost your YouTube Analysis: https://www.tubebuddy.com/websquadron
🥹 Support us: https://paypal.me/Websquadron

Hire us to work on your Website!

💌 info@websquadron.co.uk
👩‍💻 Visit https://websquadron.co.uk

source

Written by:
Abdul Wahid
Published on:
May 20, 2024

Categories: VideosTags: BATS Web Agency, BATS Web Design, Code Snippets, elementor, Elementor 101, Elementor Course, elementor pro, elementor tutorial, Elementor Wordpress Tutorials, Hints, how to build a website, how to remove checkout fields in woocommerce, Imran, Imran Siddiq, Remove WooCommerce Checkout Fields - Elementor Wordpress Tutorial, Remove WooCommerce Fields, Siddiq, Squadron, Tips, Web, web design, Web Squadron, website, WebSquadron, woocommerce checkout page, woocommerce tutorial, wordpress, wordpress tutorials

Reader Interactions

Comments

  1. @YoEnLinea8456

    May 20, 2024 at 4:19 pm

    I understand, so useful, but i want to show custom information. Specifically, the product vendor information. I mean, Name, company name and phone number… Someone can help me?

  2. @roory21

    May 20, 2024 at 4:19 pm

    Great tutorial, thank you Imran!

  3. @thejameswilson

    May 20, 2024 at 4:19 pm

    I have tried so many methods to remove checkout fields, none of them work, including this method. I am using WordPress 8.4 – I have no idea what I'm doing wrong but I've tried so many different checkout field remover plugins, tried pasting in PHP to my themes function.php, I've tried this video method, but my checkout shows all the fields still. I wish someone could help

  4. @cyybot

    May 20, 2024 at 4:19 pm

    add_filter( 'woocommerce_checkout_fields', 'custom_override_checkout_fields' );

    function custom_override_checkout_fields( $fields ) {

    // Desactivar campos de dirección de envío

    unset($fields['shipping']['shipping_first_name']);

    unset($fields['shipping']['shipping_last_name']);

    unset($fields['shipping']['shipping_company']);

    unset($fields['shipping']['shipping_country']);

    unset($fields['shipping']['shipping_address_1']);

    unset($fields['shipping']['shipping_address_2']);

    unset($fields['shipping']['shipping_city']);

    unset($fields['shipping']['shipping_state']);

    unset($fields['shipping']['shipping_postcode']);

    // Desactivar campos de dirección de facturación

    /* unset($fields['billing']['billing_first_name']); */

    /* unset($fields['billing']['billing_last_name']); */

    unset($fields['billing']['billing_company']);

    /* unset($fields['billing']['billing_country']); */

    unset($fields['billing']['billing_address_1']);

    unset($fields['billing']['billing_address_2']);

    unset($fields['billing']['billing_city']);

    unset($fields['billing']['billing_state']);

    unset($fields['billing']['billing_postcode']);

    return $fields;

    }

    // Removes Order Notes Title – Additional Information & Notes Field

    add_filter( 'woocommerce_enable_order_notes_field', '__return_false', 9999 );

    // Remove Order Notes Field

    add_filter( 'woocommerce_checkout_fields', 'remove_order_notes' );

    function remove_order_notes( $fields ) {

    unset($fields['order']['order_comments']);

    return $fields;

    }

  5. @herrk2352

    May 20, 2024 at 4:19 pm

    Du bist der Beste!

  6. @kimlakshman8604

    May 20, 2024 at 4:19 pm

    The code link should include line numbers so that it maintains the correct order when you copy and paste it into the snippet plugin.

  7. @imadessarhani645

    May 20, 2024 at 4:19 pm

    // WooCommerce: The Code Below Removes Checkout Fields

    add_filter( 'woocommerce_checkout_fields', 'custom_override_checkout_fields' );

    function custom_override_checkout_fields( $fields ) {

    // unset( $fields['billing']['billing_first_name'] );

    // unset( $fields['billing']['billing_last_name'] );

    unset( $fields['billing']['billing_company'] );

    unset( $fields['billing']['billing_address_1'] );

    unset( $fields['billing']['billing_address_2'] );

    unset( $fields['billing']['billing_city'] );

    unset( $fields['billing']['billing_postcode'] );

    unset( $fields['billing']['billing_country'] );

    unset( $fields['billing']['billing_state'] );

    unset( $fields['billing']['billing_phone'] );

    // unset( $fields['billing']['billing_email'] );

    // unset( $fields['account']['account_username'] );

    // unset( $fields['account']['account_password'] );

    // unset( $fields['account']['account_password-2'] );

    // Removes Order Notes Title – Additional Information & Notes Field

    add_filter( 'woocommerce_enable_order_notes_field', '__return_false', 9999 );

    // Remove Order Notes Field

    unset( $fields['order']['order_comments'] );

    return $fields;

    }

  8. @NFGNurtureForGrowth

    May 20, 2024 at 4:19 pm

    I have never seen a tutorial so direct and straight to the point like yours! ❤ Thank you soo much, this made things a lot easier

  9. @yassiryassir5080

    May 20, 2024 at 4:19 pm

    Please. How to hide all fields (your order :product – subtotal – total) from checkout page

  10. @cryptonewstoday5469

    May 20, 2024 at 4:19 pm

    it doesn't work, I get error everytime. ..

  11. @danygingras7782

    May 20, 2024 at 4:19 pm

    thanks for this tutorial 🙂

Primary Sidebar

Wordpress

  • Content Management Systems (2)
  • Digital Marketing (4)
  • Internet Marketing (6)
  • Latest News (458)
  • Online Business (2)
  • Plugins (519)
  • Themes (521)
  • Videos (1,350)
  • Website Development (1)
  • Woocommerce (589)
  • WordPress (6)

Recent Articles

Unlock Your Internet Marketing Success with WordPress: The Ultimate CMS for Achieving Online Goals

WordPress: A Powerhouse for Achieving Internet …

Continue Reading about Unlock Your Internet Marketing Success with WordPress: The Ultimate CMS for Achieving Online Goals

Unlock Your Internet Marketing Potential with WordPress: A Comprehensive Guide

How to Use WordPress to Achieve Your Internet …

Continue Reading about Unlock Your Internet Marketing Potential with WordPress: A Comprehensive Guide

Search our site

Explore more

Get our Wordpress Guide Get Plugins Get Connected

Footer

VirusWord by Promaps, Inc.

Barnes Place
Colombo 7, Western 00700

Copyright © 2025 · Promaps, Inc.

Keep In Touch

  • Email
  • Facebook
  • Instagram
  • Pinterest
  • Twitter