=== wiseCampaign – Banners, Discounts & Sales Notifications for WooCommerce ===
Contributors: wisemattic, mehadi13
Tags: woocommerce, woocommerce discount, countdown timer, sales notification, woocommerce banner
Requires at least: 5.4
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.1.17
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Boost WooCommerce sales with countdown banners, stock urgency bars, discount manager, direct checkout and sales notifications. No coding needed. 

== Description ==

**wiseCampaign** is the all-in-one WooCommerce marketing solution for WordPress. Boost sales and increase conversions with 6 powerful tools — all from one simple dashboard. No coding required.

Used by 1,000+ WooCommerce store owners in 180+ countries.

[youtube https://www.youtube.com/watch?v=crqwrNPTtbA]

= Useful Links =
[Docs](https://wisemattic.com/docs) | [Videos](https://www.youtube.com/@wisemattic/videos) | [Support](https://wisemattic.com/support) | [Idea Sharing](https://wisecampaign.canny.io/feature-requests) | [Facebook Group](https://www.facebook.com/groups/wisemattic) | [Get Pro](https://wisemattic.com/wisecampaign/pricing)

== 6 Powerful WooCommerce Marketing Tools ==

wiseCampaign gives you everything you need to convert visitors into buyers — all in one dashboard:

= 🎯 wiseBanner – WooCommerce Countdown Timer Banner =
Create stunning sticky top bar banners with countdown timers, animated text, and call-to-action buttons. Perfect for flash sales, seasonal promotions, and special announcements. Control exactly which pages and devices your banner appears on. Now with click-to-copy coupon codes and premium spacing for a polished look.
[youtube https://www.youtube.com/watch?v=6iNWZtWO2c4]

= ⏳ StockBar – WooCommerce Stock Urgency Bar =
Show remaining product stock with a dynamic progress bar. This powerful psychological trigger creates urgency and motivates faster purchases. Reduce hesitation and boost conversions instantly.

= 💳 Direct Checkout – Skip the WooCommerce Cart Page =
Send shoppers straight to checkout with one click. Fewer steps means less cart abandonment and more completed orders. Add a Buy Now button to any product page in minutes.

= 📣 Sales Notifications – WooCommerce Social Proof =
Build trust with real-time sales popup notifications. Show recent purchases to inspire confidence and encourage new visitors to buy. Fully customizable with smart targeting rules.

= 🛒 wiseCart – WooCommerce Mini Cart =
Add a modern customizable mini-cart that keeps customers engaged without leaving the page. Let shoppers review and checkout instantly for a smoother shopping experience.

= 🎯 WooCommerce Discount Manager (Pro Feature) =
Go beyond basic coupons with advanced WooCommerce discount rules. Create powerful automated offers that drive larger orders and reward loyal customers.

Supported discount types:
✅ Simple Discounts
💰 Spend-Based Discounts (spend $X get Y% off)
🎁 Free Product Discounts
📦 Bundle Pricing Discounts
🔖 Buy X Get Y Discounts
📊 Bulk Pricing Discounts
🎁 Next Order Coupon

[youtube https://www.youtube.com/watch?v=dEB2NjmsAn0]

![wiseCampaign Pro Discount Demo](https://wisemattic.com/wp-content/uploads/2025/09/woo-discount-manager-wiseCampaign.gif)

== What is New in v1.1.16 ==

The latest release brings major improvements to the wiseCampaign experience:

* **Click-to-Copy coupon codes** — shoppers can now copy coupon codes directly from the banner with a single click, complete with tooltip and toast notifications for a polished experience
* **Premium spacing** — increased horizontal padding gives banners a more spacious, high-end appearance
* **Improved media library integration** — smoother background and badge image uploads via the WordPress Media Library
* **Smarter page targeting** — Home Page is now integrated within Specific Pages targeting for more precise campaign control
* **Modernized admin navigation** — streamlined menu structure for a faster, cleaner dashboard experience
* **Performance fix** — resolved intermittent cURL timeout errors by replacing loopback HTTP requests with direct filesystem access, improving reliability significantly
* **Codebase cleanup** — removed legacy components in favor of a new modular system for better performance and maintainability

== Why wiseCampaign Outperforms the Competition ==

* **WooCommerce Native** — built specifically for WooCommerce stores, not a generic popup tool
* **6 Tools in 1** — banners, discounts, stock bars, checkout, cart and notifications in one lightweight plugin
* **Free Version Available** — download free from WordPress.org and upgrade when ready
* **No Coding Required** — everything managed from your WordPress dashboard
* **Performance Optimized** — only loads scripts for features you enable, keeping your site fast
* **Targeted Display Rules** — control when, where and to whom your campaigns appear
* **24/7 Support** — expert support team always ready to help
* **14-Day Money Back Guarantee** — try Pro completely risk free

== wiseCampaign Free vs Pro ==

**Included in free version:**
* wiseBanner with countdown timer
* Click-to-copy coupon codes
* StockBar urgency progress bar
* Direct Checkout / Buy Now button
* Real-time Sales Notifications
* wiseCart mini-cart widget

**Pro only features:**
* Pro banner templates
* Advanced display rules and targeting
* Sticky banner positioning
* WooCommerce Discount Manager (6 discount types)
* Priority support

== Pro Pricing ==
* **Personal** — $59/year — 1 site
* **Small Business** — $149/year — 5 sites
* **Agency Plus** — $299/year — 100 sites

All plans include a 14-day money back guarantee.

👉 [Get wiseCampaign Pro](https://wisemattic.com/wisecampaign/pricing)

== Who Should Use wiseCampaign? ==

* WooCommerce store owners who want to reduce cart abandonment and increase conversions
* Agencies managing multiple WooCommerce client stores
* Developers building conversion-optimized WooCommerce stores
* Anyone running flash sales, seasonal promotions, or limited-time offers on WordPress

== Compatibility ==
* WordPress 5.4+
* WooCommerce 5.0+
* PHP 7.4+
* All major WordPress themes
* Compatible with Elementor, Divi and Avada page builders

👉 Full documentation: [wiseCampaign Docs](https://wisemattic.com/docs/wisecampaign/getting-started/requirements/)

== Installation ==

**From Your WordPress Dashboard**

1. Go to Plugins > **Add New**
2. Search for **wiseCampaign**
3. Click **Install Now**
4. Click **Activate** after installation

**From WordPress.org**

1. Download [wiseCampaign](https://downloads.wordpress.org/plugin/wisecampaign.zip)
2. Upload the 'wisecampaign' folder to /wp-content/plugins/
3. Activate wiseCampaign from your Plugins page

**From FTP**

1. Download and unzip wiseCampaign
2. Upload the wisecampaign folder to /wp-content/plugins/
3. Activate wiseCampaign from your Plugins page

== Usage Instructions ==

1. Go to wiseCampaign → Settings, toggle the status to Active, and select a template. Then click Save.
2. Go to Appearance → Customize → wiseCampaign to customize all banner properties.
3. For the Discount Manager (Pro), go to wiseCampaign → Discount Manager to create advanced discount rules.

== Frequently Asked Questions ==

= What is wiseCampaign? =
wiseCampaign is an all-in-one WooCommerce conversion toolkit. It combines 6 powerful tools in one dashboard — countdown timer banners, stock urgency bars, direct checkout, real-time sales notifications, mini-cart, and an advanced discount manager. No coding required.

= Is wiseCampaign free? =
Yes. wiseCampaign has a free version on WordPress.org that includes wiseBanner (with countdown timer and click-to-copy coupons), StockBar, Direct Checkout, Sales Notifications and wiseCart. The Pro version starts at $59/year and unlocks the Discount Manager, advanced templates, sticky banners and priority support.

= Does wiseCampaign work with WooCommerce? =
Yes. wiseCampaign is built specifically for WooCommerce. All features integrate seamlessly with your store with no coding required.

= How do I add a countdown timer to WooCommerce? =
Install wiseCampaign, go to wiseCampaign → wiseBanner, choose a template, enable the countdown timer, set your end date and time, customize colors and text, then save. Your sticky countdown banner goes live instantly. The entire setup takes under 5 minutes.

= How do I add a Buy Now button to WooCommerce? =
Install wiseCampaign and enable the Direct Checkout feature. This adds a Buy Now button that skips the cart page and sends shoppers straight to checkout, reducing cart abandonment immediately.

= What WooCommerce discount types does wiseCampaign support? =
wiseCampaign Pro Discount Manager supports 6 discount types: Simple discounts, Spend-based discounts (e.g. 10% off orders over $50 automatically), Free product discounts, Buy X Get Y discounts, Bundle pricing discounts, and Bulk pricing discounts. All apply automatically — no coupon code needed.

= How do I show stock urgency on WooCommerce product pages? =
Enable the StockBar feature in wiseCampaign. It automatically shows a dynamic progress bar on your product pages based on real inventory levels to create urgency and drive faster purchase decisions.

= Can I show real-time sales notifications in WooCommerce? =
Yes. wiseCampaign Sales Notifications shows real-time purchase popups on your store to build social proof and encourage more buyers to take action. Fully customizable with smart targeting rules.

= How do I add a mini cart to WooCommerce? =
Enable the wiseCart feature in wiseCampaign. It adds a modern customizable mini-cart widget that keeps customers engaged without leaving the page, making the path to checkout faster and smoother.

= Does wiseCampaign have click-to-copy coupon codes? =
Yes — added in v1.1.15. Shoppers can click any coupon code in your banner to copy it instantly, with a tooltip and toast notification confirming the copy. This removes friction from the coupon redemption process.

= Will wiseCampaign slow down my WooCommerce store? =
No. wiseCampaign is performance optimized and only loads scripts for features you have enabled. It has minimal impact on page speed and Core Web Vitals scores. The v1.1.15 release also fixed a cURL timeout issue that could cause delays during plugin activation.

= Is wiseCampaign compatible with my theme? =
Yes. wiseCampaign works with all major WordPress themes and page builders including Elementor, Divi, Avada, and more.

= How many sites can I use wiseCampaign on? =
The free version has no site limit. Pro licenses: Personal ($59/year) for 1 site, Small Business ($149/year) for 5 sites, Agency Plus ($299/year) for 100 sites.

= Does wiseCampaign have a money back guarantee? =
Yes. All wiseCampaign Pro plans come with a 14-day 100% money back guarantee. No questions asked.

= Can I target specific pages with my WooCommerce banners? =
Yes. wiseCampaign has advanced display rules that let you show banners on specific pages, to specific devices (mobile or desktop), or to specific user groups. In v1.1.15 the Home Page targeting is now integrated within the Specific Pages targeting logic for more precise control.

= Who should use wiseCampaign? =
wiseCampaign is for every WooCommerce store owner who wants to increase conversions and boost sales. It is also ideal for agencies managing multiple WooCommerce stores and developers building conversion-optimized sites.

= What are the requirements to use wiseCampaign? =
You need WordPress 5.4+ and WooCommerce installed. PHP 7.4 or higher is required. A modern theme is recommended for best results.

= Where can I get support? =
24/7 support is available at [wisemattic.com/support](https://wisemattic.com/support). Full documentation and step-by-step tutorials are at [wisemattic.com/docs](https://wisemattic.com/docs).

== Screenshots ==
1. screenshot-1.png
2. screenshot-2.png
3. screenshot-3.png
4. screenshot-4.gif
5. screenshot-5.png
6. screenshot-6.png
7. screenshot-7.png
8. screenshot-8.png
9. screenshot-9.gif

== Key Features ==

- 🚀 **wiseBanner**: Create high-converting WooCommerce countdown timer banners with animated text, customizable CTAs, and click-to-copy coupon codes.
- ⏳ **StockBar**: Create urgency with a dynamic stock progress bar showing real product inventory levels to motivate faster purchases.
- 💳 **Direct Checkout**: Reduce WooCommerce cart abandonment with a Buy Now button that skips the cart page entirely.
- 📣 **Sales Notifications**: Build social proof with real-time WooCommerce sales notification popups.
- 🛒 **wiseCart**: Enhance the shopping experience with a customizable WooCommerce mini-cart widget.
- 🎯 **Discount Manager** (Pro): Create automated discount rules including bulk pricing, Buy X Get Y, spend-based and bundle discounts — no coupon codes required.
- 🖱️ **Click-to-Copy Coupons**: Shoppers copy coupon codes from banners with one click — tooltip and toast notifications confirm the action.
- ✨ **Fully Customizable**: Easy customization for colors, styles, text, background images and more to match your brand perfectly.
- 🔧 **Seamless Integration**: Works flawlessly with WooCommerce and all major WordPress themes.
- 🎯 **Targeted Display Rules**: Precise control over when, where and to whom your campaigns appear.
- ⚡ **Performance Optimized**: Lightweight and fast — only loads what you need, with direct filesystem access replacing loopback HTTP calls.

== Pro Version Highlights ==

* **Advanced Banner Settings**: Choose banner position (top or bottom), type (sticky or static), and CTA behavior.
* **Display Rules**: Control visibility by device, timing, and user type.
* **Page and User Targeting**: Show campaigns on all pages or specific ones — target all users or specific groups.
* **Premium Templates**: Access dozens of professionally designed pre-made templates.
* **Full Customization**: Customize background images, fonts, colors, sizes and more.
* **WooCommerce Discount Manager**: Create 6 types of advanced automated discount rules beyond basic coupons.
* **Priority Support**: Faster responses from the wiseCampaign support team.

== Upgrade Notice ==

= 1.1.16 =
Update banner, readme and performance.

= 1.1.15 =
Major release with click-to-copy coupon codes, premium banner spacing, improved media library integration, smarter Home Page targeting, modernized admin navigation, and a significant performance fix resolving cURL timeout errors. Upgrade recommended for all users.

= 1.1.14 =
Added countdown, bogo and CTA button disable controls. Improved stock bar visibility and overall plugin security.

= 1.1.13 =
Added permission_callback to all REST API routes. Secured settings endpoints with admin-only permissions. Improved plugin stability.

== Privacy Policy ==
wiseCampaign uses [Appsero](https://appsero.com) SDK to collect some telemetry data upon user confirmation. This helps us troubleshoot problems faster and make product improvements.

Appsero SDK does not gather any data by default. The SDK only starts gathering basic telemetry data when a user allows it via the admin notice.

Learn more about how [Appsero collects and uses this data](https://appsero.com/privacy-policy/).

== Share the Love 💜 ==
Join our [Facebook Community](https://www.facebook.com/groups/wisemattic).
Learn from our tutorials on [YouTube Channel](https://www.youtube.com/@wisemattic/videos).
Contribute to [wiseCampaign translations](https://translate.wordpress.org/projects/wp-plugins/wisecampaign/).
Or rate us on [WordPress.org](https://wordpress.org/plugins/wisecampaign/#reviews) 🙂

== Changelog ==

= v1.1.17 =
- Security Fix: Added robust authorization checks (`manage_options`) across all 22 REST API endpoints to prevent unauthorized settings modification.
- Fixed: Resolved CSS isolation issues by implementing scoped `:where()` resets, preventing plugin styles from bleeding into themes while allowing full control over editor UI.
- UI: Fixed Stock Bar and Banner editor buttons appearing with heavy borders and invisible text colors.
- Pro Compatibility: Fixed "Discount Manager" and "License" submenus not showing in the sidebar due to slug mismatch.
- Compatibility: Ensured full compatibility with latest WordPress versions by refining admin menu registration.

= v1.1.16 =
- Enhanced: Improved CSS architecture for React-based editor modules (Stock Bar and Banner v2).
- Fixed: Minor UI alignment and responsive layout issues in the admin dashboard.
- Performance: Optimized plugin-wide asset loading for faster admin performance.

= v1.1.15 =
- Added "Click-to-Copy" functionality for coupon codes with dual notifications (tooltip and toast).
- Enhanced layout with increased horizontal padding for a premium, spacious appearance.
- Improved WordPress Media Library integration for background and badge image uploads.
- Reorganized display settings to integrate "Home Page" within the "Specific Pages" targeting logic.
- Extensive codebase cleanup: Removed legacy admin/build components in favor of the new modular system.
- Modernized admin menu navigation for a streamlined user experience.
- Fixed: Resolved intermittent "cURL error 28" (timeout) by replacing local loopback HTTP requests with direct filesystem access and class method calls.
- Improved performance and reliability for data loading during plugin activation and deactivation.

= v1.1.14 =
- Added button to disable countdown, bogo and cta button.
- Fix font size after selection cta button.
- Improved stock visibilty by not showing default stock while stock bar enable.
- Improved overall plugin security and compatibility.

= v1.1.13 =
- Added permission_callback to all REST API routes to meet WooCommerce Marketplace requirements.
- Secured all settings update endpoints with admin-only permissions.
- Fixed incorrect usage of register_uninstall_hook() causing activation warnings.
- Improved request validation and overall plugin stability.

= v1.1.12 =
- Added smart WooCommerce dependency checks that block activation if WooCommerce isn’t installed or active.
- Gated StockBar, Direct Checkout, Sales Notification, and wiseCart screens so they’re only available when WooCommerce is active, with helpful notices otherwise.
- Improved admin notices to clearly explain WooCommerce requirements for all Woo-enabled features.
- added Help submenu. 
- Added Upgrade to Pro submenu.

= v1.1.11 =
- Fixed: WooCommerce Compatibility Declarations issue.
- Update: Security enhancements and latest compatibility.

= v1.1.10 =
- Fixed: Wisecart related issue.
- Update: Hide advanced setting save button on free version.

= v1.1.9 =
- Fixed: Sales nification reload issue.
- Update: Sales notification dashbaord design.
- Update: Security enhancements and latest compatibility.

= v1.1.8 =
- Fixed: wiseBanner dashboard design.
- Fixed: wiseBanner background image field issue.
- Fixed: Advance feature license activation issue.
- Added: Security enhancements and latest compatibility.

= v1.1.7 =
- Added Direct Checkout module.
- Added Sales Notification module.
- Added wiseCart module.
- Added security enhancements.
- Applied several fixes and improvements.

= v1.1.6 =
- Fixed some minor bugs.

= v1.1.5 =
- StockBar feature added.
- Fix sidebar button issue.
- Change getting started page design.
- Enhanced security and performance.

= v1.1.4 =
- Heading and Sub Heading font family sync.
- Fix banner sticky issue.
- Bogo size fix
- Enhanced settings and customization options.
- Enhanced security and performance.

= v1.1.3 =
- Update version and compatibility.
- Fixed minor bugs.
- Enhanced security and performance.

= v1.1.2 =
- Redesigned with new features.
- Added new templates.
- Update version and compatibility.
- Enhanced settings and customization options.
- Fixed minor bugs.
- Enhanced security and performance.

= v1.1.1 =
- Update version and compatibility.
- Dashboard design enhanced.

= v1.1.0 =
- Update version and compatibility.

= v1.0.0 =
- Initial release