Percentage Shipping Fee for WooCommerce

Beschreibung

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.

Screenshots

Installation

  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.

Rezensionen

There are no reviews for this plugin.

Mitwirkende & Entwickler

„Percentage Shipping Fee for WooCommerce“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Percentage Shipping Fee for WooCommerce“ wurde in 2 Sprachen übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „Percentage Shipping Fee for WooCommerce“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.