=== IMNRZ Live Commerce ===
Contributors: imnrz
Tags: woocommerce, flash sale, product showcase, countdown timer, ecommerce
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 0.4.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

WooCommerce flash-sale, countdown and product-showcase landing pages built from real prices, variations, stock, cart and checkout. No fake data.

== Description ==

IMNRZ Live Commerce is a WooCommerce flash-sale and product-showcase builder. It turns selected WooCommerce products into responsive, high-converting sales campaigns and landing pages — complete with countdown timers, deal badges, stock urgency, live viewer counts and a one-click WhatsApp inquiry action.

Unlike showcase plugins that display static or fabricated numbers, every price, variation, image, stock level, rating and cart action comes from your real WooCommerce store data. Shoppers add to cart and check out through the standard WooCommerce flow you already trust.

Perfect for flash sales, limited-time offers, single-product landing pages, high-ticket showrooms and seasonal promotions.

Features include:

* Flash-sale, high-ticket showroom and compact showcase layouts.
* Real product prices, variations, images, stock and cart validation.
* Standalone campaign pages without the active theme header or footer.
* Design presets, custom color palettes, typography and video backgrounds.
* Product image and product-selection autoplay with accessible controls.
* Countdown, deal badges, stage-card ribbons and transition styles.
* Optional WhatsApp inquiry actions.
* Ethical social proof based on aggregate WooCommerce data.
* Optional, explicitly labelled sample social proof for demonstrations.
* Optional floating comments authored by the store administrator.
* Responsive Live Preview in the campaign editor.
* Optional local aggregate analytics and anonymous live presence.

Every feature included in this plugin is available without a license key.

== Installation ==

1. Install and activate WooCommerce.
2. Upload the plugin folder to `/wp-content/plugins/` or install the plugin ZIP.
3. Activate IMNRZ Live Commerce.
4. Open **Live Showcase > Add New** and choose the products for the campaign.
5. Publish the campaign and use its shortcode or block on a page.

== Frequently Asked Questions ==

= Does this plugin create fake sales data? =

No. Real social proof uses aggregate completed or processing WooCommerce orders, product ratings and current low-stock values. Optional sample data is disabled by default and is visibly marked as DEMO.

= Does the plugin send analytics to an external server? =

No. Local analytics and live presence are disabled by default. If the store administrator enables them, aggregate interaction totals and temporary anonymous presence tokens remain in the site's WordPress database.

= Can I remove the theme header and footer? =

Yes. Enable the standalone page option for the campaign. The plugin still calls the standard WordPress head, body and footer hooks so required assets continue to work.

= Can I use an external background video? =

The administrator may select a video from the WordPress Media Library or enter a video URL. A video hosted on another domain causes the visitor's browser to contact that domain, so the store owner is responsible for its privacy policy and consent requirements.

== Privacy ==

By default, the plugin does not record showcase interaction analytics or live presence.

When **Local interaction analytics** is enabled, the plugin stores aggregate campaign totals for views, product selections, add-to-cart actions, buy-now actions and WhatsApp clicks. It does not store customer names, email addresses, user IDs or IP addresses. Daily aggregate rows are retained for up to 35 days; lifetime aggregate totals remain until the campaign is deleted or analytics are reset.

When **Anonymous live presence** is enabled, the browser creates a random session token in `sessionStorage`. The server stores only a SHA-256 hash of that token in a WordPress transient. Presence entries expire after approximately two minutes and are not connected to a customer account or IP address.

WhatsApp is contacted only after a visitor chooses a WhatsApp action. Administrator-configured media hosted on an external domain may contact that domain when displayed.

Campaigns and settings can be removed during uninstall by enabling **Remove data on uninstall** before deleting the plugin.

== Screenshots ==

1. Flash-sale showcase built from real WooCommerce data: live price, discount badge, countdown, stock and Add to cart / Buy now.
2. Campaign editor: choose WooCommerce products, set the countdown and copy the shortcode or use the block.
3. Design Studio: ready-made presets, custom color palette and video background.
4. Flash Deal badge styles, image-slider source and real social-proof popup styles.
5. Stage-card ribbon presets, typography, flash bar and WhatsApp contact options.
6. Countdown timer styles with the responsive Live Preview (desktop, tablet and mobile).

== Changelog ==

= 0.4.1 =
* Moved all admin CSS out of inline `<style>` blocks into enqueued stylesheets.
* Replaced static inline style attributes and inline `onclick` handlers with CSS classes and enqueued script behaviour.

= 0.4.0 =
* Renamed the plugin to IMNRZ Live Commerce.
* Made every feature included in the plugin available without license gating.
* Removed the prototype license key and paid-feature locks.
* Added opt-in controls for local analytics and anonymous live presence; both default to disabled.
* Restricted public rendering, tracking and cart requests to published campaigns.
* Added privacy documentation and current WordPress compatibility metadata.

= 0.3.5 =
* Added product-selection autoplay with previous, pause/play and next controls.

= 0.3.4 =
* Added rolled-edge and folded-corner ribbon presets.

= 0.3.2 =
* Added video backgrounds, effects and stage-card ribbon positions.

= 0.3.1 =
* Added anonymous active-viewer display and a WhatsApp contact CTA.

= 0.2.9 =
* Added aggregate campaign interaction reporting.

= 0.2.0 =
* Added social proof popup styles and labelled demonstration data.

= 0.1.0 =
* Initial campaign builder, layouts, block, shortcode, cart flow and social proof.
