=== OfferCrisp – Flash Sale & Discount Manager for WooCommerce ===
Contributors: tasinislam
Tags: woocommerce, flash sale, discount, offer, countdown
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lightweight WooCommerce flash sale & discount manager with pricing tables, per-product countdowns, sale banners, and a visual theme studio.

== Description ==

**OfferCrisp** is an ultra-lightweight, high-performance flash sale, offer, and discount manager built specifically for WooCommerce stores. Launch site-wide or tag-based flash sales in seconds without slowing down your storefront.

= Key Features =

* **Dedicated Offer Page (`[offercrisp_page]`):** Automatically renders a high-converting flash sale hero banner, live countdown timer, and responsive product grid on your chosen Offer Page.
* **Instant Product & Variation Pricing Table:** Manage custom offer prices for both simple and variable products from a single AJAX-powered table—changes save instantly without reloading the page.
* **Flexible Discount Methods:** Choose between exact per-product/variation table prices, global percentage discounts, or global fixed-amount discounts.
* **Global & Per-Product Scheduling:** Schedule upcoming countdowns, live flash sale start times, and automatic end times globally or per individual product.
* **Single-Product Flash Sale Banner:** Automatically displays a sleek, full-width countdown bar on active offer product pages with live variation price syncing.
* **Free Delivery Toggle & Badge:** Enable free shipping on specific offer products or variations with an automatic Free Delivery badge in the cart and checkout.
* **Custom SVG Icons & Product Card Badges:** Upgrade WooCommerce sale badges on shop and category cards with crisp built-in SVG icons or custom uploaded icons.
* **Live Visual Theme Studio:** Customize colors, gradients, presets, icons, and text with an instant real-time preview—no CSS knowledge required.
* **Zero Bloat & HPOS Compatible:** Pure vanilla JavaScript and lightweight CSS loaded conditionally only where needed, with full WooCommerce HPOS support.

== Installation ==

1. Upload the `offercrisp` folder to the `/wp-content/plugins/` directory, or install the plugin directly through the WordPress Plugins screen.
2. Make sure **WooCommerce** is installed and activated.
3. Activate **OfferCrisp** through the **Plugins** menu in WordPress.
4. Go to **OfferCrisp** in your WordPress admin sidebar to configure your offer tag, pricing table, schedule, and colors.
5. Select your Offer Page in **OfferCrisp → General**, or place the `[offercrisp_page]` shortcode on any page.

== Frequently Asked Questions ==

= Does OfferCrisp work with Variable Products? =

Yes. You can set individual offer prices, schedules, and free delivery toggles for each product variation directly from the **Products & Prices** table.

= Does OfferCrisp slow down my website? =

No. OfferCrisp uses request-level caching, transients, and conditional asset loading so CSS and JavaScript are only loaded on pages where active offers are displayed.

= Can I schedule a flash sale in advance? =

Yes. You can set a Countdown Start time (for "Upcoming" mode), an Offer Start time, and an Offer End time globally or per product. Prices and banners automatically activate and revert when the timer finishes.

= Does it support any store currency? =

Yes. OfferCrisp automatically uses your active WooCommerce store currency and formatting settings.

= Does OfferCrisp send any data to external servers? =

No. OfferCrisp runs 100% locally inside your WordPress and WooCommerce installation without external API calls or third-party tracking.

== Screenshots ==

1. OfferCrisp General Configuration dashboard with live status indicator.
2. AJAX-powered Products & Variations Pricing Table with per-item scheduling and Free Delivery toggle.
3. Global Schedule & Quick Start Live Offer controls.
4. Live Visual Color Theme & Icon Studio.
5. Frontend Dedicated Offer Page with countdown timer and product grid.

== Changelog ==

= 1.0.0 =
* Initial public release on WordPress.org.
* Dedicated Offer Page (`[offercrisp_page]`) with countdown hero banner and responsive product grid.
* AJAX-powered simple and variable product pricing table.
* Global and per-product flash sale scheduling.
* Single-product countdown banner and storefront product card badges.
* Per-product and per-variation Free Delivery shipping override and cart badge.
* Live Visual Color Theme & Icon Studio.
* WooCommerce HPOS compatibility and clean uninstall handler.

== Upgrade Notice ==

= 1.0.0 =
Initial public release of OfferCrisp – Flash Sale & Discount Manager for WooCommerce.
