=== WebSkyLink Dynamic Pricing ===
Contributors: vrvijendra007
Tags: woocommerce, dynamic pricing, bulk discount, quantity discount, tiered pricing
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Requires Plugins: woocommerce
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Quantity based (tiered) pricing, store-wide, category and product discounts with schedules, and a quantity price table on product pages.

== Description ==

Reward customers for buying more, and run sales without editing product prices one by one. Create pricing rules once, and the plugin applies them in the cart, on product pages and in the shop.

= Rule types =

* **Quantity pricing.** A lower price per item as the quantity grows: for example 10% off from 5 items and 20% off from 10. Use as many quantity ranges as you need, each with a percentage off, an amount off, or a fixed price per item.
* **Product, category or store-wide discount.** The same discount on every item a rule applies to, such as 20% off a category or the whole store for a weekend.

= Every rule can =

* Apply to all products, chosen products or variations, categories (sub categories included) or tags.
* Exclude chosen products or categories.
* Count quantities per product, per variation, or across all matching products together (mix and match).
* Run on a schedule, with a start and end date and time.
* Skip products that are already on sale, or include them.
* Step aside when the customer uses a coupon.
* Be switched on and off from the rules list without deleting it.

= On your store =

* A quantity price table on product pages, horizontal or vertical, in one of three positions, following the chosen variation of variable products.
* The price for the chosen quantity, updated live as the customer changes the quantity.
* Discounted prices in the shop and on product pages, with the price before the discount struck through.
* The price before the discount struck through on cart lines.
* The rule that priced each line is saved with the order.

= How rules combine =

Rules are checked by priority, lowest number first. Each cart line gets the first rule that lowers its price; rules never raise a price. A store-wide exclusion list keeps chosen products and categories out of every rule.

= Compatibility =

* High Performance Order Storage (HPOS) and the cart and checkout blocks.
* Block themes and classic themes.
* Templates can be overridden from your theme.
* Translation ready.

= Pro add-on =

The free plugin is complete on its own and needs no license. A separate Pro add-on adds buy one get one and "buy X get Y" offers, free gift products, cart discounts, conditions for customer roles and order history, "spend more to save" notices, a timed checkout deal, rule duplication and a quantity table block and shortcode.

== Installation ==

1. Install WooCommerce first.
2. In your WordPress admin, go to Plugins > Add New Plugin, search for "Webskylink Dynamic Pricing", install and activate it. Or upload the `webskylink-dynamic-pricing` folder to `/wp-content/plugins/` and activate it on the Plugins screen.
3. Go to WooCommerce > Pricing rules > Add rule.
4. Name the rule, choose its type, set the discount, choose which products it applies to, and publish.
5. Adjust the quantity table and display options under WooCommerce > Settings > Dynamic Pricing.

== Frequently Asked Questions ==

= Two rules apply to the same product. Which one wins? =

The one with the lowest priority number that lowers the price. Give your most important rules a low number, such as 0.

= Can a customer combine a rule with a coupon? =

Yes, unless you tick "Do not apply this rule when a coupon is used" on the rule.

= Does the discount show in the cart block? =

Yes. The discounted price is the product's price in the cart, so it shows in the classic cart, the cart block, the mini cart and checkout.

= Does it work with variable products? =

Yes. Rules can target a whole variable product or single variations, and the quantity table follows the chosen variation.

= What happens to my rules if I delete the plugin? =

They are kept unless you tick "Delete all rules and settings when the plugin is deleted" under WooCommerce > Settings > Dynamic Pricing.

== Screenshots ==

1. The rule editor with quantity ranges.
2. The quantity price table on a product page.
3. The pricing rules list.
4. Discounted prices in the cart.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
