=== Midnight Deals for WooCommerce ===
Contributors: coderpress
Requires at least: 4.9
Tested up to: 7.1
Stable tag: 1.2.0
Requires PHP: 5.2.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically schedule WooCommerce discounts and time-sensitive deals. Create midnight sales, scheduled promotions, and automatic product discounts that run without manual updates.

== Description ==

**Midnight Deals for WooCommerce** helps store owners automate **WooCommerce discounts, scheduled sales, and time-sensitive promotions**.

Set up discounts to automatically activate at midnight or any time you choose. Once configured, your WooCommerce store can run scheduled deals automatically, helping you create limited-time offers, increase customer engagement, and drive more sales without constantly updating product prices manually.

Whether you want to run a **midnight sale, scheduled WooCommerce discount, flash promotion, or time-based product deal**, Midnight Deals makes it easy to automate your promotions.

### Why Use Midnight Deals for WooCommerce?

Running promotions manually can be time-consuming. With Midnight Deals, you can schedule your discounts in advance and let your store handle the timing automatically.

**Key Features:**

* **Schedule WooCommerce discounts** – Set discounts to start automatically at midnight or your preferred time.
* **Automate time-sensitive promotions** – Run limited-time deals without manually changing product prices.
* **Create midnight sales** – Launch special offers automatically while you sleep.
* **Support variable products** – Schedule discounts for WooCommerce variable products.
* **WooCommerce timezone support** – Scheduling follows your WordPress site's configured timezone.
* **Discount performance dashboard** – View useful statistics and insights from the built-in dashboard.
* **Flexible discount customization** – Use the `mdwc_adjust_cost` filter to customize discount calculations programmatically.
* **Save time** – Configure your promotions once and let the plugin handle the scheduled discount process.

### Perfect For

Midnight Deals for WooCommerce is useful for:

* Midnight sales and overnight promotions
* Flash sales and limited-time offers
* Scheduled WooCommerce discounts
* Time-sensitive product promotions
* Automatic sale campaigns
* Daily or recurring promotional campaigns
* WooCommerce stores that want to automate product discounts

Give your customers a reason to come back with automatically scheduled deals and promotions.

== Installation ==

1. Install **Midnight Deals for WooCommerce** through the WordPress Plugins screen, or upload the plugin files to `/wp-content/plugins/midnight-deals-for-woocommerce/`.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Navigate to the **Midnight Deals** settings under WooCommerce.
4. Configure your discount and scheduling preferences.
5. Save your settings and let Midnight Deals automatically manage your scheduled promotion.

== Frequently Asked Questions ==

= Does Midnight Deals support variable products? =

Yes. Support for WooCommerce variable products was added in version 1.0.3.

= Can I schedule discounts for a specific time? =

Yes. You can schedule your WooCommerce discounts to activate at midnight or at your preferred time.

= What time zone does Midnight Deals use? =

The plugin respects your WordPress site's configured timezone. Make sure your WordPress timezone is configured correctly under **Settings → General**.

= Can I customize how the discount is calculated? =

Yes. Developers can use the `mdwc_adjust_cost` filter to customize the discount calculation and adjust the resulting product cost programmatically.

= Does Midnight Deals automatically update product prices? =

The plugin is designed to automate scheduled discounts so you don't have to manually update your products when a scheduled promotion starts.

= Is Midnight Deals useful for flash sales? =

Yes. You can use scheduled discounts to create flash sales, midnight promotions, limited-time offers, and other time-sensitive WooCommerce campaigns.

== Changelog ==

= 1.2.0 - Sept 03, 2026 =

* UPDATE 🚀 - Updated SDK to the latest version.

= 1.1.2 - Jan 28, 2025 =

* UPDATE 🚀 - Updated SDK to the latest version.

= 1.1.1 - Jan 05, 2025 =

* TWEAK ✨ - Added loading indicators for a better user experience.
* UPDATE 🚀 - Updated SDK to the latest version.

= 1.1.0 - Dec 28, 2024 =

* NEW 🚀 - Introduced an all-new dashboard with statistics and insights.

= 1.0.3 - Dec 12, 2024 =

* FIX 🪢 - Added support for variable products.

= 1.0.2 - Dec 08, 2024 =

* FIX 🪢 - Resolved a timezone issue for more consistent discount scheduling.

= 1.0.1 - Dec 07, 2024 =

* UPDATE 🚀 - Updated SDK to the latest version.
* UPDATE 🚀 - Added the `mdwc_adjust_cost` filter for dynamic discount customization.
* FIX 🪢 - Resolved a "call to undefined function" error.

= 1.0.0 - Sept 17, 2024 =

* Initial Release 🎉
