El envío basado en el peso es un método de envío simple pero flexible para WooCommerce centrado principalmente en el peso del carrito (pero no limitado a) para calcular el costo de envío. El complemento le permite agregar múltiples reglas basadas en varias condiciones.
Compatible con:
- WooCommerce 6 (requiere WooCommerce 3.2+)
- WordPress 5.8 (requiere WordPress 4.0+)
- PHP 7.x, 8.x (requiere PHP 5.6+)
Características
Tabla Tarifa EnvíoPuede crear tantas reglas de envío como necesite para diferentes países de clientes, peso del carrito y rangos de subtotales. | Cálculo de precios flexiblesCada perfil se puede configurar para exponer un precio constante (como Tarifa Plana) o un precio progresivo basado en el peso del carro, o ambos. | |
Soporte de clases de envíoPara cada clase de envío que tenga, puede anular la forma en que se calcula el precio de envío. | Paso de pesoA veces es necesario calificar cada, por ejemplo, 500 g de peso del carro en lugar de un peso real. Eso también se puede configurar fácilmente con este complemento. | |
Tarifa planaCada regla de envío se puede configurar fácilmente como un envío de tarifa plana. | Envío gratuito condicionalEn algunos casos, desea realizar el envío de forma gratuita según el subtotal, el peso total o alguna otra condición. Eso se puede lograr en un momento con este complemento. |
Consulte una captura de pantalla a continuación para ver la lista de opciones de configuración disponibles (se puede hacer clic):
registro de cambios
= 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 Wbswc_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.




