=== Searchbar Fix Discounts for WooCommerce ===
Contributors: searchbar
Tags: woocommerce, discount, cart, fixed discount, coupon
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt

Apply automatic percentage or fixed amount discounts to the WooCommerce cart and checkout based on custom date ranges.

== Description ==

**Searchbar Fix Discounts for WooCommerce ** is a lightweight solution for WooCommerce store owners who want to run automated promotions without requiring customers to enter coupon codes. 

The plugin applies a "Fix Discount" fee directly to the cart subtotal, ensuring a seamless checkout experience for your customers.

### Key Features:
* **Automatic Application:** No coupons needed; the discount is applied automatically.
* **Flexible Types:** Choose between Percentage (%) or Fixed Amount discounts.
* **Date Scheduling:** Define a start and end date for your promotion.
* **Coupon Logic:** Choose whether to keep the discount active if a customer uses an additional coupon.
* **Clean Architecture:** Built on a modular boilerplate for performance and security.

== Installation ==

1. Upload the `searchbar-fix-discounts` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to **WooCommerce > Fix Discount** to configure your settings.

== Frequently Asked Questions ==

= Is this compatible with HPOS? =
Yes, the plugin uses standard WooCommerce hooks compatible with High-Performance Order Storage (HPOS).

= Can I set a discount for specific products? =
Currently, the discount applies to the entire cart subtotal.

== Screenshots ==

1. The main settings page under WooCommerce > Fix Discount.
2. Discount applied automatically as a "Fix Discount" fee in the cart.
3. Date range scheduling options.

== Changelog ==

= 1.0.0 =
* Initial release.
* Added automatic percentage and fixed amount discount types.
* Integrated date range scheduling for promotions.
* Added modular boilerplate structure for better maintenance.

== Upgrade Notice ==

= 1.0.0 =
Initial stable release.