Linux 软件免费装
Banner图

Aftero – Post-purchase portal for WooCommerce

开发者 ludwigyou
更新时间 2026年12月3日 18:57
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce returns rma withdrawal button order cancellation

下载

0.2.3 0.2.4

详情介绍:

After-sales without the e-mail ping-pong. 📦✨ "How do I cancel?", "Where do I send this back?", "Did you get my withdrawal?" Every one of these e-mails costs you time. Aftero gives your customers a single "Manage my order" page where they do it themselves, and gives your team one queue where every request lands, already sorted. https://youtu.be/-4t1ZHRGW7o Customers open the portal from their order e-mails, the thank-you page or My Account, and only see what their order allows right now: cancel before you ship, return an item, or withdraw from the contract. Every action updates the WooCommerce order, adds an order note and is recorded step by step. 👉 The EU withdrawal button is included, for free. Since 19 June 2026, shops that sell online to consumers in the EU must offer an easy "withdraw from the contract" function with a confirmation step and an immediate acknowledgement. Aftero provides the button, the two-step form, the acknowledgement e-mail with a PDF receipt and a tamper-evident proof log. ✨ Free features Everything below is free, with no order limit and nothing locked: 🛑 Cancellations before you ship Set a window (60 minutes by default, it also closes as soon as you move the order to "Picking"). Inside it, the customer picks a reason and confirms: the order is cancelled, restocked, and refunded through the payment gateway when it supports refunds. When the gateway cannot refund (bank transfer, cheque, a gateway without refund support), the cancellation goes to your queue as "Manual refund" and you mark it as refunded once you have paid the customer back. No stock to fix. 🔁 Returns that sort themselves Customers choose the items, the quantity and the reason, add a comment and photos, and see your return address, instructions or label straight away. You accept, reject or mark the parcel as received from one screen; Aftero refunds the returned items (minus the return fee you set) and restocks them if you want. The customer gets an e-mail at each step and can follow the request in the portal. 🇪🇺 The withdrawal button, done carefully 💛 Free means free 🚀 Need more? Aftero Pro Aftero Pro is an optional add-on for shops that want to keep the sale instead of refunding it: Aftero Pro is sold per site: Pro Solo (1 site), Pro Business (5 sites) and Pro Agence (25 sites). Every plan has every Pro feature and never limits your orders. Aftero stays complete without it. Without Pro, Aftero mentions it only inside its own screens and to users who can install plugins: an "Aftero Pro" link on the Plugins screen, the "✦ Aftero Pro" and "Dashboard ✦ Pro" tabs, a few "✦ Pro" previews (settings, setup wizard, request screen, Aftero box of the order screen) that open a short description with a screenshot (never locked or fake controls), and an occasional tip you can dismiss. "Aftero Pro previews" in WooCommerce › Aftero › Settings › Advanced turns them all off, for example on a client site. Customers never see them. 🧑‍💻 Made for developers too ⚖️ Not legal advice Aftero helps you meet the withdrawal button requirements, but it does not provide legal advice. Have your terms and conditions, your withdrawal information and the Aftero texts checked by a consumer law professional.

安装:

  1. Install and activate WooCommerce (9.0 or later).
  2. In Plugins › Add New, search for "Aftero", install and activate it. Or upload the aftero folder to /wp-content/plugins/ and activate it.
  3. Follow the setup wizard. A "Manage my order" page holding the portal block is created for you.
  4. Open WooCommerce › Aftero › Compliance and work through the checklist (withdrawal period, terms page, acknowledgement texts).
  5. Exclude the "Manage my order" page from your page cache, like the cart and checkout pages. 🎉

屏幕截图:

  • A return request: items, reasons, photos and refund.
  • The two-step EU withdrawal form and its acknowledgement.
  • WooCommerce › Aftero: the request queue with filters and bulk actions.
  • A request screen with its actions and its proof-log timeline.
  • The compliance checklist and the withdrawal texts.

升级注意事项:

0.2.1 Adds a Closed view and date sorting to the requests list, and extension points used by Aftero Pro. 0.2.0 Order editing, exchanges, store credit and the dashboard now live in the Aftero Pro add-on. Your data and settings are kept.

常见问题:

Is Aftero really free?

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).

Is Pro limited by the number of orders?

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.

Is Aftero legal advice?

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.

What is the EU withdrawal button?

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.

Which orders does the withdrawal button cover?

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.

Does the withdrawal button replace my terms and conditions?

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.

Which items are exempt from the withdrawal button?

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.

Can customers use the portal without an account?

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.

Does it work with HPOS and the block checkout?

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.

Which payment gateways refund automatically?

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.

Where are customer photos, return labels and withdrawal receipts stored?

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.

Do I need to exclude the portal page from my page cache?

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.

My site is behind Cloudflare or a reverse proxy

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.

I use a sequential order number plugin

Return the order ID for the number the customer typed with the aftero_order_id_from_number filter.

Is Aftero translated?

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.

Can templates be overridden?

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.

Does Aftero send data anywhere?

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.

How can I try Aftero with sample data?

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.

What happens to my data when I delete the plugin?

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.

What happens to orders changed with Aftero Pro if I remove it?

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.

更新日志:

0.2.4 0.2.3 0.2.2 0.2.1 0.2.0 0.1.0