WooCommerce Weight Based Shipping

WooCommerce Weight Based Shipping

Weight Based Shipping is a simple yet flexible shipping method for WooCommerce focused mainly on cart weight (but not limited to) to calculate shipping cost. Plugin allows you to add multiple rules based on various conditions.


Compatible with:

  • WooCommerce 7 (requires WooCommerce 3.2+)
  • WordPress 6 (requires WordPress 4.6+)
  • PHP 7.1+, 8.x

Features

Table Rate Shipping
You can create as many shipping rules as you need for different customer countries, cart weight and subtotal ranges.
 
Flexible Price Calculation
Each profile can be configured to expose a constant price (like Flat Rate) or a progressive price based on cart weight, or both.



Shipping Classes Support
For each shipping class you have you can override the way shipping price is calculated for it.
 
Weight Step
Sometimes it’s needed to rate every, for example, 500g of cart weight rather than a real weight. That also can be easily set up with this plugin.


Flat Rate
Each shipping rule can be easily configured as a flat rate shipping.


 
Conditional Free Shipping
In some cases you want to ship for free depending on subtotal, total weight or some other condition. That can be achieved in a moment with this plugin.



Check out a screenshot below for the list of available configuration options (clickable):



Changelog


= 5.3.27 =
* Prevent updating to the incorrect version.
* Raise the minimum require WordPress version to 4.6.

= 5.3.26 =
* Tested with WooCommerce 7.1.

= 5.3.25 =
* Tested with WooCommerce 7.0, WordPress 6.1.

= 5.3.24 =
* Tested with WooCommerce 6.9.

= 5.3.23 =
* Tested with WooCommerce 6.7

= 5.3.22 =
* Tested with WooCommerce 6.5, WordPress 6.0.

= 5.3.21 =
* Fixed a PHP warning triggered by some other plugins about a missing InstalledVersions.php file.
* Tested with WooCommerce 6.4.

= 5.3.20 =
* Tested with WooCommerce 6.3.

= 5.3.19 =
* Tested with WordPress 5.9, WooCommerce 6.1.

= 5.3.18 =
* Tested with WooCommerce 6.0.

= 5.3.17 =
* Tested with WooCommerce 5.9.

= 5.3.16 =
* Tested with WooCommerce 5.8.
* Drop PHP 5.6 support.

= 5.3.15 =
* Tested with WooCommerce 5.7.

= 5.3.14 =
* Tested with WooCommerce 5.6.

= 5.3.13 =
* Tested with WordPress 5.8, WooCommerce 5.5.

= 5.3.12 =
* Tested with WooCommerce 5.3.

= 5.3.11 =
* Tested with WooCommerce 5.2.

= 5.3.10 =
* Tested with WooCommerce 5.1, WordPress 5.7.

= 5.3.9 =
* Bump the minimum supported PHP version to 5.6.
* Tested with WooCommerce 5.0.

= 5.3.8 =
* Tested with WooCommerce 4.9.
* Require minimum WooCommerce 3.2.

= 5.3.7.1 =
* Tested with WooCommerce 4.8, WordPress 5.6.

= 5.3.7 =
* Fix the issue with the global WBS method not being triggered by WooCommerce for customers having no location set.
* Tested with WooCommerce 4.7.

= 5.3.6.1 =
* Tested with WooCommerce 4.6.

= 5.3.6 =
* Raise the minimum required WooCommerce version to 3.1.2.
* Tested with WooCommerce 4.5.

= 5.3.5 =
* Fix unsaved settings warning with WooCommerce 4.4.1.

= 5.3.4.5 =
* Tested with WordPress 5.5.

= 5.3.4.4 =
* Fix a typo in the settings link.

= 5.3.4.3 =
* Tested with WooCommerce 4.3.

= 5.3.4.2 =
* Tested with WooCommerce 4.2.

= 5.3.4.1 =
* Tested with WooCommerce 4.1.

= 5.3.4 =
* Fix small appearance issues with recent WordPress/WooCommerce.
* Added 'No shipping class' option to the Shipping Classes section.

= 5.3.3.2 =
* Tested with WooCommerce 4.0, WordPress 5.4.

= 5.3.3.1 =
* Tested with WooCommerce 3.9.

= 5.3.3 =
* Fix appearance with WordPress 5.3.

= 5.3.2.2 =
* Update supported WooCommerce version to 3.8, WordPress to 5.3.

= 5.3.2.1 =
* Update supported WooCommerce version to 3.7.

= 5.2.6 =
* Fix WooCommerce 3.6.0+ compatibility issue causing no shipping options shown to a customer under some circumstances.

= 5.2.5 =
* Fix PHP 5.3 compatibility issue.

= 5.2.4.1 =
* Update supported WordPress version to 5.1.

= 5.2.4 =
* Partial support for decimal quantities.

= 5.2.3 =
* Update supported WordPress version to 5.0.

= 5.2.2 =
* Improve prerequisites checking.
* Update supported WooCommerce version to 3.5.

= 5.2.1 =
* Update supported WooCommerce version.

= 5.2.0 =
* Don't ignore duplicate shipping classes entries. When multiple rates specified for a class in a rule, they all will be in effect starting from this version.

= 5.1.5 =
* Fix issue with Weight Rate causing zero price in case of a small order weight and large step ("per each") value.
* Fix appearance issues with WooCommerce 3.2.

= 5.1.4 =
* Fix blank settings page in Safari when Yoast SEO is active.

= 5.1.3 =
* Fix WooCommerce pre-2.6 compatibility.
* Minor appearance fixes.

= 5.1.2 =
* Fix blank settings page in Firefox when Yoast SEO is active.

= 5.1.1 =
* Fix settings not saved on hosts overriding arg_separator.output php.ini option.

= 5.1.0 =
* Support WooCommerce convention on shipping option ids to fix shipping method detection in third-party code, like Cash On Delivery payment method and Conditional Shipping and Payments plugin.

= 5.0.9 =
* Show a warning on PHP 5.3 with Zend Guard Loader active known to crash with 500/503 server error.

= 5.0.8 =
* Fix IE11 error preventing from adding/importing rules.

= 5.0.7 =
* Fix welcome screen buttons appearance in WP 4.7.5

= 5.0.6 =
* A bunch of minor fixes.

= 5.0.5 =
* Fix PHP 5.3.x error while importing legacy rules.
* Fix WooCommerce 3.x deprecation notice about get_variation_id.

= 5.0.4 =
* Fix WooCommerce 3.x deprecation notices.
* Deactivate other active versions of the plugin upon activation (fixed).

= 5.0.3-beta =
* Fix 'fatal error: call to undefined function Wbs\wc_get_shipping_method_count()' if WooCommerce version used is below 2.6.

= 5.0.2-beta =
* Avoid conflicts with other plugins using same libraries.
* Deactivate other active versions of the plugin upon activation.

= 5.0.1-beta =
* Fix Destinations not being saved on WooCommerce 3.0.

= 5.0.0-beta =
* Rewritten from scratch, better performance and look'n'feel.
* Shipping Zones support.

= 4.2.2 =
* Fix rules not imported from an older version when updating from pre-4.0 to 4.2.0 or 4.2.1.

= 4.2.1 =
* Fix saving rules order.

= 4.2.0 =
* Allow sorting rules with drag'n'drop in admin panel.

= 4.1.4 =
* Fixed WooCommerce 2.6 compatibility issues.

= 4.1.3 =
* Minimize chances of a float-point rounding error in the weight step count calculation.
* Avoid updating from wp.org.

= 4.1.2 =
* Better invalid settings handling.

= 4.1.1 =
* Backup old settings on upgrade from pre-4.0 versions.
* Fix automatic update issues.

= 4.1.0 =
* Fix WC_Settings_API->get_field_key() missing method usage on WC 2.3.x.
* User package passed to calculate_shipping() funciton instead of global cart object for better integration with 3d-party plugins.
* Get rid of wbs_remap_shipping_class hook.
* Use class autoloader for better performance and code readability.

= 4.0.0 =
* Admin UI redesign.

= 3.0.0 =
* Country states/regions targeting support.

= 2.6.9 =
* Fixed: inconsistent decimal input handling in Shipping Classes section.

= 2.6.8 =
* Fixed: plugin settings are not changed on save with WooCommerce 2.3.10 (WooCommerce 2.3.10 compatibility issue).

= 2.6.6 =
* Introduced 'wbs_profile_settings_form' filter for better 3d-party extensions support.
* Removed partial localization.

= 2.6.5 =
* Min/Max Shipping Price options.

= 2.6.3 =
* Improved upgrade warning system.
* Fixed warning about Shipping Classes Overrides changes.

= 2.6.2 =
* Fixed Shipping Classes Overrides: always apply base Handling Fee.

= 2.6.1 =
* Introduced "Subtotal With Tax" option.

= 2.6.0 =
* Min/Max Subtotal condition support.

= 2.5.1 =
* Introduce "wbs_remap_shipping_class" filter to provide 3dparty plugins an ability to alter shipping cost calculation.
* Wordpress 4.1 compatibility testing.

= 2.5.0 =

* Shipping classes support.
* Ability to choose all countries except specified.
* Select All/None buttons for countries.
* Purge shipping price calculations cache on configuration changes to reflect actual config immediatelly.
* Profiles table look tweaks.
* Other small tweaks.

= 2.4.2 =

* Fixed: deleting non-currently selected configuration deletes first configuration from the list.

= 2.4.1 =

* Updated pot-file required for translations.
* Added three nice buttons to plugin settings page.
* Prevent buttons in Actions column from wrapping on multiple lines.

= 2.4.0 =

* By default, apply Shipping Rate to the extra weight part exceeding Min Weight. Also a checkbox added to switch off this feature.

= 2.3.0 =

* Duplicate profile feature.
* New 'Weight Step' option for rough gradual shipping price calculation.
* Added more detailed description to the Handling Fee and Shipping Rate fields to make their purpose clear.
* Plugin prepared for localization.
* Refactoring.

= 2.2.3 =

* Fixed: first time saving settings with fresh install does not save anything while reporting successful saving.
* Replace short php tags with their full equivalents to make code more portable.

= 2.2.2 =

Fix "parse error: syntax error, unexpected T_FUNCTION in woocommerce-weight-based-shipping.php on line 610".

= 2.2.1 =

Allow zero weight shipping. Thus only Handling Fee is added to the final price.

Previously, weight based shipping option has not been shown to user if total weight of their cart is zero. Since version 2.2.1 this is changed so shipping option is available to user with price set to Handling Fee. If it does not suite your needs well you can return previous behavior by setting Min Weight to something a bit greater zero, e.g. 0.001, so that zero-weight orders will not match constraints and the shipping option will not be shown.

== Upgrade Notice ==

= 2.2.1 =

Allow zero weight shipping. Thus only Handling Fee is added to the final price.

Previously, weight based shipping option has not been shown to user if total weight of their cart is zero. Since version 2.2.1 this is changed so shipping option is available to user with price set to Handling Fee. If it does not suite your needs well you can return previous behavior by setting Min Weight to something a bit greater zero, e.g. 0.001, so that zero-weight orders will not match constraints and the shipping option will not be shown.

Go to Download
Back to Blogs

Your Trusted Destination for Digital Goods! Explore a wide range of high-quality digital products, including software, themes, templates.

botdigit@gmail.com

Sign up for our newsletter!

Connect with us

© 2024 Botdigit