Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/bcrum81/woo-bundle-pricing/archive/refs/heads/main.zipNot affiliated with or endorsed by WooCommerce or Automattic.
A WordPress plugin for stores that sell with WooCommerce Product Bundles. It puts bundle pricing on one screen, so you don't have to open dozens of bundles and variations one by one.
- Add-on discounts. Set the discount an add-on gets inside bundles once, and it is applied to every bundle that contains it. You can enter a percentage, or a target price ("$10 in bundles") and let the plugin work out the percentage.
- Price groups. For each variable product used in a bundle, the plugin works out which option sets the price (for example Attachment: soft loops $98, DCC clip $118) or whether every variation has one price. Change a group's price once and every variation in it is updated.
- Find what's out of line. A scan lists variations whose price doesn't match the rest of their group, missing sale prices, placeholder variations, prices written into option names that no longer match, missing left/right pairs, bundles pointing at deleted products, and add-ons whose discount or settings differ between bundles.
- Bundle "From" prices stay right. After every change, each affected bundle is re-synced, so its stored price range (used in shop lists, sorting, filters and feeds) is current.
- Undo. Every change is logged with who made it, and can be undone. Values that someone changed again since are left alone.
- Update cache button. Clears the page cache for only the pages that changed, through your cache plugin's own API.
Requirements
- WordPress 6.5+, PHP 8.1+
- WooCommerce 8.0+
- WooCommerce Product Bundles 8.x (tested with 8.5)
Install
- Download
woo-bundle-pricing.zipfrom the latest release. - In WordPress, go to Plugins → Add New → Upload Plugin, upload the zip and activate it.
- Open Products → Bundle Pricing.
Or clone it straight into your plugins folder: git clone https://github.com/bcrum81/woo-bundle-pricing.git wp-content/plugins/woo-bundle-pricing. (GitHub's green Code → Download ZIP also works, but WordPress then names the folder woo-bundle-pricing-main.)
Using it
The page has five tabs.
| Tab | What it does |
|---|---|
| Issues | Everything the scan found, worst first, with links to the product or bundle to fix. Press Re-scan after fixing something by hand. |
| Price groups | Each bundled variable product with its variations grouped by price. Enter a new regular or sale price for a group and press Preview. |
| Add-on discounts | Every product used inside bundles, with its usual discount and its price in bundles. Enter a new discount % or target $ and press Preview. The Currently discounted only checkbox is remembered for each user. |
| History | Every change made with the plugin, with Undo. |
| Settings | See below. |
Every change goes through a preview that lists each variation or bundle that will change, before and after. Nothing is saved until you confirm. If the prices were changed by someone else between your preview and your save, the save is refused and you're asked to preview again.
Bundle discounts come off the product's current price, so they stack with a sale price. That's how Product Bundles works by default.
Settings
- Hide from add-on list. Products whose name contains this text are left off the Add-on discounts tab. Use it to hide each bundle's main variable product (for example everything named "… (Options)"), whose prices you manage on the Price groups tab.
- Checks. Turn individual scan checks on or off.
- Private bundles. Compare add-on settings across published bundles only (default), so a private $0 "samples" bundle isn't flagged.
- Placeholder words, Pair option, Price group match. Tune what the scan treats as a placeholder, which option must come in pairs (default: anything with "hand" in the name), and how strict price grouping is.
- Page cache. Detected automatically. Supported: Kinsta, WP Rocket, LiteSpeed Cache, W3 Total Cache, SiteGround Speed Optimizer, WP Super Cache. Choose None to hide the Update cache button.
- Who can use this. Shop managers and administrators (default), or administrators only.
WP-CLI
wp bundle-pricing scan # summary and list of issues
wp bundle-pricing scan --format=json
How changes are saved
Nothing is written with raw SQL. Variation prices are saved through WooCommerce's product objects. Bundle discounts are saved through Product Bundles' own bundled-item objects, which clear its caches. Each affected bundle is then re-synced with Product Bundles' sync(), which updates its stored min/max price and WooCommerce's product lookup table. The plugin stores only its settings, the change history and the list of pages waiting for a cache clear. All three are removed if you delete the plugin.
Before using it on a live store
Take a backup first. The plugin previews and logs every change, and Undo covers anything made with it, but a backup also protects you from anything else.
License
GPL-2.0-or-later. See LICENSE.