=== ELEX WooCommerce Dynamic Pricing and Discounts ===
Contributors: elextensions
Tags: Dynamic Pricing,Dynamic Discount,Price Rule,Bulk Discount, WooCommerce
Requires at least: 3.0.1
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 2.2.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Create custom dynamic pricing rules, discounts, and offers based on user roles, cart totals, product categories and more!

== Description ==

Rule Based Dynamic Pricing And Discount Plugin Which Dynamically Sets Discount for Customer Based On Parameters Like Quantity,Weight,Price

= Introduction =
When you run an online store, a classic marketing strategy is to offer discounts to customers. It is important that you strategically create rules for the discount offers without affecting the profitability of your store. Setting a maximum discount amount for every applied rule is a simple solution to this predicament.
In addition, things get complicated when you have multiple categories of products listed on your store, and want to offer discounts based on multiple parameters.
Dynamic Pricing and Discounts for WooCommerce plugin offers well-defined solutions to help you set the best discount offers on your store.

= Features =
* <strong>Product rules to set discounts on specific products.</strong>
* <strong>Category rules to set discounts on all products in a category.</strong>
* <strong>Option to set rules based on : Weight, Quantity, Price, Total Units and Number of items.</strong>
* <strong>Pricing table feature will appear on product page to show all offer applicable on that product, if a product has multiple product rules.</strong>
* <strong>Pricing table visibility (Hide/Show) in settings.</strong>
* <strong>Option to Set maximum discount to be allowed on every rule.</strong>
* <strong>Option to set rules expiry date (From Date , To Date).</strong>
* <strong>Option to set rules based on user roles.</strong>
* <strong>Multiple discount type available i.e (Flat Discount, Percentage Discount , Set a fix price for each unit).</strong>

= Premium version Features =
For complete list of features and details, please visit <a rel="nofollow" href="https://elextensions.com/plugin/dynamic-pricing-and-discounts-plugin-for-woocommerce/">ELEX Dynamic Pricing and Discounts for WooCommerce</a>

<blockquote>
<ol>
<ul>
<strong>Product Rules:</strong>
<li>Option to configure maximum discount amount.</li>
<li>Option to enable repeated execution.</li>
<li>Restrict discounts based on customer email ids, the maximum number of orders or customer's total spending.</li>
</ul>
<ul>
<strong>Category Rules:</strong>
<li>Option to configure the maximum discount amount.</li>
<li>Enable discounts for a specific time frame. Configure the start and end date for the discounted offer.</li>
<li>Restrict discounts based on customer email ids, the maximum number of orders or customer's total spending.</li>
</ul>
<ul>
<strong>Cart Rules:</strong>
<li>If your cart contains two to three products, get 20% discount on cart (max discount allowed = $50)</li>
<li>If you have added at least 2 items in the cart, get a flat discount of $10 on total cart value</li>
<li>If the weight of total items in the cart is more than 15 pounds, get 30% discount on cart</li>
<li>5% discount on all items in the cart for our wholesalers (specific role); valid from dd/mm/yyyy to dd/mm/yyyy</li>
</ul>
<ul>
<strong>Multi Product Rules:</strong>
<li>Buy two units of one product (P1) and three units of another product (P2), and get 20% discount (maximum discount allowed = $20.)</li>
<li>Buy one unit of (P3) and one unit of product (P4) and get flat $15 discount</li>
<li>Buy two units of P5 and two units of P6 at a special price of $29; valid only for Gold Members (specific roles)</li>
<li>Buy three units of P7 and one unit of P3 at a special price of $10.99; offer valid from dd/mm/yyyy to dd/mm/yyyy</li>
</ul>
<ul>
<strong>Multi Category Rules:</strong>
<li>Buy 2 units in x category and 2 units in y category and get 20% off on both</li>
<li>Buy 1 item in x category and 3 items in y category and get flat $50 discount</li>
</ul>
<ul>
<strong>BOGO Rules:</strong>
<li>Buy two and get one free</li>
<li>Buy two distinct products and get another product free</li>
</ul>
<ul>
<strong>BOGO Category Rules:</strong>
<li>Buy 2 units in X category and 1 unit in Y category and get 1 cap free</li>
<li>Buy 3 items in X category and 1 item in Y category and get 1 shirts free and 1 belt free</li>
</ul>
<ul>
<strong>Tag Rules:</strong>
<li>Buy a minimum three units of a product tag (T1) and get 15% discount (maximum discount allowed = $10)</li>
<li>Buy between five to 10 units of a product tag (T2), and get a flat discount of $10</li>
<li>Buy at least 3 pounds of a product tag (T3) and get a special reduced price of $20</li>
<li>Buy a product with product tag (T4) at a price range between $10 and $20, and get a 30% discount</li>
<li>Get a product tag (T5) at 30% discount only for our Gold Members (specific role)</li>
<li>Get 20% discount on a product tag (T6) valid from dd/mm/yyyy to dd/mm/yyyy</li>
</ul>
<ul>
<strong>BOGO Tag Rules:</strong>
<li>Buy one product with the tag and get a product free</li>
<li>Buy one product with the tag and get more than one product free</li>
<li>Buy more than one product with the tag and get a product free</li>
<li>Buy more than one product with the tag and get more than one product free</li>
</ul>


<ul>
<strong>Features:</strong>
<li>Display Price Table on Product Page with a number of options to position it.</li>
<li>Apply Combinational Rules based on Combinations of Different Products (eg: Two red mugs and one green mug)</li>
<li>Apply Category Rules on Desired Categories</li>
<li>Apply Cart Rules on All items in the Cart</li>
<li>Option to Apply 'Buy and Get Free' Offers on Specific Products or a Group of Products</li>
<li>Apply Tag Rules on Products</li>
<li>Option to Apply BOGO Offers on Specific Products with a Product Tag</li>
<li>Compatible with WPML, along with Out-of-the-box Support for French and German (Deutschland) Languages</li>
<li>Set Maximum Possible Discount Amount on Every Rule (to ensure high discounts won't affect your profits)</li>
<li>Timely Updates and Bug Fixes</li>
<li>Premium Support</li>
</ul>

</ol>

</blockquote>

= Premium Version walkthrough Video =
[youtube https://youtu.be/--qhLAiYOjo]

= Documentation =
Visit the <a href="https://elextensions.com/knowledge-base/category/elex-dynamic-pricing-and-discounts-plugin-for-woocommerce/">Product Documentation</a> for ELEX Dynamic Pricing and Discounts Plugin for WooCommerce.

= About ELEXtensions =

We are a group of WordPress and WooCommerce enthusiasts with a vision to solve genuine problems related to WordPress & WooCommerce stores.

== Screenshots ==
1. Product Rules
2. Category Rules
3. Discount Rules List
4. Pricing Table
5. Generic Settings
6. Rules & Execution Order

== Frequently Asked Questions ==

1.What if I face issues with the plugin? Do you provide support for free products?
If you are facing any issues, please create a topic at plugin support section on wordpress org. Our team will respond back soon.

== Installation ==

1. Upload the plugin folder to the '/wp-content/plugins/' directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. That's it - you can now configure the plugin.

== Changelog ==
= 2.2.6 =
* Made compatible with Wordpress 6.9

= 2.2.5 =
* Made compatible with WooCommerce 10.0

= 2.2.4 =
* Made compatible with WooCommerce 9.8
* Made compatible with Wordpress 6.8
* Fixed issue where cart page discount was not applied after quantity update.

= 2.2.3 =
* Made compatible with WooCommerce 9.7
* Updated and optimized code calculation

= 2.2.2 =
* Fixed an issue where the product discount in the mini cart was not applying after changing the quantity.

= 2.2.1 =
* Fixed an issue where category-based discount was not applying after a product category update.

= 2.2.0 =
* Fixed an issue with the allowed user role restriction

= 2.1.9 =
* Made compatible with WooCommerce 9.6
* Fixed an issue where the strikeout regular price was not displaying for variable products on the product page.

= 2.1.8 =
* Made compatible with WooCommerce 9.5
* Corrected a vulnerability issue using Wordfence
* Optimized code to improve loading time
* Fixed an issue where the discount did not update when reducing the quantity

= 2.1.7 =
* Made compatible with WordPress 6.7
* Made compatible with WooCommerce 9.4

= 2.1.6 =
* Made compatible with WooCommerce 9.3

= 2.1.5 =
* Fixed action icon issue
* Made compatible with WordPress 6.6
* Made compatible with WooCommerce 9.1

= 2.1.4 =
* Made compatible with WordPress 6.5
* Made compatible with WooCommerce 8.9

= 2.1.3 =
* Enhanced Security Measures - Implemented additional security checks and validations to safeguard against potential vulnerabilities.

= 2.1.2 =
* Bug fix - Issue of flat discount with multiple products
* Made compatible with WooCommerce 8.6

= 2.1.1 =
* Made compatible with WordPress 6.4.3
* Made compatible with WooCommerce 8.5

= 2.1.0 =
* Made compatible with HPOS
* Made compatible with WordPress 6.4
* Made compatible with WooCommerce 8.3
* Bug Fixes - Fixed rules indexing issue
* Bug Fixes - Fixed Java Script compatibility issue
* Bug Fixes - Fixed Php warnings

= 2.0.0 =
* Improved UI/UX
* Made compatible with WordPress 6.3
* Made compatible with WooCommerce 8.0
* Made compatible with PHP 8.2

= 1.3.2 =
* Fixed an issue with saving the rule when all the fields under the "Rule" tab are filled

= 1.3.1 =
* Made compatible with WordPress 6.2
* Made compatible with WooCommerce 7.8

= 1.3.0 =
* Made compatible with WooCommerce 7.4

= 1.2.9 =
* Made compatible with WordPress 6.1
* Made compatible with WooCommerce 7.1

= 1.2.8 =
* Made compatible with WordPress 6.0
* Made compatible with WooCommerce 6.7

= 1.2.7 =
* Tested OK with WooCommerce 6.4

= 1.2.6 =
* Tested OK with WooCommerce 6.2
* Issue with checkout page discount

= 1.2.5 =
* Tested OK with WooCommerce 6.1
* Tested OK with Wordpress 5.9

= 1.2.4 =
* Tested OK with WooCommerce 5.9

= 1.2.3 =
* Compatibility issue with ctx feed pro.

= 1.2.2 =
* Resolved codesniffer errors.
* Tested with WooCommerce 5.7.

= 1.2.1 =
* Tested with WooCommerce 5.6.

= 1.2.0 =
* Tested with WooCommerce 5.5.

= 1.1.9 =
* Tested with WooCommerce 5.4.

= 1.1.8 =
* Tested with WooCommerce 5.3.

 = 1.1.7 =
* Tested with WooCommerce 5.2.
* Tested with Wordpress 5.7.

= 1.1.6 =
* Tested with WooCommerce 5.0.

= 1.1.5 =
* Tested with WooCommerce 4.9.

= 1.1.4 =
* Bug fix: Discount applying for one less number of products

= 1.1.3 =
* Tested with WooCommerce 4.7.

= 1.1.2 =
* Bug fix - Check on Price is not working as expected

= 1.1.1 =
* Bug fix -  When variation is out of stock and remove the product from the catalog if it is out of stock option is set then the price of the hidden variation is still showing on the product page.
* Bug fix -  When tax is applied, the tax was not included in the regular price.
* Bug fix - Discount is not applying in WooCommerce custom pages.
* Bug fix - Script and style files were loading in all admin pages.
* Valid from date and Expiry date format changed from UTC to local server time

= 1.1.0 =
* Tested with WooCommerce 4.5.

= 1.0.9 =
* Tested with WooCommerce 4.4.

= 1.0.8 =
* Tested with WooCommerce 4.2.

= 1.0.7 =
* Checked with Woocommerce 4.1.

= 1.0.6 =
* Wordpress 5.4 compatibility.

= 1.0.5 =
* Tested with WooCommerce 4.0.

= 1.0.4 =
* Bug fix - Not able to disable rule.

= 1.0.3 =
* Wordpress 5.3 compatibility.

= 1.0.2 =
* Updated content.

= 1.0.1 =
* Product Rules,Combinational Rules,Category Rules,Cart Rules.

== Upgrade Notice ==
= 2.2.6 =
* Made compatible with Wordpress 6.9

= 2.2.5 =
* Made compatible with WooCommerce 10.0

= 2.2.4 =
* Made compatible with WooCommerce 9.8
* Made compatible with Wordpress 6.8
* Fixed issue where cart page discount was not applied after quantity update.

= 2.2.3 =
* Made compatible with WooCommerce 9.7
* Updated and optimized code calculation

= 2.2.2 =
* Fixed an issue where the product discount in the mini cart was not applying after changing the quantity.

= 2.2.1 =
* Fixed an issue where category-based discount was not applying after a product category update.

= 2.2.0 =
* Fixed an issue with the allowed user role restriction

= 2.1.9 =
* Made compatible with WooCommerce 9.6
* Fixed an issue where the strikeout regular price was not displaying for variable products on the product page.

= 2.1.8 =
* Made compatible with WooCommerce 9.5
* Corrected a vulnerability issue using Wordfence
* Optimized code to improve loading time
* Fixed an issue where the discount did not update when reducing the quantity

= 2.1.7 =
* Made compatible with WordPress 6.7
* Made compatible with WooCommerce 9.4

= 2.1.6 =
* Made compatible with WooCommerce 9.3

= 2.1.5 =
* Fixed action icon issue
* Made compatible with WordPress 6.6
* Made compatible with WooCommerce 9.1

= 2.1.4 =
* Made compatible with WordPress 6.5
* Made compatible with WooCommerce 8.9

= 2.1.3 =
* Enhanced Security Measures - Implemented additional security checks and validations to safeguard against potential vulnerabilities.

= 2.1.2 =
* Bug fix - Issue of flat discount with multiple products
* Made compatible with WooCommerce 8.6

= 2.1.1 =
* Made compatible with WordPress 6.4.3
* Made compatible with WooCommerce 8.5

= 2.1.0 =
* Made compatible with HPOS
* Made compatible with WordPress 6.4
* Made compatible with WooCommerce 8.3
* Bug Fixes - Fixed rules indexing issue
* Bug Fixes - Fixed Java Script compatibility issue
* Bug Fixes - Fixed Php warnings

= 2.0.0 =
* Improved UI/UX
* Made compatible with WordPress 6.3
* Made compatible with WooCommerce 8.0
* Made compatible with PHP 8.2

= 1.3.2 =
* Fixed an issue with saving the rule when all the fields under the "Rule" tab are filled

= 1.3.1 =
* Made compatible with WordPress 6.2
* Made compatible with WooCommerce 7.8

= 1.3.0 =
* Made compatible with WooCommerce 7.4

= 1.2.9 =
* Made compatible with WordPress 6.1
* Made compatible with WooCommerce 7.1

= 1.2.8 =
* Made compatible with WordPress 6.0
* Made compatible with WooCommerce 6.7

= 1.2.7 =
* Tested OK with WooCommerce 6.4

= 1.2.6 =
* Tested OK with WooCommerce 6.2
* Issue with checkout page discount

= 1.2.5 =
* Tested OK with WooCommerce 6.1
* Tested OK with Wordpress 5.9

= 1.2.4 =
* Tested OK with WooCommerce 5.9

= 1.2.3 =
* Compatibility issue with ctx feed pro.

= 1.2.2 =
* Resolved codesniffer errors.
* Tested with WooCommerce 5.7.

= 1.2.1 =
* Tested with WooCommerce 5.6.

= 1.2.0 =
* Tested with WooCommerce 5.5.

= 1.1.9 =
* Tested with WooCommerce 5.4.

= 1.1.8 =
* Tested with WooCommerce 5.3.

= 1.1.7 =
* Tested with WooCommerce 5.2.
* Tested with Wordpress 5.7.

= 1.1.6 =
* Tested with WooCommerce 5.0.

= 1.1.5 =
* Tested with WooCommerce 4.9.

= 1.1.4 =
* Bug fix: Discount applying for one less number of products.

= 1.1.3 =
* Tested with WooCommerce 4.7.

= 1.1.2 =
* Bug fix - Check on Price is not working as expected

= 1.1.1 =
* Bug fix -  When variation is out of stock and remove the product from the catalog if it is out of stock option is set then the price of the hidden variation is still showing on the product page.
* Bug fix -  When tax is applied, the tax was not included in the regular price.
* Bug fix - Discount is not applying in WooCommerce custom pages.
* Bug fix - Script and style files were loading in all admin pages.
* Valid from date and Expiry date format changed from UTC to local server time

= 1.1.0 =
* Tested with WooCommerce 4.5.

= 1.0.9 =
* Tested with WooCommerce 4.4.

= 1.0.8 =
* Tested with WooCommerce 4.2.

= 1.0.7 =
* Checked with Woocommerce 4.1.

= 1.0.6 =
* Wordpress 5.4 compatibility.

= 1.0.5 =
* Tested with WooCommerce 4.0.

= 1.0.4 =
* Bug fix - Not able to disable rule.

= 1.0.3 =
* Wordpress 5.3 compatibility.

= 1.0.2 =
* Updated content.

= 1.0.1 =
* Product Rules,Combinational Rules,Category Rules,Cart Rules.