DL Frequently Bought Together
DL Frequently Bought Together
Description
DL Frequently Bought Together adds a simple, flexible upsell system to WooCommerce product pages, allowing store owners to group products that are commonly purchased together.
Each product can define its own “Frequently Bought Together” set from within the product editor. On the frontend, customers can select which products to include, choose variations where applicable, and add everything to the basket in a single action.
Pricing updates dynamically and supports mixed VAT rules (some products taxable, others not).
Key Features
- Add a Frequently Bought Together panel to product pages
- Select bundled products directly in the product editor
- Supports simple and variable products
- Dynamic total price calculation (incl. & excl. VAT)
- One-click “Add all to basket” button
- Automatically excludes unavailable or out-of-stock variations
- Lightweight, no frontend dependencies
How It Works
Admin (Product Editor)
- Edit any WooCommerce product
- Open the Frequently Bought Together tab
- Select one or more products to associate
- Save the product
Each product has its own independent bundle configuration.
Frontend (Product Page)
- The bundle appears below the product summary
- Customers can:
- Toggle items on/off
- Select variations where required
- Prices update instantly as selections change
- Clicking Add all to basket adds all selected items to the basket
Variable Products
Variable products always default to a valid, purchasable variation to avoid ambiguous pricing or invalid selections.
If no purchasable variations exist, the product is excluded from the bundle entirely.
Requirements
- WooCommerce 6.0+
- PHP 8.3+
- JavaScript enabled on the frontend
Installation
- Upload the plugin folder to
/wp-content/plugins/ - Activate DL Frequently Bought Together via the Plugins menu
- Edit a product and configure the bundle via the new tab
Faq
No. This is a separate, opt-in bundle system shown directly on product pages.
Yes. All markup uses scoped CSS classes (.dl-fbt__*) and inherits theme colours where possible.
Yes. Totals are calculated using WooCommerce’s tax APIs and correctly handle mixed tax statuses.
Yes. Only purchasable, in-stock variations are included, and a valid variation is always selected.
Products that require additional input (such as custom fields added by other plugins) may behave differently depending on how those plugins integrate with WooCommerce. For the most predictable experience, Frequently Bought Together works best with standard simple and variable products.
Reviews
Changelog
1.0.2
- Hardened input handling and nonce validation to meet WordPress.org review guidelines.
- Improved sanitization and validation of frontend and admin POST data.
- Renamed localized JavaScript object to a fully-qualified, plugin-specific name.
- Internal code quality improvements.
1.0.1
- Refactor: Improved internal code structure (class-based modules) for better maintainability.
- Tweak: Cart/checkout notice assets are now loaded only where needed.
- No functional changes intended.
1.0.0
- Initial release
- Frequently Bought Together bundles
- Dynamic pricing (incl. & excl. VAT)
- Variable product support
- One-click add-to-cart
- Admin product editor integration


