=== Discount Master for WooCommerce ===
Contributors: precisionwp
Tags: woocommerce, discount, coupons, pricing, upsells
Tested up to: 6.9
Requires at least: 5.2
Requires PHP: 7.4
Stable tag: 1.1.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: discount-master-for-woocommerce
Domain Path: /languages

Discount Master for WooCommerce is a powerful plugin for dynamic pricing and multiple discount types in WooCommerce.

== Description ==

Discount Master for WooCommerce is a comprehensive WooCommerce Dynamic Pricing and Discounts plugin designed to help you implement various discount types, including bulk discounts, quantity discounts, product-specific discounts, dynamic pricing, advanced discounts, percentage discounts, and tiered discounts. Easily create and offer quantity-based discounts, volume discounts, cart-based discounts, and discounts based on total order value.

**Features**

* **Percentage Discounts**: Offer store-wide percentage discounts or apply them to specific products or categories.

* **Bulk Discounts**: Set up volume or quantity-based discounts to encourage larger purchases.

* **Cart-Based Discounts**: Provide discounts based on cart total, item quantity, or specific products in the cart.

* **Product-Specific Discounts**: Assign unique discounts to individual products or variations.

* **Category Discounts**: Apply discounts to entire product categories to promote specific collections.

* **BOGO Deals**: Create "Buy One Get One" offers to incentivize additional purchases.

* **User Role-Based Discounts**: Customize pricing for different user roles, such as wholesale customers or subscribers.

* **Scheduled Discounts**: Plan promotions in advance by setting start and end dates for discounts.

* **Exclusion Rules**: Exclude specific products or categories from discount rules as needed.

**Highlighted Discount Types**

* **Storewide Percentage Discount**: Implement a universal discount across all products.
*Example*: A 10% discount on all items during a holiday sale.

* **Bulk Purchase Discount**: Encourage larger orders by offering tiered discounts based on quantity.
*Example*: Buy 3-5 items for a 5% discount; 6-10 items for a 10% discount.

* **Cart Total Discount**: Reward customers who reach a certain cart value with a discount.
*Example*: Spend over $200 and receive a 15% discount.

* **Product-Specific Discount**: Apply discounts to particular products to boost their sales.
*Example*: Get a 20% discount on Product X for a limited time.

* **Category Discount**: Offer discounts on entire product categories.
*Example*: All items in the "Winter Collection" category are 25% off.

* **BOGO (Buy One Get One) Offers**: Encourage additional purchases with BOGO deals.
*Example*: Buy one T-shirt and get the second one at 50% off.

* **User Role-Based Pricing**: Provide special pricing for specific user groups.
*Example*: Wholesale customers receive a 30% discount on all products.

* **First Order Discount**: Attract new customers by offering a discount on their first purchase.
*Example*: New users get a 10% discount on their first order.

**Benefits**

* **Increase Sales**: Strategically designed discounts can boost purchase quantities and overall sales.

* **Enhance Customer Loyalty**: Personalized discounts for specific user roles encourage repeat business.

* **Flexible Promotions**: Schedule discounts to align with marketing campaigns and seasonal sales.

* **Easy Management**: User-friendly interface allows for effortless creation and management of discount rules.

**Compatibility**

Discount Master for WooCommerce integrates seamlessly with WooCommerce and is compatible with various themes and plugins, ensuring a smooth experience for both store administrators and customers.

== Installation ==

**Download the Plugin**

* Obtain the Discount Master for WooCommerce plugin .zip file from the official website or WordPress plugin repository.

**Upload and Install**

* Navigate to your WordPress dashboard.

* Go to Plugins > Add New > Upload Plugin.

* Choose the downloaded .zip file and click "Install Now."

**Activate the Plugin**

* After installation, click "Activate" to enable Discount Master for WooCommerce on your WooCommerce store.

== Frequently Asked Questions ==

= Can I set up multiple discount rules simultaneously? =

Yes, Discount Master for WooCommerce allows you to create and manage multiple discount rules concurrently, each with its own set of conditions and priorities.

= Does Discount Master for WooCommerce support discounts for specific user roles? =

Absolutely. You can define discounts exclusive to certain user roles, such as wholesalers or premium members.

= Is it possible to schedule discounts for future dates? =

* Yes, you can set start and end dates for each discount rule, enabling automated promotions during specific periods.

= How does Discount Master for WooCommerce handle overlapping discount rules? =

*Discount Master for WooCommerce allows you to set priorities for each discount rule. In cases where multiple rules apply, the rule with the highest priority will take precedence.

= Can I exclude certain products from a discount rule? =

* Yes, Discount Master for WooCommerce provides options to exclude specific products or categories from selected discount rules.

== Screenshots ==

1. General settings
2. Actions
3. Conditions
4. Display
5. Plugin Settings

= 1.1.2 =
* Fixed: Plugin icon in plugins list

= 1.1.1 =
* Fixed: Plugin icon
* Updated: flatpickr library

= 1.1.0 =
* Added: BOGO (Buy X Get 1) discount type with flexible quantities
* Added: free shipping discount action with per-method selection
* Added: user login status targeting (show discounts only to logged-in or guest customers)
* Added: cart quantity and distinct item conditions
* Added: AND/OR logic toggle for combining multiple conditions
* Added: duplicate discount button for quick rule creation
* Added: internal notes field for admin reference
* Added: discount rules search & filter in the list
* Added: "You saved $X" summary in customer order emails
* Added: bulk discount table display on product pages
* Added: security checks to admin handlers
* Updated: flatpickr library
* Updated: sortable library
* Fixed: discount conditions not evaluating correctly for cart-level actions
* Fixed: cart/order total display issues
* Fixed: discounts not applying on frontend in some cases
* Fixed: pricing display for product variations
* Fixed: date/timezone comparison issues
* Fixed: XSS vulnerabilities in admin interface
* Tweak: Optimized database queries for faster discount processing
* Tweak: admin interface with better status badges (Active, Inactive, Scheduled, Expired) and colors
* Tweak: discount rules with stop-processing flag to prevent rule stacking

= 1.0.4 =
* Updated: Translations template.
* Fixed: Issue with Pro plugin crashing & better Pro support.
* Fixed: Fee calculation fix.

= 1.0.3 =
* Updated: Plugin logo.
* Fixed: Discounts not working in some cases due to post not being passed correctly.
* Tweak: Redirect to discounts page after saving a new discount for better UX.

= 1.0.2 =
* Added: More discount options, available in PRO.
* Fixed: Populate discount function.
* Fixed: Delete discounts.
* Fixed: Improved kses - fixed pagination results #.
* Fixed: Dropdown results scrollbar.
* Tweak: Better integration with PRO plugin.
* Tweak: Improved products search, first search by SKU.

= 1.0.1 =
* Fixed: visibility issue with pagination, products field and better escaping.

= 1.0.0 =
* First version