How to Remove Shipping Details From the WooCommerce Cart Checkout Page?

How do you remove shipping details from the WooCommerce cart checkout page? Providing shipping information is imperative to eCommerce. If you are using WooCommerce, you might be familiar with the lengthy checkout page that includes billing and shipping details.

Users tend to abandon their carts due to bad experiences, which may involve completing many fields before the checkout process. This results in a diminished user experience.

The shipping details section can be removed from the WooCommerce checkout to improve the customer’s experience and ensure they choose to shop with you in the long run.

So, this article will explain how to remove shipping details from a cart in WooCommerce with three effective methods.

How to Remove Shipping Details from Cart in WooCommerce (3 Methods)?

Providing shipping information is essential for eCommerce. If you use WooCommerce, you may be familiar with the lengthy checkout page.

Bad experiences result in users abandoning their carts before checking out, resulting in diminished user experiences.

This section will show you how to remove shipping details from a WooCommerce cart with three effective methods. But if you want more advanced ways to change and improve the checkout page, you can check the best Woocommerce shopping cart plugins.

Method 1: Remove a Shipping Address From WooCommerce Cart

A shipping address may be removed from a WooCommerce cart in two ways:

In the first instance, you will need to disable the β€œCollect customer address” option under the WooCommerce settings page.

This will prevent customers from adding a shipping address to their shopping cart due to removing the shipping fields from the checkout page.

Follow these steps to use this way:

  1. Go to your WordPress site’s dashboard.
  2. Go to the WooCommerce settings page.
Go to the WooCommerce settings page

  1. Click on the Checkout tab.
  2. Go to the Address Settings section.
  3. Check the box next to Disable Shipping Address Fields.

As a result, the shipping fields on the checkout page will be removed completely. If you check this box, you will also be able to remove any other fields related to shipping, such as order notes.

The shipping address also may be removed only from the cart, not from the checkout page, by checking the box next to β€œEnable guest checkoutβ€œ.

Consequently, customers will not be required to create an account or enter any shipping information during checkout.

Alternatively, if you would only like to remove specific fields from the checkout page, click on the β€œFields” tab and uncheck any fields you do not wish to appear.

  1. Go to the bottom of the page and click on Save Changes.

This way, you can update your settings and remove the shipping fields from your WooCommerce store.

As a second way, you may also wish to add a β€œno shipping” option to your cart if you do not wish to disable all of the shipping fields in WooCommerce.

In WooCommerce, you can enable this feature by adding a β€œno shipping” zone to the β€œShipping Zones” section.

In this zone, you can create a flat rate called β€œno shipping” or something similar, which will be set to $0.00 once you have created it.

Follow these steps to use this way:

  1. Go to your WordPress site’s dashboard.
  2. Go to the WooCommerce.Β 
  3. Click on the Settings option.
Go to the WooCommerce, then click on the Settings option

  1. Click on the Shipping tab.Β 
  2. Go to the Shipping zones.

This will result in a list of your existing shipping zones being displayed.

Note: You can click on the Add Zone button if no zones are listed. This will bring up a form where you can describe your new zone.

  1. Click on the Edit option to edit your shipping zone.
Click on the Shipping tab, go to the Shipping zones, then click on the Edit option

  1. Enter No Shipping in the Zone Name field.
  2. Choose Everywhere Else/Rest of World/Worldwide etc., under Zone regions, depending on what region is applicable for this case.
  3. Click on the Add shipping method button.
Enter No Shipping in the Zone Name field, select regions, and Add shipping method

You can fill out a form with details about your new flat rate by clicking on this link.

  1. Select the method you want and click on the Add shipping method button.

Select the method you want and click on the Add shipping method button
  1. Click on the Edit option to edit your shipping method.
Click on the Edit option to edit your shipping method
  1. Enter No Shipping in the Method title.
  2. Click on the Save changes button.
Enter No Shipping in the Method title, then click on the Save changes button

  1. Click on the Save changes button.
Click on the Save changes button

Method 2: Disable WooCommerce Shipping & Shipping Calculations

In the settings of WooCommerce, you can choose from several options, including shipping, payment, tax rules, etc.

Follow these steps to disable WooCommerce shipping & shipping calculations:

  1. Go to your WordPress site’s dashboard.
  2. Go to the WooCommerce.Β 
  3. Click on the Settings option.

Go to the WooCommerce, then click on the Settings option
  1. Go to the General tab.
Go to the General tab
  1. Go to the General options.
  2. Choose Disable shipping & shipping calculations from the dropdown menu under Shipping locations.

Using this method, shipping is removed from the WooCommerce checkout process.

Go to the General options, then choose Disable shipping & shipping calculations from the dropdown menu under Shipping locations

The shipping options and the shipping cart will be completely disabled if you choose this option.

The shipping calculator will not appear in the cart or during checkout. So, activate this option only if you sell digital products.

  1. Click on the Save changes button at the bottom left corner of your screen to save the settings.
Click on the Save changes button at the bottom left corner of your screen to save the settings

Visit the cart page of your store once the settings have been saved, and you will note that neither a shipping calculator nor a shipping option is available.

On your store’s checkout page, you will notice that the shipping information section has also been removed.

Method 3: Remove Shipping From WooCommerce Cart Using PHP

Follow these steps to remove shipping from the WooCommerce cart using PHP:

  1. Connect to your site WordPress hosting via FTP.
  2. Open the functions.php file.
  3. Add the following snippet to your functions.php file:
function betterstudio_disable_shipping_calc_on_cart( $show_shipping ) 

    if( is_cart() ) 
        return false;
    
    return $show_shipping;


add_filter( 'woocommerce_cart_ready_to_calc_shipping', 'betterstudio_disable_shipping_calc_on_cart', 99 );

Conclusion

This article has explained how to remove shipping details from a cart in WooCommerce with three effective methods.

We sincerely appreciate you for reading this article with such interest. In the comments section, you are welcome to post comments and questions.

Our Facebook and Twitter pages are constantly updated with new articles. We encourage you to follow us there to stay up-to-date with our latest developments.

Leave a Reply