WP Rocket - WordPress Caching Plugin
{{brizy_dc_image_alt entityId=

How to create a matching homepage using WordPress! Plugin [HivePress] How to hide the address input field when making a WooCommerce payment

At HanamiWEB Online School,

●Ask questions in real-time in the virtual study room!

●Ask as many questions as you want via chat!

●E-learning materials that you can learn as much as you want, 24 hours a day!

All included for just 2,500 yen/month!

We explain HivePress, which allows you to create a matching site for services that are intangible products.

To generate payments, we added the paid extension MarketPlace and the free extension WooCommerce.

When users purchase a service, an address entry field appears.

Here's how to solve this.

Install the Code Snippts plugin

  • Plugin
  • New additions
  • Enter [Code Snippets] in the keywords
  • Install now
  • activation

To do.

Add code

The Code Snippets plugin is a great plugin that will safely add code to your function.php.

Click Add New and enter the following code:

add_filter( 'woocommerce_checkout_fields' , 'bbloomer_simplify_checkout_virtual' ); function bbloomer_simplify_checkout_virtual( $fields ) { $only_virtual = true; foreach( WC()->cart->get_cart() as $cart_item_key => $cart_item ) { // Check if there are non-virtual products if ( ! $cart_item['data']->is_virtual() ) $only_virtual = false; } if( $only_virtual ) { 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']); add_filter( 'woocommerce_enable_order_notes_field', '__return_false' ); } return $fields; }

Actually, I enter it like this:

After purchase, you will need to enter

  • Surname
  • given name
  • Email address

And it's that simple!

Released as soon as the next morning! Weekends and holidays are also available!

Super rush website creation plan

We offer a rush website creation plan for those who need a website in a hurry!

We can publish your content as soon as the next morning, even on weekends and holidays! If you have any questions, please check the details below!

{{brizy_dc_image_alt imageSrc=

Latest Articles

{{brizy_dc_image_alt entityId=
Error message: Allowed memory size of 268435456 bytes exhausted (tried to allocate 14684160 bytes) Error: On Lollipop
{{brizy_dc_image_alt entityId=
Explaining how to set up the Post SMTP plugin when using Google Workspace
{{brizy_dc_image_alt entityId=
Explaining the Meta Pixel feature of the paid version of the WordPress booking system plugin Amelia (9.x and later)
{{brizy_dc_image_alt entityId=
Explaining the Zoom Integration Feature of the Paid Version of the WordPress Amelia Booking System Plugin (9.x and later)
en_USEnglish