Free mini-extension for the official WooCommerce Product Bundles extension that allows you to create bulk discount rules. Use it to offer higher discounts when customers purchase more items in a Product Bundle.
Compared to rule-based or coupon-based approaches, Product Bundles with bulk discount rules are:
- Easier to discover. Each Product Bundle is an individual WooCommerce product with its own page in your catalog.
- Easier to set up. Rule-based discount plugins are more complicated and usually require a higher up-front investment.
Additionally, WooCommerce product revenue reports make it easier for you to track the performance of bundles with bulk discount rules.
Note: This plugin requires the official WooCommerce Product Bundles extension. Before installing this plugin, please ensure that you are running the latest versions of both WooCommerce and WooCommerce Product Bundles.
Note: 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.
Important: The code in this plugin is provided „as is”. Support via the WordPress.org forum is provided on a voluntary 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.
To add bulk discounts to a Product Bundle:
- Ensure that you are running the latest versions of both WooCommerce and WooCommerce Product Bundles.
- Install and activate this plugin.
- Navigate to Product Data > Bundled Products
- Create some discount tiers using the Bulk Discounts field.
Discount tiers are “rules” that associate quantities with discounts. Each rule consists of two parts, separated by a pipe
- A quantity value or range of values, e.g.
1 - 5,
- A discount value expressed in
Quantities can be entered in either:
- quantity range format, for example
1 - 5,
- single quantity format, for example
- “equal to or higher” format, for example
Here’s a ruleset:
4 - 5 | 5 6 - 9 | 10 10 + | 15
This means that:
- If 4-5 items are chosen, the discount is 5%.
- If 6-9 items are chosen, the discount is bumped to 10%.
- If 10 or more items are chosen, the discount goes up to 15%.
When a Product Bundle with bulk discounts is configured, the applicable discount and total is dynamically calculated and displayed.
By default, bulk discounts are applied to the prices of all bundled products that are Priced Individually. Base Regular/Sale Prices are not be discounted. To discount base prices, use the following snippet:
add_filter( 'wc_pb_bulk_discount_apply_to_base_price', '__return_true' );
Want to contribute? Please submit issue reports and pull requests on GitHub.
This plugin requires the official WooCommerce Product Bundles extension. Before installing this plugin, please ensure that you are running the latest versions of both WooCommerce and WooCommerce Product Bundles.
Nu există nicio verificare pentru acest modul.
Contributori și dezvoltatori
„Product Bundles – Bulk Discounts” este un software open-source. La acest modul au contribuit următoarele persoane.Contributori
Te interesează dezvoltarea?
- Feature – Added support for the WooCommerce Importer/Exporter.
- Fix – Total Bundle price mismatch between the single product page and the cart when discounts are calculated over bundled items’ Regular Prices.
- Fix – Undefined ‘bundle.price_data.bulk_discount_data’ error.
- Fix – Fixed an issue that could cause unselected optional items to be counted when calculating bulk discounts.
- Fix – Keep running total visible when discounting base prices.
- Tweak – Made some further changes to round discounted JS prices using ‘WC_PB_Product_Prices::get_discounted_price_precision’.
- Tweak – Round discounted prices using ‘WC_PB_Product_Prices::get_discounted_price_precision’.
- Tweak – Updated supported WordPress and WooCommerce versions.
- Fix – Catalog price issues affecting products with subscription plans created using All Products for WooCommerce Subscriptions.
- Tweak – Declared WooCommerce 4.2 compatibility.
- Fix – Bundled product Add-On prices are calculated before discounts in the cart (instead of after).
- Fix – Declared compatibility with WooCommerce 4.0.
- Fix – Initialized plugin text domain.
- Fix – Moved correct changelog from v1.2.
- Tweak – Renamed plugin to comply with WordPress.org guidelines.
- Fix – Added support for Product Bundles 6.0+.
- Fix – Added support for Product Bundles 5.10+.
- Fix – Added support for Bulk Discounts in Bundles contained in Composite Products.
- Fix – Updated Bundled items minimum quantity calculation.
- Tweak – Declare WooCommerce 3.5 compatibility.
- Tweak – Declare WooCommerce 3.3 compatibility.
- Fix – Client-side totals calculation incorrect when discount amount resets to 0 after a quantity threshold.
- Fix – JS error when viewing bundles with empty discount data.
- Tweak – „Bulk discounts” admin option tooltip.
- Initial Release.