=== WPC Smart Fees for WooCommerce ===
Contributors: wpclever
Donate link: https://wpclever.net
Tags: woocommerce, fees, surcharge, extra charges, conditional fees
Tested up to: 7.0
Version: 1.0.2
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Dynamically add smart, conditional fees and surcharges to the WooCommerce cart at checkout.

== Description ==

**WPC Smart Fees for WooCommerce** is a powerful extension that allows store owners to automatically apply dynamic, rule-based fees to the shopping cart at checkout. From payment surcharges and handling fees to location-based charges and time-sensitive rates, the plugin gives you complete control over your pricing logic without writing a single line of code.

Whether you need to add a credit card processing fee, a small-order handling charge, a cold-chain surcharge for perishable goods, or a discount for specific customer segments, WPC Smart Fees makes it effortless to build, test, and manage these rules through a modern admin interface.

= Key Features =

* Add unlimited conditional fee rules to the WooCommerce cart
* Support for fixed amount and percentage-based fees
* Support for negative fees (automatic discounts) with cart-protection: total never goes below zero
* Fine-grained conditions: cart total, subtotal, quantity, weight, distinct products count
* Product conditions: specific products, categories, tags, shipping classes
* Customer conditions: order count, total spent, user role, email address, logged-in status
* Geographic conditions: billing/shipping country, state, postcode, and IP-based Geo-location
* Coupon conditions: apply or skip fees when specific coupons are used
* Shipping-based conditions: restrict fees to specific chosen shipping methods
* Time-based rules (Premium): apply fees during specific dates, days of the week, time ranges, and date ranges
* Taxable fee option: mark each fee as taxable or non-taxable independently
* Skip if other fees applied: prevent fee stacking with a single toggle
* Custom customer-facing notices: display informative messages alongside each fee
* Import/Export: migrate rules between environments via JSON in one click
* Modern UI: card-based rules with accordion panels, inline editing, quick-action icons
* Rule summary modal: at-a-glance view of every rule's configuration
* Duplicate rules: clone any rule to create variations in seconds

= Need more features? =

Please try other plugins from us:

- [WPC Smart Wishlist](https://wordpress.org/plugins/woo-smart-wishlist/ "WPC Smart Wishlist")
- [WPC Smart Quick View](https://wordpress.org/plugins/woo-smart-quick-view/ "WPC Smart Quick View")
- [WPC Fly Cart](https://wordpress.org/plugins/woo-fly-cart/ "WPC Fly Cart")
- [WPC AJAX Add to Cart](https://wordpress.org/plugins/wpc-ajax-add-to-cart/ "WPC AJAX Add to Cart")
- [WPC Added To Cart Notification](https://wordpress.org/plugins/woo-added-to-cart-notification/ "WPC Added To Cart Notification")

== Third-Party Libraries ==

This plugin uses the following third-party libraries:

= Air Datepicker (wpcdpk) =

* **Library**: Air Datepicker
* **Version**: 2.2.3
* **Description**: A lightweight, customizable jQuery datepicker plugin used to provide date, time, date range, and multiple date selection in the admin backend.
* **Homepage**: https://air-datepicker.com/
* **Source**: https://github.com/t1m0n/air-datepicker
* **License**: MIT License
* **License URI**: https://github.com/t1m0n/air-datepicker?tab=MIT-1-ov-file

== Installation ==

1. Please make sure that you installed WooCommerce
2. Go to Plugins in your dashboard and select "Add New"
3. Search for "WPC Smart Fees", Install & Activate it
4. Navigate to **WP-admin > WPClever > Smart Fees** to start creating your fee rules.

== Changelog ==

= 1.0.2 =
* Updated: Optimized the code
* Updated: Compatible with WP 7.0 & Woo 11.0

= 1.0.1 =
* Fixed: Add MIT license for wpcdpk library
* Fixed: Nonces and User Permissions Needed for Security

= 1.0.0 =
* Initial release
