{"id":116671,"date":"2020-01-31T09:31:35","date_gmt":"2020-01-31T09:31:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/product-bundles-bulk-discounts-for-woocommerce\/"},"modified":"2024-09-19T06:29:03","modified_gmt":"2024-09-19T06:29:03","slug":"product-bundles-bulk-discounts-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/xho.wordpress.org\/plugins\/product-bundles-bulk-discounts-for-woocommerce\/","author":8539092,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.1","stable_tag":"2.0.1","tested":"6.6.5","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"Product Bundles - Bulk Discounts","header_author":"WooCommerce","header_description":"Bulk quantity discounts for WooCommerce Product Bundles.","assets_banners_color":"9f65ff","last_updated":"2024-09-19 06:29:03","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/docs.woocommerce.com\/document\/bundles\/bundles-extensions\/#bulk-discounts","header_author_uri":"https:\/\/woocommerce.com\/","rating":0,"author_block_rating":0,"active_installs":600,"downloads":15671,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.3.0":{"tag":"1.3.0","author":"franticpsyx","date":"2020-02-03 12:20:34"},"1.3.1":{"tag":"1.3.1","author":"franticpsyx","date":"2020-05-06 09:40:39"},"1.3.2":{"tag":"1.3.2","author":"franticpsyx","date":"2020-05-26 19:40:35"},"1.3.3":{"tag":"1.3.3","author":"franticpsyx","date":"2020-08-20 13:00:17"},"1.3.4":{"tag":"1.3.4","author":"SomewhereWarm","date":"2021-01-26 08:58:38"},"1.3.5":{"tag":"1.3.5","author":"franticpsyx","date":"2021-02-23 18:36:39"},"1.3.6":{"tag":"1.3.6","author":"franticpsyx","date":"2021-02-25 16:15:26"},"1.3.7":{"tag":"1.3.7","author":"franticpsyx","date":"2021-05-31 10:30:50"},"1.3.8":{"tag":"1.3.8","author":"franticpsyx","date":"2021-05-31 14:08:02"},"1.3.9":{"tag":"1.3.9","author":"franticpsyx","date":"2022-05-10 09:09:12"},"1.4.0":{"tag":"1.4.0","author":"jasonkytros","date":"2023-08-16 09:08:56"},"1.4.1":{"tag":"1.4.1","author":"jasonkytros","date":"2024-03-14 15:31:56"},"2.0.0":{"tag":"2.0.0","author":"jasonkytros","date":"2024-07-30 06:43:52"},"2.0.1":{"tag":"2.0.1","author":"jasonkytros","date":"2024-09-19 06:29:03"}},"upgrade_notice":{"1.3.9":"<p>Added support for the WooCommerce Importer\/Exporter.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3243275,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3243275,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3243275,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3243275,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8","1.3.9","1.4.0","1.4.1","2.0.0","2.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2388128,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2236291,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Creating bulk discount tiers.","2":"Purchasing a Product Bundle with bulk quantity discounts."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3236,31088,331,20095,286],"plugin_category":[45],"plugin_contributors":[77494,85925,142155],"plugin_business_model":[],"class_list":["post-116671","plugin","type-plugin","status-publish","hentry","plugin_tags-bulk","plugin_tags-bundles","plugin_tags-discount","plugin_tags-rules","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-automattic","plugin_contributors-somewherewarm","plugin_contributors-woocommerce","plugin_committers-jasonkytros","plugin_committers-woocommerce"],"banners":{"banner":"https:\/\/ps.w.org\/product-bundles-bulk-discounts-for-woocommerce\/assets\/banner-772x250.png?rev=3243275","banner_2x":"https:\/\/ps.w.org\/product-bundles-bulk-discounts-for-woocommerce\/assets\/banner-1544x500.png?rev=3243275","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/product-bundles-bulk-discounts-for-woocommerce\/assets\/icon-128x128.png?rev=3243275","icon_2x":"https:\/\/ps.w.org\/product-bundles-bulk-discounts-for-woocommerce\/assets\/icon-256x256.png?rev=3243275","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/product-bundles-bulk-discounts-for-woocommerce\/assets\/screenshot-1.png?rev=2388128","caption":"Creating bulk discount tiers."},{"src":"https:\/\/ps.w.org\/product-bundles-bulk-discounts-for-woocommerce\/assets\/screenshot-2.png?rev=2236291","caption":"Purchasing a Product Bundle with bulk quantity discounts."}],"raw_content":"<!--section=description-->\n<p>Free mini-extension for the official <a href=\"https:\/\/woocommerce.com\/products\/product-bundles\/\">WooCommerce Product Bundles<\/a> extension that allows you to create <a href=\"https:\/\/docs.woocommerce.com\/document\/bundles\/bundles-use-case-sell-in-bulk\/\">bulk discount<\/a> rules. Use it to offer higher discounts when customers purchase more items in a Product Bundle.<\/p>\n\n<p>Compared to rule-based or coupon-based approaches, Product Bundles with bulk discount rules are:<\/p>\n\n<ul>\n<li>Easier to discover. Each Product Bundle is an individual WooCommerce product with its own page in your catalog.<\/li>\n<li>Easier to set up. Rule-based discount plugins are more complicated and usually require a higher up-front investment.<\/li>\n<\/ul>\n\n<p>Additionally, WooCommerce product revenue reports make it easier for you to track the performance of bundles with bulk discount rules.<\/p>\n\n<p><strong>Important<\/strong>: This plugin requires the official <a href=\"https:\/\/woocommerce.com\/products\/product-bundles\/\">WooCommerce Product Bundles<\/a> extension. Before installing this plugin, please ensure that you are running the latest versions of both <strong>WooCommerce<\/strong> and <strong>WooCommerce Product Bundles<\/strong>.<\/p>\n\n<p><strong>Note<\/strong>: This experimental plugin has been created to validate and refine a feature that may be rolled into WooCommerce Product Bundles -- or dropped! -- in the future.<\/p>\n\n<p><strong>Important<\/strong>: The code in this plugin is provided \"as is\". Support via the WordPress.org forum is provided on a <strong>voluntary<\/strong> basis only. If you have an active subscription for WooCommerce Product Bundles, please be aware that WooCommerce Support may not be able to assist you with this experimental plugin.<\/p>\n\n<h3>Documentation<\/h3>\n\n<p>To add bulk discounts to a Product Bundle:<\/p>\n\n<ul>\n<li>Ensure that you are running the latest versions of both <strong>WooCommerce<\/strong> and <strong>WooCommerce Product Bundles<\/strong>.<\/li>\n<li>Install and activate this plugin.<\/li>\n<li>Navigate to <strong>Product Data &gt; Bundled Products<\/strong><\/li>\n<li>Create some discount tiers using the <strong>Bulk Discounts<\/strong> field.<\/li>\n<\/ul>\n\n<p>Discount tiers are \u201crules\u201d that associate quantities with discounts. Each rule consists of two parts, separated by a pipe <code>|<\/code> character:<\/p>\n\n<ol>\n<li>A quantity value or range of values, e.g. <code>1 - 5<\/code>,<\/li>\n<li>A discount value expressed in <code>%<\/code>, e.g. <code>10<\/code>.<\/li>\n<\/ol>\n\n<p>Quantities can be entered in either:<\/p>\n\n<ul>\n<li>quantity range format, for example <code>1 - 5<\/code>,<\/li>\n<li>single quantity format, for example <code>6<\/code>, or<\/li>\n<li>\u201cequal to or higher\u201d format, for example <code>7+<\/code>.<\/li>\n<\/ul>\n\n<p>Here's a ruleset:<\/p>\n\n<pre><code>4 - 5 | 5\n6 - 9 | 10\n10 + | 15\n<\/code><\/pre>\n\n<p>This means that:<\/p>\n\n<ul>\n<li>If 4-5 items are chosen, the discount is 5%.<\/li>\n<li>If 6-9 items are chosen, the discount is bumped to 10%.<\/li>\n<li>If 10 or more items are chosen, the discount goes up to 15%.<\/li>\n<\/ul>\n\n<p>When a Product Bundle with bulk discounts is configured, the applicable discount and total is dynamically calculated and displayed.<\/p>\n\n<p>By default, bulk discounts are applied to the prices of all bundled products that are <strong>Priced Individually<\/strong>. Base Regular\/Sale Prices are not be discounted. To discount base prices, use the following snippet:<\/p>\n\n<pre><code>add_filter( 'wc_pb_bulk_discount_apply_to_base_price', '__return_true' );\n<\/code><\/pre>\n\n<p>Want to contribute? Please submit issue reports and pull requests on <a href=\"https:\/\/github.com\/woocommerce\/woocommerce-product-bundles-bulk-discounts\">GitHub<\/a>.<\/p>\n\n<!--section=installation-->\n<p>This plugin requires the official <a href=\"https:\/\/woocommerce.com\/products\/product-bundles\/\">WooCommerce Product Bundles<\/a> extension. Before installing this plugin, please ensure that you are running the latest versions of both <strong>WooCommerce<\/strong> and <strong>WooCommerce Product Bundles<\/strong>.<\/p>\n\n<!--section=changelog-->\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Tweak - Updated author links.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Important - New: PHP 7.4+ is now required.<\/li>\n<li>Important - New: WooCommerce 8.2+ is now required.<\/li>\n<li>Important - New: WordPress 6.2+ is now required.<\/li>\n<li>Important - New: Product Bundles 8.0+ is now required.<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Tweak - The Bulk Discounts mini-extension now requires Product Bundles 7.0+.<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Feature - Added compatibility with the new block-based Single Product Template.<\/li>\n<li>Feature - Declared compatibility with the new High-Performance Order Tables. <\/li>\n<\/ul>\n\n<h4>1.3.9<\/h4>\n\n<ul>\n<li>Feature - Added support for the WooCommerce Importer\/Exporter.<\/li>\n<li>Fix - Total Bundle price mismatch between the single product page and the cart when discounts are calculated over bundled items' Regular Prices. <\/li>\n<\/ul>\n\n<h4>1.3.8<\/h4>\n\n<ul>\n<li>Fix - Undefined 'bundle.price_data.bulk_discount_data' error.<\/li>\n<\/ul>\n\n<h4>1.3.7<\/h4>\n\n<ul>\n<li>Fix - Fixed an issue that could cause unselected optional items to be counted when calculating bulk discounts.<\/li>\n<li>Fix - Keep running total visible when discounting base prices.<\/li>\n<\/ul>\n\n<h4>1.3.6<\/h4>\n\n<ul>\n<li>Tweak - Made some further changes to round discounted JS prices using 'WC_PB_Product_Prices::get_discounted_price_precision'.<\/li>\n<\/ul>\n\n<h4>1.3.5<\/h4>\n\n<ul>\n<li>Tweak - Round discounted prices using 'WC_PB_Product_Prices::get_discounted_price_precision'.<\/li>\n<\/ul>\n\n<h4>1.3.4<\/h4>\n\n<ul>\n<li>Tweak - Updated supported WordPress and WooCommerce versions.<\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<ul>\n<li>Fix - Catalog price issues affecting products with subscription plans created using All Products for WooCommerce Subscriptions.<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Tweak - Declared WooCommerce 4.2 compatibility.<\/li>\n<li>Fix - Bundled product Add-On prices are calculated before discounts in the cart (instead of after).<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Fix - Declared compatibility with WooCommerce 4.0.<\/li>\n<li>Fix - Initialized plugin text domain.<\/li>\n<li>Fix - Moved correct changelog from v1.2.<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Tweak - Renamed plugin to comply with WordPress.org guidelines.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Fix - Added support for Product Bundles 6.0+.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Fix - Added support for Product Bundles 5.10+.<\/li>\n<li>Fix - Added support for Bulk Discounts in Bundles contained in Composite Products.<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Fix - Updated Bundled items minimum quantity calculation.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Tweak - Declare WooCommerce 3.5 compatibility.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Tweak - Declare WooCommerce 3.3 compatibility.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fix - Client-side totals calculation incorrect when discount amount resets to 0 after a quantity threshold.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fix - JS error when viewing bundles with empty discount data.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Tweak - \"Bulk discounts\" admin option tooltip.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"Free mini-extension for WooCommerce Product Bundles that allows you to offer bulk quantity discounts.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/116671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=116671"}],"author":[{"embeddable":true,"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/woocommerce"}],"wp:attachment":[{"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=116671"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=116671"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=116671"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=116671"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=116671"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/xho.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=116671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}