=== Advanced Dynamic Pricing for WooCommerce === Contributors: algolplus Donate link: https://algolplus.com/plugins/ Tags: woocommerce, discounts, deals, dynamic pricing, pricing deals, bulk discount, pricing rule Requires PHP: 5.4.0 Requires at least: 4.8 Tested up to: 5.2 Stable tag: 2.2.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html All discount types. WordPress Customizer supported. == Description == This plugin helps you quickly set discounts and pricing rules for your WooCommerce store. Set up any kind of discount or dynamic pricing you like, and activate/deactivate rules as needed. Configure fixed dollar amount adjustments, percentage adjustments, or set fixed price for the product or group of products. Also supports role-based prices & bulk pricing. **Bulk tables can be designed with Customizer.** You should setup bulk rule for category/product at first and enable "Show Bulk Table" at tab "Settings". = Some Examples = * Category-level discounts - discount products and provide free shipping * Buy 4(or more) items on Friday and get 20% off * Buy product X and get product Y for free - immediately added and visible in cart * Buy a package - discount it (each item separately), and also get a free product * Apply bulk discount for selected items, available only to wholesale buyers * Give a 10% discount to all "Accessories"(Category) if a product X is present in the cart Check more examples [on our website](https://algolplus.com/plugins/category/advanced-dynamic-pricing/). = One pricing rule can = * Filter cart items by products, categories, tags or custom fields * Modify price for each product separately * Or set total price for whole set * Apply cart discounts and fees * Add free products on fly * Use tables to get bulk rates * Validate conditions for cart items, user roles or dates * Track limits (only "max usage" supported currently) = Interface settings = * Show/hide original prices * Show/hide badge "On Sale" * Show/hide bulk discount table on the product page * Set rule for products which already on sale * and much more ... [Pro version](https://algolplus.com/plugins/downloads/advanced-dynamic-pricing-woocommerce-pro/) can [adjust product price onfly](https://algolplus.com/plugins/pro-features-in-action/), adds **exclusive rules, extra conditions, a lot of settings, and statistics** (which rules really work, which products are involved and how much does it cost for you). Have an idea or feature request? Please create a topic in the "Support" section with any ideas or suggestions for new features. == Installation == = Automatic Installation = Go to Wordpress dashboard, click Plugins / Add New , type 'Advanced Dynamic Pricing for WooCommerce' and hit Enter. Install and activate plugin, visit WooCommerce > Pricing Rules. = Manual Installation = [Please, visit the link and follow the instructions](http://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation) == Frequently Asked Questions == = Compatibility with my theme/plugin = Free and pro versions use same core, so you can test it using free version. [Please, visit the link to see detailed reply](https://algolplus.com/plugins/pricing-plugin-compatibility/) = How to allow customer to select free product = You should create package rule and set zero price for free product. [Please, check 3rd example](https://algolplus.com/plugins/dynamic-pricing-examples-package-pricing/) = How to customize bulk tables = You should copy necessary files from folder “templates” to folder “advanced-dynamic-pricing-for-woocommerce” (create it in active theme) = The rules are not applied to orders if I use button "Add order" (>WooCommerce>Orders) = This form adds new order directly to the database. But all pricing plugins work with cart items. Use our plugin [Phone Orders](https://wordpress.org/plugins/phone-orders-for-woocommerce/) to add backend orders. = I need custom cart condition = You should be PHP programmer to do it. [Please, review sample addon and adapt it for your needs](https://algolplus.com/plugins/program-custom-condition/) == Screenshots == 1. List of pricing rules 2. Simple rule - discount for category 3. More complex rule 4. Complex rule was applied to the cart 5. The applied discounts can be viewed inside the order 6. Settings page == Changelog == = 2.2.2 - 2019-09-25 = * Changes for bulk tables: new template, option "Display ranges as headers"(products only) * Tag {{price_striked}} is supported by category option "Replace product price with lowest bulk price" * Override price range for Grouped products * Added button "Refresh" to debugbar (useful to check applied rules after ajax calls) * Tweak default settings * Fixed bug - plugin showed wrong price for variable products having 30+ variations * Fixed bug - plugin showed "0.00" if price was just empty * Fixed bug - option "Suppress other pricing plugins" generates warnings for some hooks * Fixed bug - now plugin overrides cents only if price was changed * Fixed bug - attributes filtering doesn't work for some cases = 2.2.1 - 2019-08-26 = * Fixed bug - option "Best between discount and sale price" uses sale price * Fixed bug - the shortcode incorrectly works for variable products * Fixed bug - non-standard ajax requests use empty cart for price calculations * Fixed minor bugs for debug bar = 2.2.0 - 2019-08-19 = * Debug bar for admins (enable it in >Settings>Debug) * UI updated for rule - added checkbox "Exclude on sale products" for product filters * UI updated for rule - added checkbox "Don't set zero price and add discount to cart as coupon" for free products * UI updated for rule - added ranges for product/category conditions (when compare qty of items) * Category option "Replace product price with lowest bulk price" * Cart option "Disable external coupons only if any of cart items updated" * Cart option "Show striked subtotal" * Cart option "Hide word Coupon" * Support UTF8 coupons * Partially support WooCommerce Subscriptions (adjust only amount for period) * Improved performance for product filters * Fixed bug - showed warning for role discount if roles were not selected * Fixed bug - shortcodes printed some html even if product have no bulk ranges = 2.1.1 - 2019-07-16 = * New mode for "Free products", repeat counter = subtotal amount divided by XXX * Fixed bug - plugin showed wrong price for the products which are not affected by rules * Fixed bug - default settings were not applied to Customizer, user had to modify any option and publish changes * Fixed bug - plugin rounded fractional qty in the cart = 2.1.0 - 2019-07-02 = * The plugin requires at least WooCommerce 3.3.0 ! * Added shortcode [adp_products_on_sale] (enable it in >Settings>Rules) * New product filter - "Any product" * Category filter updated , parent category filter is applied even if only child category was selected in the product * UI updated for rule - added checkbox "Don't modify prices and add discount to cart as fee/coupon" * New cart rules - repeatable fixed fee and discounts * New cart option "Calculate totals based on modified item price" * Fixed bug - tab "Tools" exported only settings * Fixed bug - fatal error for bulk rules (created in previous versions - 1.6.0 or earlier) * Fixed bug - system option "Still allow edit Phone orders" worked incorrectly * Fixed bug - the plugin disabled coupon form in the cart (for some themes only) = 2.0.0 - 2019-05-27 = * New calculation algorithm, the plugin works much faster * Tab "Tools" can export/import settings and rules * Rule UI change - Different product attributes can be selected in same filter * Rule UI change - Allow to exclude products in product filters (must be turned ON at tab Settings) * Added pagination to list of rules * New rule option "Automatically disable rule if it runs longer than X seconds" (default - 5 seconds) * New customizer option "Show bulk table message as table header" * New cart option "Label for saved amount" (previous label "Discount Amount" confused customers) * New cart option "Disable external coupons if any rule was applied" * New system option "Still allow to edit prices in Phone Orders" * Fixed bug - Customizer didn't work if we used only shortcodes * Fixed bug - filter "Product taxonomies" didn't work for variable products * Fixed bug - path (for custom templates) has ignored folders * Fixed bug - missed role "Guest" in conditions and role-based rules = 1.6.0 - 2019-03-12 = * **Warning!** If you used bulk to packages - switch mode to "Qty equals count of sets" * New calculation modes for bulk/tier discount - "Qty based on product categories" and "Qty based on selected categories" * New discont types for bulk/tier discount - "Fixed price for set" and "Fixed discount for set" * Section "Free products" allows to use multiple gifted products * Section "Free products" adds all variations if user selects variable product * Section "Product Filter" supports custom product taxonomies * New option "Don't modify product price at product page" * Tab "Settings" was facelifted * Fixed bug - option "override cents" was applied to zero prices * Added a lot of hooks (for compatibility with other plugins) = 1.5.2 - 2019-01-10 = * Added operation "not in list" to product filters * Added two modes for cart conditions: AND (all conditions must be valid) and OR (any condition must be valid) * Apply pricing rules to [Phone Orders](https://wordpress.org/plugins/phone-orders-for-woocommerce/). You must turn on "Apply pricing rules to backend orders" in >Settings>System. * Fixed bug - showed SALE badge for all products * Fixed bug - date range didn't work for some locales * Fixed bug - didn't show price suffix in modified price * Speeded up calculations for ajax requests = 1.5.1 - 2018-11-26 = * "Role discounts" and "Bulk discounts" can be used together (drag them to set priority, added mode "Skip bulk rules if role rule was applied") * Correctly works with sold individually products * New tab "Settings" * Show bulk range as a single number, if "beginning of range" is equivalent to "end of range" * Allow negative discounts (for price increase!) * Speeded up calculations if there are many active rules * Update price when user increases quantity on product page (pro version only), [see it in action](https://algolplus.com/plugins/pro-features-in-action/) * Update price for cross-sells in the cart (pro version only) = 1.5.0 - 2018-10-30 = * Bulk tables can be tweaked using Customizer (visit tab "Settings" and click "Customize") * Added new mode for on-sale products - "Best between discounted regular price and sale price" * Fixed bug: "Free shipping" stayed in the cart if you delete products = 1.4.4 - 2018-10-10 = * Added mode "quantity based on" for bulk rules (default - all products) * Added option to show discounted price in bulk table * Display bulk table for selected variation * Allow translate custom messages for bulk table (via WPML) * Added new filter - category slug * Speeded up calculations for category pages * Speeded up calculations for cart having many units of same product, finally = 1.4.3 - 2018-07-26 = * Added new filter - product SKU * Added option to show "On Sale" badge if product price was modified by pricing rules * Speeded up calculations for cart having many units of same product * Fixed display bugs for variable products = 1.4.2 - 2018-06-04 = * Added ability to select position for table with bulk rules (thanks to @nessunluogo) * Added shorcodes [adp_category_bulk_rules_table] and [adp_product_bulk_rules_table] to use in category/product pages * Fixed critical bug: product filter by attributes didn't work for some setups * Fixed bug: "on sale" badge was hidden * Allow to customize bulk tables, you should copy files from folder "templates" to folder "advanced-dynamic-pricing-for-woocommerce" (create it in active theme) = 1.4.1 - 2018-04-09 = * Added ability to show bulk table at category page * Fixed critical bug: product filter by category/tags/custom fields didn't work for variable products = 1.4.0 - 2018-02-19 = * New condition "Active subscriptions" * New condition "Customer order count" * New setting "Override cents" (round discounted prices to xxx.99) * Updated buttons in UI * Preserve external coupons in cart * Show total discount amount in cart and checkout * Show applied discounts in order popup (WooCommerce 3.3.0 functionality) = 1.3 - 2017-12-20 = * Fixed critical bug: now we don't rebuild the cart if no rules were applied * Added the message on activation = 1.2 - 2017-12-08 = * Support taxes for items and shipping * Added condition "Product custom fields" * Added tab "Help" * Fixed some minor bugs = 1.1 - 2017-11-21 = * Added condition "Customer Role" * Added documentation link = 1.0 - 2017-11-10 = * First release.