Skip to main content
CodePaks
Live Sync • Updates Annual Pass $39
CodePaks

WPC Smart Fees for WooCommerce

WPC Smart Fees for WooCommerce is a WordPress plugin that adds conditional checkout fees for developers managing dynamic cart totals in WooCommerce.

Current release v1.0.4 Updated Virus-Scanned (0/70 Clean)
WPC Smart Fees for WooCommerce
Instant Direct Download Unlimited Domains Original GPL File
$5.00 one-time
✓ Lifetime
  • Daily automated updates
  • VirusTotal 0/70 clean
  • Licensed under GPL
  • Secure 256-bit checkout
  • Instant direct cloud link

What Is WPC Smart Fees for WooCommerce?

WPC Smart Fees for WooCommerce is a WordPress plugin, engineered for developers and WooCommerce agencies to define and apply conditional fees across cart and checkout flows. It addresses the constraint of WooCommerce’s native fee API, which exposes only a single programmatic WC()->cart->add_fee() pathway that typically requires bespoke PHP in theme functions or custom snippets. Within a production stack, the module operates as an extensible surcharge layer, dispatching fee rules that persist through cart recalculation events and checkout totals without touching core templates.

Key Features of the Plugin

The engine evaluates rule conditions against the live cart object during each woocommerce_cart_calculate_fees invocation, then registers matching surcharges as line items in the order review table. Matching logic runs server-side on every totals recalculation, so displayed amounts stay synchronized with shipping, tax, and coupon state. Below are the architectural mechanics a developer can expect when integrating this package into a store build.

Architectural Highlights

  • Conditional Rule Engine: Fees are bound to evaluators such as cart subtotal ranges, product or category presence, quantity thresholds, and chosen shipping or payment context, letting the plugin register or skip each fee per request.
  • Fixed and Percentage Modes: Each rule declares its amount type, so the codebase can compute either a flat surcharge or a percentage of the qualifying base, with optional caps where supported by the rule configuration.
  • Checkout Display Integration: Applied fees render inside the standard WooCommerce totals table via the native fee row template, avoiding duplicated markup and keeping order meta consistent with the cart session.
  • Label and Tax Handling: Fee labels and taxability flags are written with the fee registration, so downstream order records and email summaries carry the same identifiers the rule engine set at runtime.
  • Ecosystem Interoperability: Because the package rides on WooCommerce’s fee API, it composes with complementary checkout-layer plugins; for instance, pairing it with WooCommerce Active Payments lets teams gate payment methods per shipping method while the fee engine adjusts totals on the same screen.

Who Should Use This Plugin?

This package targets WooCommerce engineers and agency teams that need declarative surcharge logic — handling charges, payment method fees, packaging costs, or small-order minimums — without maintaining scattered PHP snippets across client builds. It fits multi-project agency toolkits where checkout behavior must be reproducible and handed off to non-developer store managers through an admin interface. It is not intended for headless storefronts that bypass the WooCommerce cart session entirely, nor for teams that prefer to implement all pricing logic in a custom service layer; if fee rules must be computed from external ERP data in real time, a bespoke integration remains the safer path.

Compatibility & Runtime Requirements

The module runs inside a standard WordPress-plus-WooCommerce server stack, inheriting the runtime constraints of that environment.

Engineering Metric Deployment Specification
Base Technology / Framework WordPress plugin architecture (PHP)
Runtime / Language Requirements PHP runtime per current WordPress core requirements; PHP 7.4+ recommended for production
Data Exchange / Communication Protocols WooCommerce cart session state; internal hook and filter dispatch; WP admin AJAX for settings screens
Core Dependencies / Engine Compatibility WordPress core and WooCommerce (cart, checkout, and order pipeline); WPClever plugin family coexistence
Database / Storage Footprint Options-table storage for rule configurations; no dedicated custom tables required

How to Install & Deploy the Plugin

Deployment follows the standard WordPress administrative workflow, with no additional server tooling required beyond the baseline WooCommerce installation.

  1. Verify the environment: confirm the PHP version meets the current WordPress requirement, that WooCommerce is active, and that no conflicting fee-modification snippets exist in the theme or a code-snippets plugin.
  2. Upload the package archive through the Plugins administration screen, or transfer the extracted folder to wp-content/plugins/ via SFTP for staging-controlled environments.
  3. Activate the plugin from the plugins list; once activated, its administrative settings screen and fee rule modules become fully operational for the site or, on multisite, per-network activation distributes it across subsites.
  4. Configure rule conditions and amounts in the settings panel, then validate behavior by adding qualifying products to a test cart, proceeding to checkout, and confirming the fee row renders with the expected label and value before pushing to production.

When securing the checkout surface the fee engine writes to, teams commonly layer reCaptcha for WooCommerce onto login, registration, and checkout forms to control automated submissions while fee rules keep totals accurate.

Frequently Asked Questions

Does the plugin require custom PHP to create a new fee rule?

No. Fee rules are configured through the plugin’s administrative settings panel, where conditions, amounts, and labels are declared declaratively. Custom code is only necessary when integrating fees with external systems or unusual pricing sources.

Will applied fees persist into the WooCommerce order record?

Yes. Fees registered during cart calculation flow into the standard WooCommerce fee line items on the order, so admin order views, invoices, and transactional emails reflect the same surcharge values applied at checkout.

Can the fee engine coexist with other WPClever modules on one store?

Yes. The package is built on the WooCommerce fee API rather than overriding core templates, so it runs alongside other WPClever catalog and checkout modules — bundles, grouped products, or checkout field editors — within the same installation.

Does the rule engine recalculate when shipping or payment methods change?

Yes. Because fee registration hooks into WooCommerce’s totals recalculation cycle, any checkout update that triggers recalculation — shipping method or payment method selection included — re-evaluates active conditions and adjusts displayed fees accordingly.

Safety & Checksum Verification

VirusTotal 0/70 Clean Code Audit

🛡️ 0 Threat Detections
SHA-256 Checksum Hash:
9c5482732c38c1ef8ea2c9c94763f0163703526a602f7f300e5c535937fd5e49
Kaspersky Clean ✓
Microsoft Defender Clean ✓
BitDefender Clean ✓
Sophos Clean ✓

Developers Also Viewed

View More →
Updated 14 Nov
$5.00
Updated 14 Nov
$5.00
Updated 14 Nov
$5.00