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.

གཏུབ་རེིས།

སྒྲིག་འཇུག

  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.

FAQ

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.

གདེང་འཇོག

There are no reviews for this plugin.

བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

“Percentage Shipping Fee for WooCommerce” is open source software. The following people have contributed to this plugin.

བྱས་རྗེས་འཇོག་མཁན།

“Percentage Shipping Fee for WooCommerce” has been translated into 2 locales. Thank you to the translators for their contributions.

ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “Percentage Shipping Fee for WooCommerce” ཡིག་སྒྱུར་བྱོས།

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.