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:
- Go to your WordPress site’s dashboard.
- Go to the WooCommerce settings page.
- Click on the Checkout tab.
- Go to the Address Settings section.
- 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.
- 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:
- Go to your WordPress site’s dashboard.
- Go to the WooCommerce.
- Click on the Settings option.
- Click on the Shipping tab.
- 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.
- Click on the Edit option to edit your shipping zone.
- Enter No Shipping in the Zone Name field.
- Choose Everywhere Else/Rest of World/Worldwide etc., under Zone regions, depending on what region is applicable for this case.
- Click on the Add shipping method button.
You can fill out a form with details about your new flat rate by clicking on this link.
- Select the method you want and click on the Add shipping method button.
- Click on the Edit option to edit your shipping method.
- Enter No Shipping in the Method title.
- 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:
- Go to your WordPress site’s dashboard.
- Go to the WooCommerce.
- Click on the Settings option.
- Go to the General tab.
- Go to the General options.
- Choose Disable shipping & shipping calculations from the dropdown menu under Shipping locations.
Using this method, shipping is removed from the WooCommerce checkout process.
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.
- 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:
- Connect to your site WordPress hosting via FTP.
- Open the functions.php file.
- 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.