Beskrivelse
Gør det muligt at vedhæfte diverse dokumenter og mediefiler til et WooCommerce-produkt som en separat fane på produktsiden.
Ændringslog
1.2.4 (2026-06-03)
- Overview: Adding documents no longer reloads the page — new rows are returned via AJAX and injected in place, and dashboard counters update live.
1.2.3 (2026-06-03)
- Overview: Dashboard "Marked for customer e-mail" counter updates live when toggling the Send switch.
- Overview: Replaced text buttons in the Actions column with icon-only Edit (rename) and Delete buttons.
- Overview: Edit button opens an inline rename dialog that updates the attachment title via AJAX.
1.2.2 (2026-06-03)
- Product edit Documents tab: Redesigned row layout with icon-only Edit/Delete actions and a proper on/off toggle for "Send to customer".
1.2.1 (2026-06-03)
- Product edit screen: Tidy up the Documents table columns (fixed widths, centered Send checkbox, dedicated Actions column).
1.2.0 (2026-06-03)
- Overview: Only published products with documents are listed (drafts/private/pending are hidden).
- Overview: Mini dashboard with counters (products, documents, unique files, marked for send, total size).
- Overview: Documents open in a modal preview (image / PDF / generic file).
- Overview: Add and remove documents directly from the overview (inline media picker + delete).
- Overview: "Send to customer" toggle saves instantly via AJAX.
1.1.0 (2026-06-03)
- Refactor: Modular structure with autoloaded
src/classes and Webalive coding standards. - New: Products → Documents overview page with branded dashboard header.
- New: Settings tab for e-mail subject/intro/outro, sender details and order status trigger.
- New: Per-document "Send to customer" checkbox (on both product Documents tab and the overview page).
- New: When an order reaches the configured status, the selected documents are sent to the customer in a separate e-mail per product.
- Tweak: Moved CSS/JS into
assets/css/andassets/js/. - i18n: All UI strings are translation-ready (Poedit compatible).
1.0.5 (2026-05-22)
- Compatibility: Tested with WordPress 7.0 and WooCommerce 10.7.
1.0.4
- Compat: Tested with WordPress 7.0 and WooCommerce 10.7.
1.0
- Initial bump