Descripción
This plugin allows WooCommerce shop owners to restrict any shipping method (Free Shipping, Flat Rate, Local Pickup, etc.) when the cart meets certain conditions. It includes an admin settings panel under WooCommerce where you can customize:
Basic Settings:
* Whether the plugin is enabled
* Which shipping methods to restrict
* The default cart weight limit
* Cart subtotal, item count, and dimension limits
* Customizable frontend message for customers
* Admin notification email toggle with customer/product details
Threshold Settings (Visual Dropdowns):
* Different weight thresholds per shipping zone
* Different weight thresholds per shipping class
* Different weight thresholds per product category
* Custom weight limit per product (in product edit screen)
Bypass Rules:
* Coupon-based bypass – specify coupon codes that allow free shipping regardless of weight
* User role-based bypass – allow specific user roles (e.g., Wholesale) to bypass restrictions
Schedule Settings:
* Time-based bypass – temporarily disable restrictions during specific date ranges (e.g., holiday promotions)
Performance:
* Leverages persistent object cache (e.g., Redis/Memcached) for improved performance if available
Useful for shop owners who want to avoid offering free or discounted shipping for bulky, heavy, or high-value orders while maintaining flexibility for promotions and special customers.
Instalación
- Upload the plugin files to the
/wp-content/plugins/disable-free-shipping-heavyweightdirectory, or install the plugin via the WordPress plugin repository. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to WooCommerce > Disable Free Shipping to configure the plugin.
FAQ
-
Can I change the weight limit or other thresholds?
-
Yes. You can update all thresholds and conditions via the settings page in the WordPress admin area. You can also set different thresholds per shipping zone, shipping class, or product category. Developers can also override the weight limit using a filter:
add_filter( 'dfsh_weight_limit', function( $limit ) { return 25; } ); -
Does it delete all data on uninstall?
-
Yes. When you delete the plugin, all settings are removed automatically.
-
Can I exclude certain products from restrictions?
-
Yes. Edit the product and check the box labeled “Exclude this product from shipping restrictions.” You can also set a custom weight limit per product.
-
Can I disable admin notification emails?
-
Yes. There is a setting in the plugin options to enable or disable admin notification emails.
-
What information is included in the admin notification email?
-
The email includes the customer’s name (if logged in) and a list of products in the cart at the time the shipping method was restricted.
-
Does the plugin support caching plugins like Redis or Memcached?
-
Yes. If a persistent object cache is detected, the plugin will cache restriction results for up to 12 hours for improved performance.
-
Can I allow certain coupons to bypass shipping restrictions?
-
Yes. In the Bypass Rules section, you can enter comma-separated coupon codes that will allow customers to use free shipping even if their cart exceeds the weight limit.
-
Can I allow certain user roles to bypass restrictions?
-
Yes. In the Bypass Rules section, you can select which user roles (e.g., Administrator, Wholesale Customer) should bypass the shipping restrictions.
-
Can I temporarily disable restrictions for promotions?
-
Yes. In the Schedule Settings section, you can enable a date range during which all shipping restrictions will be bypassed (e.g., for Black Friday or holiday promotions).
Reseñas
No hay reseñas para este plugin.
Colaboradores & Desarrolladores
“Disable Free Shipping for Heavyweight Orders” es software de código abierto. Las siguientes personas han contribuido a este plugin.
ColaboradoresTraduce “Disable Free Shipping for Heavyweight Orders” a tu idioma.
¿Interesado en el desarrollo?
Revisa el código, echa un vistazo al repositorio SVN, o suscríbete al registro de desarrollo por RSS .
Historial de cambios
1.4.0
- NEW: Coupon-based bypass – specify coupon codes that allow free shipping regardless of weight
- NEW: User role-based bypass – allow specific user roles to bypass shipping restrictions
- NEW: Schedule-based bypass – temporarily disable restrictions during specific date ranges
- NEW: Category-based weight thresholds – set different limits per product category
- NEW: Product-level custom weight limit – override default limit per product
- NEW: Visual dropdown selectors for zones and classes (replaces JSON input)
- NEW: Weight limit field in product category edit screen
- NEW: Weight limit column in shipping classes table
- Improved settings UI with organized sections
1.3.0
- Added option to enable/disable admin notification emails
- Admin notification email now includes customer name and product details
- Leverages persistent object cache (e.g., Redis/Memcached) for performance if available
1.2.0
- Major update: Multiple shipping methods, zone/class/subtotal/item count/dimension thresholds, admin notification, frontend messaging, product-level override
1.1.0
- Added admin settings panel
- Added uninstall cleanup
- Option to hide or label free shipping
1.0.0
- Initial release