PrestaShop module - EU compliant withdrawal button

PrestaShop module - EU compliant withdrawal button 1.5.0

No permission to download
Version 1.5.0 adds a structured, permission-aware withdrawal case manager while preserving the existing customer submission flow.

### Back Office Manager

- Added **Orders > Withdrawals** with search, pagination, and filters for workflow status, decision, assignee, scope, received dates, shop, and archive state.
- Added case detail tabs for Overview, Communication, and History, including structured item snapshots, submitted contact details, deadlines, legacy markers, messages, attachments, and employee-attributed events.
- Added New, In review, Waiting for customer, Approved, Rejected, and Completed workflow states with a separately retained decision outcome.
- Added employee assignment, internal notes, customer messages, approval, rejection, reopening, completion, archive, and restore actions.

### Communication and Security

- Added customer-language message and decision defaults for all 16 shipped locales.
- Added up to three validated PDF, JPG, or PNG attachments per message, stored outside public module paths and downloaded only through a token-, permission-, and shop-checked admin action.
- Added pending, dispatching, sent, and failed communication states with retry support; interrupted dispatches are shown as delivery status unknown for manual review. A retry updates the existing communication and never repeats the persisted decision transition.
- Applied native PrestaShop tab view/edit permissions and multishop isolation to list, detail, mutation, and download actions.

### Persistence, Synchronization, and Upgrade

- Added five manager tables for requests, item snapshots, communications, attachments, and chronological events.
- Added guarded synchronization with configured requested/approved/rejected order states so manager and external transitions produce one decision and one customer email.
- Added idempotent `upgrade-1.5.0.php`; upgrading from 1.4.4 creates the schema and tab, then imports existing relevant order histories once as marked legacy cases.
- Raised module and XML metadata to 1.5.0 with compatibility from PrestaShop 1.7.5.1 through 9.99.99 and retained PHP 7.2 syntax support.

### Operational Boundary

- The manager does not automatically issue refunds or credit slips, change stock or order quantities, or create return labels. Merchants retain control of those operational actions.
### Withdrawal Scope

- Added a Back Office setting to disable partial withdrawals.
- When partial withdrawals are disabled, the Front Office form submits only full-order withdrawals.
- Server-side handling forces the withdrawal scope to the full order even if a browser posts a partial-scope value.
- Product-selection mode is disabled while partial withdrawals are disabled.

### Compatibility and Upgrade

- Module version raised to 1.4.4.
- Added `upgrade-1.4.4.php` to keep partial withdrawals enabled on existing shops, preserving current behaviour after update.
- No database schema change.
Easier management of excluded products and categories

You can now select products using the search function instead of just entering the ID manually.
Category selection is now available via a clear category tree.
Manual ID entry remains available as an advanced option.

Front-end improvements

Error messages in the cancellation form are now displayed more reliably.
Improved compatibility with themes that display PrestaShop notifications differently.

Improved compatibility

Improved support for PrestaShop 1.7.
More stable redirects after submitting the cancellation form.
Compatibility fix for older PrestaShop-1.7-Installationen.
Back
Top