WP Manifestindependent plugin directory
manifest / ecommerce / wc-mnm-bulk-discounts

WooCommerce Mix and Match - Bulk Discounts BAK

Bulk quantity discounts for WooCommerce Mix and Match Products

by Kathy Darling · github.com/kathyisawesome/wc-mnm-bulk-discounts · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/kathyisawesome/wc-mnm-bulk-discounts/archive/refs/heads/main.zip

Mix and Match Products - Bulk Discounts

What's This?

Mini-extension for WooCommerce Mix and Match Products that allows you to create dynamic pricing rules and offer bulk quantity discounts.

How It Works

To add bulk discounts to a Product Bundle, navigate to Product Data > Bundled Products and locate the Bulk discounts field. Add one discount rule per line using:

  • quantity range format - e.g. 1 - 5 | 5
  • single quantity format - e.g. 6 | 10
  • "equal to or higher" format - e.g. 7+ | 15
Adding bulk discount rules.

When a Product Bundle with bulk discounts is configured, the price total that's normally displayed above the add-to-cart button changes slightly to include some extra information:

  • The current Subtotal (price before discount).
  • The applicable Discount amount.
  • The final Total (price after discount).
Purchasing a Bundle with bulk discounts.

Note

By default, bulk discounts are applied to the prices of all bundled products that are Priced Individually.

If a Product Bundle with bulk discount rules has a static/base Regular Price and/or Sale Price, its static/base price component will remain unchanged.

To discount static/base bundle prices, use the following snippet:

add_filter( 'wc_pb_bulk_discount_apply_to_base_price', '__return_true' );

Important

Requires WooCommerce Mix and Match Products 5.10+.