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/jamesonrgrieve/wp-woo-bundles/archive/refs/heads/main.zipProduct bundles for WooCommerce: fixed and optional items sold together.
A companion to wp-woo-idempotent-importer: the importer mirrors stores from Shopify, BigCommerce, Squarespace, Wix, Magento, Lightspeed, Ecwid, Etsy and Square into WooCommerce, and must enforce everything the source store enforced. Where WooCommerce can't hold a concern natively, a companion plugin like this one holds it, one plugin per concern.
Scope
- Fixed and optional bundle items.
- Bundle pricing: fixed, or the sum of the items with a discount.
- Stock taken from the component products; order lines keep their components.
Contract
- A stable data model and a PHP API the importer writes into idempotently: an unchanged source causes zero writes.
- Usable on its own as a WooCommerce plugin, with an admin UI to view and edit its records.
- Requires WooCommerce; it does nothing until they are active.
Status
Scaffold: the plugin boots, checks its required plugins and runs the full quality gate. The features above are tracked on its Deck card (http://192.168.1.12/index.php/apps/deck/board/3/card/394).
Development
composer install # also wires the pre-commit hook
composer check # lint, format, PHPStan max, unit tests, audit, validate
License
AGPL-3.0-or-later.