| 开发者 | ludwigyou |
|---|---|
| 更新时间 | 2026年12月3日 18:57 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
aftero/portal or shortcode [aftero_portal]), My Account tab, a button on the thank-you page and live tracking of every request.aftero/withdrawal-link, shortcode [aftero_withdrawal_link]), a two-step confirmation, an immediate timestamped acknowledgement e-mail with a PDF receipt, and a tamper-evident proof log exportable as CSV. No return fee is ever applied to a withdrawal.docs/hooks.md, included in the plugin folder.aftero/v1 for the portal, HPOS and Cart and Checkout blocks compatible, WooCommerce CRUD only.wp aftero demo creates labelled orders and requests in every state, wp aftero demo --reset removes them (see the FAQ).aftero folder to /wp-content/plugins/ and activate it.Yes. The portal, cancellations, returns with refunds, the EU withdrawal button, the proof log, the request queue and every e-mail are free, with no order limit and nothing locked. Aftero Pro is an optional add-on for extra features (see the description).
No. Aftero Pro plans differ only by the number of sites they cover (Pro Solo 1, Pro Business 5, Pro Agence 25). Order volume never changes the plan and no feature is ever switched off.
No. Aftero gives you the tools (button, confirmation, acknowledgement, proof log) but it cannot check your terms, your withdrawal information or your exceptions. Ask a consumer law professional to review your setup before you rely on it.
Directive (EU) 2023/2673 amends the Consumer Rights Directive. Since 19 June 2026, shops that sell online to consumers in the EU must offer an easy way to withdraw from a contract during the withdrawal period: a clearly labelled function, a confirmation step, and an acknowledgement of receipt on a durable medium sent without delay. Aftero provides the link, the two-step form, the immediate e-mail with a PDF receipt and a proof log of each withdrawal.
Every order that is not closed (cancelled, refunded or failed), for the withdrawal period you set (14 days at least) counted from delivery, and before delivery too. Delivery is the date the order was completed, or the date a shipment tracking plugin returns through the aftero_delivery_date filter. When you have not informed customers of their right of withdrawal, turn off "Information given": the period is then extended by 12 months, as the law provides. The button concerns consumer sales at a distance: if you also sell to businesses, narrow it with the aftero_can_withdraw filter.
No. You still have to inform customers of their right of withdrawal, its conditions and its exceptions in your terms. Aftero adds the function the law requires; it does not write your terms.
None by default. Products flagged "Personalised product" on their edit screen are exempt, as is downloadable digital content when the order records the customer's waiver (order meta _aftero_digital_waiver). Use the aftero_withdrawal_item_excluded filter for other exemptions the law allows.
Yes. The WooCommerce order e-mails carry a signed link that opens the portal for that order. From the footer link or the portal page, guests enter their order number and billing e-mail: Aftero then sends a link, valid for 30 minutes, to the billing address of the order. Knowing the number and the address is not enough to open an order, the link must be opened from that mailbox. Lookups are rate-limited. Logged-in customers see all their orders in My Account.
Yes. Aftero declares compatibility with High-Performance Order Storage and the Cart and Checkout blocks, and only reads and writes orders through the WooCommerce CRUD.
Any gateway that supports WooCommerce refunds (for example WooPayments, Stripe or PayPal Payments). When a gateway cannot refund, the request moves to "Manual refund" in the queue and the shop marks it as refunded once done. Unpaid orders (bank transfer, cash on delivery) are simply cancelled.
In a private folder of the uploads directory (aftero-private), never in the media library, with random file names. Aftero denies direct access to that folder on Apache and IIS. Nginx ignores those protection files: add location ^~ /wp-content/uploads/aftero-private/ { deny all; } to your server block (adjust the path if your uploads folder is elsewhere). WooCommerce › Aftero › Compliance can test that the folder is protected. Staff download the files through a signed admin link; customers download their return label from the portal through an authenticated REST route.
Yes, like the cart and checkout pages. When a customer opens a link from an e-mail (an order e-mail, or the access link sent after a guest lookup), Aftero swaps it for a short-lived session cookie (aftero_session, HttpOnly, limited to the portal page) and redirects to the same page without the token, so the token never reaches analytics tags or logs. Pages with that session send no-cache headers and define DONOTCACHEPAGE.
Aftero rate-limits guest order lookups per visitor network (IPv4 address or IPv6 /64) and per order number, and sends at most three access links per order and hour. Behind a proxy every visitor shares the proxy address: return the real visitor IP with the aftero_client_ip filter, reading only a header your proxy sets. The Aftero screens show a warning when a proxy is detected and the filter is missing.
Return the order ID for the number the customer typed with the aftero_order_id_from_number filter.
The withdrawal button label uses the wording of Directive (EU) 2023/2673 in French, German, Spanish and Italian, and the acknowledgement of receipt ships in English, French, German, Spanish and Italian (editable on the Compliance tab). Every other string is translatable: translations are managed on translate.wordpress.org, and languages/aftero.pot is included for your own.
Yes. Copy templates/emails/aftero-request.php and templates/emails/plain/aftero-request.php to your-theme/aftero/emails/ (and your-theme/aftero/emails/plain/). The portal itself is a JavaScript app: style it with CSS or extend it with its JavaScript API. Developers will find every action and filter in docs/hooks.md.
No. Aftero makes no request to external services and has no tracking. Its only HTTP request is the "Test the protection of private files" button of the Compliance tab: when you click it, Aftero fetches one temporary file from your own uploads URL to check that the private folder is protected (if your uploads are served from a CDN or an offload service, that request goes there). Links to Aftero Pro are plain links, followed only if you click them. See the Privacy section below for what Aftero stores on your site.
On a staging copy of your shop, run wp aftero demo (WP-CLI). It creates labelled demo customers (demo-…@example.com), hidden demo products, and orders and requests in every interesting state (cancellation window open, return accepted with a label, refund to do by hand, EU withdrawal…), through the real flows, without sending e-mails. The command prints the admin and customer links of each order. wp aftero demo --reset removes everything it created (a demo product someone outside the demo ordered is kept, with a warning; demo products cannot be bought by other customers); wp aftero demo --fresh --only=cancel-window rebuilds one scenario. Run wp aftero demo --reset before deleting Aftero: the command goes with the plugin, and the demo data is deleted on uninstall only when "Delete all data on uninstall" is on (with WooCommerce active). Proof-log entries written by the demo stay in the log (it cannot lose a row) and are marked "Demo". Avoid running it on a live shop: other plugins (analytics, ERP, newsletters) would see the demo orders.
Scheduled tasks, temporary data and the capability are removed. Settings, requests, the proof log and the private files are kept, so a reinstall picks up where you left off and withdrawal records can still be produced. To delete them too, an administrator turns on "Delete all data on uninstall" (WooCommerce › Aftero › Settings › Advanced) before deleting the plugin; the Plugins screen shows a warning while it is on. With that setting, the demo data of wp aftero demo (demo customers, products, coupons and orders) is deleted as well, provided WooCommerce is active; otherwise run wp aftero demo --reset first.
They stay normal WooCommerce orders and every request stays readable. Returns where the customer chose an exchange or store credit can be refunded instead (no return fee) or closed, and a modification still waiting for its payment can be closed: the order goes back to how it was.
description paragraph class, which other tools look for on that screen.aftero_settings_sanitize filter.esc_url(); the portal and the ✦ Pro preview no longer print inline <style> or <script> tags.docs/hooks.md).