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. Upload the plugin files to the /wp-content/plugins/percentage-fee-shipping directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to WooCommerce > Settings > Shipping and select a Shipping Zone.
  4. Add the “Percentage-based Shipping” method.
  5. Set the title and percentage fee.

常見問題集

Can I set different percentages for different zones?

Yes! You can add this shipping method to multiple zones and define a different percentage for each.

Does this plugin support tax calculation?

The cost is added before tax. You can configure how taxes are handled in WooCommerce settings.

Is this plugin compatible with the latest version of WooCommerce?

Yes, it is tested with WooCommerce 10.X. and WordPress 6.8.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Percentage Shipping Fee for WooCommerce〉的開發相關工作。

參與者

〈Percentage Shipping Fee for WooCommerce〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Percentage Shipping Fee for WooCommerce〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.3.2

  • Updated: Tested up to WordPress 7.0

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.