Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

WC Hide Shipping Methods Except Pont

This plugin automatically hides all other shipping methods when “free shipping” is available.

=== WC Hide Shipping Methods Except Pont ===
Contributors: csa3a07
Tags: woocommerce, free shipping, local pickup, hide, hide shipping methods, hide shipping rates, force free shipping, hide other shipping methods, when free shipping, disable other shipping, keep local pickup, keep pont, szatmari pont
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=E8FV2BLBH57W2&source=url
Requires at least: 4.5.0
Tested up to: 5.0.3
Requires PHP: 5.2.4
Stable tag: 1.0
License: GPLv3 or later License
License URI: https://www.gnu.org/licenses/gpl-3.0.html

This plugin automatically hides all other shipping methods when “free shipping” is available.

== Description ==
This plugin automatically hides all other shipping methods when “free shipping” is available during checkout process. It also includes an option to keep “local pickup” and “pont” (by Szatmari) available alongside “free shipping”. Your donation is greatly appreciated!

== Installation ==
1. Download the plugin & install it to your `wp-content/plugins` folder (or use the Plugins menu through the WordPress Administration section)
2. Activate the plugin
3. Navigate to **WooCommerce > Settings > Shipping > Shipping options**.
4. Select your option.
5. Save and enjoy!

== Frequently Asked Questions ==
= Q: What WooCommerce version is required? =
A: WC requires at least: 2.6
WC tested up to: 3.5.3

= Q: Is this plugin compatible with new shipping zones? =
A: Yes!

== Screenshots ==
1. Plugin settings
2. Checkout free shipping
3. Checkout free shipping + local pickup

== Changelog ==
= 1.0 =  
 * Initial release

== Upgrade Notice ==
Non.