v1.0.0-alpha.42 — Partial withdrawal (choose products) + hooks reference
The free EU online right-of-withdrawal button (Art. 11a / Art. 54-bis) for WooCommerce, FluentCart and EDD. Mandatory from 19 June 2026.
What's new in alpha.42
- Partial withdrawal — choose which products. EU law allows withdrawing from only some products of an order (the Annex I-B model form declares withdrawal "of the following goods" — it is not all-or-nothing). Step 1 of the withdrawal form now has an optional per-item checklist: tick the products you're withdrawing from, or leave it empty to withdraw from the whole order (the default).
- Fail-open / never a gate — an empty selection behaves exactly as before; the statutory right always works (
WithdrawalRequest::is_valid()unchanged). - The selection flows into the immutable evidence log, the durable-medium acknowledgement (e-mail + PDF, a "Products withdrawn" row) and a new Products column in the admin Requests dashboard.
- Informational only — the merchant still processes the (full or partial) refund manually.
- Fail-open / never a gate — an empty selection behaves exactly as before; the statutory right always works (
- Developer hooks & filters reference. New
docs/reference/wwu-wb-hooks-filters-REFERENCE.mddocuments all 30 public hooks (25 filters + 5 actions) the plugin exposes — the supported extension API, each with signature, params and a usage example.
Verification
php -lclean · class scanner clean · PHPStan level 2: no errors · 5 new smoke assertions (suite_withdrawal_request).- All 6 locales at 100% (510/510): IT, EN, DE, FR, ES, SV.
Notes
- Pre-release alpha. Builds on alpha.41 (configurable FluentCart handling) and alpha.40 (UI Kit bundled + Swedish complete).
- Install: download
wwu-withdrawal-button.zipbelow → Plugins → Add New → Upload Plugin.
Full changelog in readme.txt and docs/changelog/wwu-wb-CHANGELOG.md.