=== WowRevenue ===
Contributors: wpxpo, anik4e, jakirhasan
Tags: product bundles, bogo, bulk discount, bought together, upsells  
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.3.0
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

WowRevenue is a combination of product bundles and discount campaigns, including bulk discounts, buy x get y discounts, and more.

== Description ==
 
💲 **Increase AOV** with product bundles & **discount campaigns.**
📈 **Boost** your **revenue** without increasing the **marketing cost.**
💕 A plugin by **WPXPO**, that empowers **65K+ businesses!**
📞 Dedicated support team with **4.9/5** customer satisfaction on [**Trustpilot**](https://uk.trustpilot.com/review/wpxpo.com)!

🔥 [**WowRevenue Pro**](https://www.wowrevenue.com/) | 📃 [**Documentation**](https://www.wowrevenue.com/docs/)

### WowRevenue - Increase your Order Value with Product Bundles & Strategic Discount Campaigns

WowRevenue is an advanced all-in-one product bundle plugin specially crafted to boost the WooCommerce store’s revenue by showing high-converting bundle and discount offers. Its effective marketing campaigns help you start upselling and cross-selling instantly. As a result, you can enjoy better revenue without increasing the number of customers. So you don’t need to spend more on customer acquisition.

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


## Advanced Product Bundling Features in WowRevenue ##

WowRevenue gives you flexible controls for building and displaying product bundle offers based on your store's requirements.

* **Trigger Product Selection:** Choose the product that activates and displays the bundle offer.

* **Minimum Product Quantity:** Set the minimum quantity customers need to purchase for individual bundle products.

* **Flexible Bundle Discounts:** Define discount values and choose the applicable discount type for offered products.

* **Free Shipping:** Add free shipping to supported bundle campaigns directly from the campaign builder.

* **Countdown Timer:** Add a countdown timer to time-sensitive bundle offers.

* **Animated Add to Cart:** Apply an animated Add to Cart effect to supported campaigns.

* **Campaign Scheduling:** Set a start date and time and optionally define when the bundle campaign should end.

* **Multiple Page Placements:** Control the WooCommerce pages where supported bundle campaigns appear.

* **Flexible Display Modes:** Show supported bundle offers in-page, inside a pop-up, or as a floating offer.



## Free Product bundle and Discount Campaigns in WowRevenue ##

WowRevenue includes eight campaign types in the free plugin. You can create and use these campaigns without installing WowRevenue Pro.

✅ **Normal Discount:** Apply discounts to specific products, multiple products, or selected product groups.

✅ **Bundle Discount:** Combine multiple products into a bundle and set up pricing or discounts.

✅ **Volume / Quantity Discount:** Create quantity-based pricing tiers and apply discounts based on how many items customers purchase.

✅ **Buy X Get Y:** Create offers where customers purchase qualifying products and receive another product for free or at a discounted price.

✅ **Free Shipping:** Set spending requirements for free shipping and display progress with a visual bar.

✅ **Stock Scarcity:** Display stock availability or scarcity messages for selected products.

✅ **Countdown Timer:** Add countdown timers to products with scheduled start and end times.

✅ **Next Order Coupon:** Provide customers with a coupon they can use on a future order.

## Campaigns Available in WowRevenue Pro ##

WowRevenue Pro adds four additional campaign types for creating more advanced bundle, cross-sell, cart, and spending-based offers.

⭐ **Mix and Match:** Let customers choose products from a predefined selection and create their own bundle.

⭐ **Frequently Bought Together:** Display related products together and let customers add multiple items to the cart from one offer.

⭐ **Spending Goal:** Create spending milestones with rewards such as discounts, free shipping, or free gifts.

⭐ **Double Order Plus:** Let customers increase the quantity of their cart or selected products and receive an associated discount.


**Explore how you can increase your WooCommerce store’s revenue.**

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


## Other Wow Plugins!

We have more useful plugins for WooCommerce and WordPress users. Take a look at them:

📄 [**WowInvoice**](https://wordpress.org/plugins/wow-pdf-invoices-packing-slips/) The PDF invoices & packing slips plugin for WooCommerce that streamlines invoice, packing slip, and shipping label creation.

🚚 [**WowShipping 🔥**](https://wordpress.org/plugins/wow-table-rate-shipping/): A complete table rate shipping solution for WooCommerce, allowing you to set flexible delivery rates using 30+ conditions and get live rates from popular carriers like UPS, USPS, DHL, Sendle, and more.

➕ [**WowAddons 🔥**](https://wordpress.org/plugins/product-addons/): The most advanced and flexible plugin to sell customizable products by creating a personalized shopping experience with product addons and extra options.

💝 [**WowStore**](https://wordpress.org/plugins/product-blocks/): An all-in-one solution to build gorgeous-looking and professional WooCommerce stores with various conversion-focused features.

📦 [**WholesaleX**](https://wordpress.org/plugins/wholesalex/): A collection of dynamic features for setting advanced pricing and discounts based on user roles. You can use it for creating complete B2B or B2B+B2C hybrid stores.

🧲 [**WowOptin**](https://wordpress.org/plugins/optin/): The next-generation opt-in plugin for collecting leads, increasing sales, and boosting conversions. It is powered by a canvas-like opt-in builder and advanced placement & targeting options.

📃 [**PostX**](https://wordpress.org/plugins/ultimate-post/): PostX is a News Magazine plugin powered by a dynamic site builder for Gutenberg. With its rich library of Templates, you can build any kind of News, Magazine, or Blogging site with three simple steps.

= Author =
Developed by [WPXPO](https://www.wpxpo.com). [Contribute to Revenue on Bitbucket](https://bitbucket.org/wpstabon/revenue/src/main/) and join the party.

### 📗 Translations 

Revenue plugin is compatible with WPML Plugin and also it works perfectly with loco translate plugin. 
You can Translate Revenue on [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/revenue/).


== Installation ==

= Minimum Requirements =

* WordPress 6.8 or greater
* PHP version 7.4 or greater
* MySQL version 5.6 or greater

= Automatic installation =

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t even need to leave your web browser. 

1. Go to your WordPress Plugin installation menu (Dashboard > Plugins > Add New)
2. In the search field type "Revenue" and press enter.
3. "Install Now" and then click "Active"


= Manual installation =

For Manual installation, you download our product from WordPress directory uploading it to your web-server via your FTP or CPanel application.

1. Download the plugin and unzip it
2. Using an FTP program or CPanel upload the unzipped plugin folder to your WordPress installation’s wp-content/plugins/ directory.
3. Activate the plugin from the Plugins menu (Dashboard > Plugins > Installed Plugins) within the WordPress admin.

= Upgrading =

Automatic update working great for this plugin. If you customize the plugin make sure to store a backup before update.

Sometimes because of the permalink issue during the plugin update, just go to WordPress > Settings > Permalinks and hit the ‘Save’ button.

== Frequently Asked Questions ==

= Is WowRevenue easy to use for beginners? =
Yes, WowRevenue is designed and developed in a way that both beginners and experts can use it with ease.
= Do I need any coding knowledge to use WowRevenue? =
No, you don’t need any coding knowledge to use WowRevenue.
= Will I get Support for WowRevenue? =
Yes, we have a dedicated team for WowRevenue to provide on-demand support and assistance.
= What's the difference between WowRevenue and WowRevenue Pro? =
WowRevenue (this plugin) is free and fully functional on its own, with eight campaign types including Product Bundles, Buy X Get Y, and Quantity/Volume Discount. [WowRevenue Pro](https://www.wowrevenue.com/) is a separate paid plugin that adds four more campaign types: Mix and Match Bundles, Frequently Bought Together, Double Order, and Spending Goal. Pro is not required to use this plugin.

== External services ==

This plugin does not contact any external server on its own. It sends no telemetry, performs no license or update check, and loads no scripts, styles, fonts or images from a remote host. Everything described below happens only after you click something in the plugin's admin screens.

= YouTube video tutorials =

Some campaign types show a "Watch Tutorial" button in the campaign builder. Clicking it opens a dialog that embeds the matching tutorial video from youtube.com. Nothing is requested from YouTube until you click that button, and the request happens as soon as the dialog opens, whether or not the video then plays.

What is sent: your browser loads the video player from youtube.com, so YouTube receives the usual information a browser sends with any request, including your IP address and browser details, along with the ID of the tutorial video. The embed sends only your site's address as the referrer, not the full admin page URL. No store, order, customer or campaign data is sent. YouTube may set cookies in your browser.

Service provided by Google. See [YouTube's Terms of Service](https://www.youtube.com/t/terms) and [Google's Privacy Policy](https://policies.google.com/privacy).

= Links to the vendor's sites =

The admin screens contain ordinary links to pages on the plugin author's sites. Nothing is loaded from them unless you click a link, and clicking one simply opens that page in your browser.

* [wowrevenue.com](https://www.wowrevenue.com/) and [wpxpo.com](https://www.wpxpo.com/): product, pricing and documentation pages, linked from "Upgrade to Pro" and the help links.
* [account.wpxpo.com](https://account.wpxpo.com/): the author's account and checkout pages, used for purchasing or renewing a WowRevenue Pro license.
* [facebook.com](https://www.facebook.com/groups/wowcommercecommunity): the user community group, linked from the plugin dashboard.

= License activation and plugin updates =

This free plugin does not contact any licensing or update server. License activation and update checks against the author's licensing server happen in the separate WowRevenue Pro plugin and are documented in that plugin's readme.

== Screenshots ==
1. Dashboard
2. Campaign List
3. Campaign Builder
4. Buy X Get Y Discount
5. Bundle Discount
6. Quantity Discount
7. Normal Discount
8. Capture repeat customers in Thank You Page
9. Cross-selling on Cart Page 

== Changelog ==

= 2.3.0 – 20 September 2026 =
* New: No usage limits in the free plugin. Create as many campaigns as you need, of any of the eight free types, with unlimited normal discounts, cloning, offer rows and campaign scheduling.
* Privacy: Removed all telemetry and third-party services from the free plugin. No usage tracking, no IP lookup, no deactivation survey and no remotely loaded scripts. The free plugin now makes no outbound request of its own; everything that can contact an external server is listed under "External services" in this readme.
* Security: Added capability and nonce checks to REST routes that were reachable without them.
* Security: Escaped returned markup, added missing ABSPATH guards and switched remaining includes to require_once.
* Improvement: The four Pro campaign types (Mix & Match, Frequently Bought Together, Double Order, Spending Goal) are now handled entirely by WowRevenue Pro through a filter. Existing campaigns of those types keep their data, keep rendering, and can still be viewed, unpublished or deleted with Pro inactive.
* Improvement: Removed the legacy pre-2.0 rendering path. All campaigns now render through the current template, which cuts the plugin size and speeds up frontend rendering.
* Improvement: Removed the in-plugin support widget. Support is available from the plugin's documentation and community links.

= 2.2.15 – 18 September 2026 =
* Security: Escaped previously unescaped buffered output in campaign rendering, popups, floating bars, and admin notices.
* Security: Hardened extract() usage across campaign templates with EXTR_SKIP to prevent overwriting existing variables.
* Security: Switched a direct database query to $wpdb->prepare() with placeholders.
* Security: Sanitized posted product data in the Buy X Get Y add-to-cart handler.

= 2.2.14 – 09 September 2026 =
* Improvement: Performance Improved.

= 2.2.13 – 30 August 2026 =
* Fix: Tested for wordpress 7.1

= 2.2.12 – 24 August 2026 =
* Fix: Resolved slow campaign rendering by optimizing database queries.
* Fix: Fixed add-to-cart failing for variable products with non-Latin attribute values.
* Fix: Fixed variation attribute options not resolving correctly for non-Latin attribute names.
* Fix: Corrected generated URLs missing a slash before the hash fragment.

= 2.2.11 – 28 July 2026 =
* Improvement: Refactored code for better maintainability.
* Fix: Prevent frontend script load when file is missing.

= 2.2.10 – 07 July 2026 = 
* New: Custom UI update based on filter.
* Fix: Smart tag descriptions now align with actual use.

= 2.2.9 – 01 July 2026 = 
* Improvement: UI widget dynamic updates alignment with custom hooks and filters.
* Fix: Mobile menu error on navbar button.

= 2.2.8 – 18 June 2026 = 
* Improvement: Improved the Bundle Discount campaign functionality.

= 2.2.7 – 11 June 2026 = 
* Improvement: Performance Improved.

= 2.2.6 – 09 June 2026 = 
* New: Tested with new wordpress version.

= 2.2.5 – 08 June 2026 = 
* New: Bundle Discount Campaign is now compatible with WPML.
* Fix: FluentCRM preview does not enqueue revenue frontend script anymore.
* Improvement: Spending goal support for cart and checkokut page.

= 2.2.4 – 18 May 2026 = 
* New: Video tutorial for campaigns inside editor.
* Fix: Attribute select option now supports different languages (e.g Hebrew).

= 2.2.3 – 6 May 2026 = 
* Fix: Added missing condition check. 

= 2.2.2 – 26 April 2026 = 
* Fix: New translation strings added.
* Fix: Resolved price display inconsistencies caused by tax settings and decimal rounding.
* Fix: Offer price respects tax settings in frequently bought together.
* Improvement: Added bundle discount block based cart and checkout support.
* New: Bundle Discount compatibility with shoptimizer theme mini cart.

= 2.2.1 – 15 April 2026 = 
* Improvement: Converted modern array syntax to traditional array for improved multisite compatibility.

= 2.2.0 – 08 April 2026 = 
* Improvement: Added translation support for frontend toast notifications with localized messages.
* Improvement: Refactored script localization for better reuse and maintainability.
* Improvement: Added fallback messages for toast notifications to ensure consistent user feedback.
* Fix: Prevented unnecessary page reload when no data is found in the Free Shipping Bar.

[See changelog for all versions](https://bitbucket.org/wpstabon/revenue/raw/release/changelog.txt).
