plugin-icon

Percentage Shipping Fee for WooCommerce

作者:Marco Gagnon·
A WooCommerce shipping method that calculates the shipping cost as a percentage of the cart subtotal.
版本
1.3.1
活跃安装
10
最后更新
May 7, 2026
Percentage Shipping Fee for WooCommerce

This plugin adds a custom shipping method to WooCommerce that charges your customers a shipping fee based on a percentage of the cart subtotal.

Key Features:

  • Define a shipping percentage per zone.
  • Fully integrated with WooCommerce shipping zones.
  • Lightweight and simple to use.
  • Supports multiple zones and instances with different values.

1.3.1

  • Fix: Added safe WC()->cart checks before accessing cart subtotal to prevent fatal errors outside cart context.
  • Fix: Restored compatibility with AISP Order Tools admin minimum shipping bypass logic.
  • Fix: Added sanitize_callback for Allowed User IDs field to ensure only valid positive integers are saved.
  • Fix: Unified default shipping percentage value to 9% for consistent behavior.
  • Improve: Added clearer inline code comments for better maintainability.
  • Improve: Cleaned up and standardized shipping method class structure.

1.3.0

  • Added: Support for restricting Free Shipping by User ID. Free shipping can now be limited to specific customers via the shipping method settings.
  • Improved: Refactored the plugin structure into multiple class files for better maintainability.
  • Improved: Shipping logic to ensure correct availability based on user eligibility and cart subtotal.

1.2.1

  • Improved: Added compatibility groundwork for future integration with AISP Order Tools to bypass shipping minimum fees for administrators managing orders manually.
  • Improved: Prepared optional integration support for future AISP Order Tools compatibility.

1.2.0

  • Added: Per-zone minimum shipping cost support for the Percentage Shipping method.
  • Added: Enable/disable checkbox for minimum shipping enforcement directly in each shipping zone instance.
  • Added: Editable minimum shipping amount field per shipping zone.

1.1.0

  • Added: New “Free Shipping” method.
  • Improved: The “Percentage Shipping” method is now automatically hidden when “Free Shipping” is available.

1.0.1

  • Improved: Tested and confirmed compatibility with WooCommerce 10.2.

1.0.0

  • Initial release with percentage-based shipping cost support.
免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.9.4
这个插件是可用的下载,适用于您的站点。