Title: Dietrofront – Recesso Online for WooCommerce
Author: Andres Hunger
Published: <strong>October 3, 2026</strong>
Last modified: October 3, 2026

---

Search plugins

![](https://ps.w.org/dietrofront/assets/banner-772x250.png?rev=3725983)

![](https://ps.w.org/dietrofront/assets/icon-256x256.png?rev=3725983)

# Dietrofront – Recesso Online for WooCommerce

 By [Andres Hunger](https://profiles.wordpress.org/andresitaly/)

[Download](https://downloads.wordpress.org/plugin/dietrofront.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/dietrofront/#description)
 * [Reviews](https://wordpress.org/plugins/dietrofront/#reviews)
 *  [Installation](https://wordpress.org/plugins/dietrofront/#installation)
 * [Development](https://wordpress.org/plugins/dietrofront/#developers)

 [Support](https://wordpress.org/support/plugin/dietrofront/)

## Description

**Dietrofront** adds to WooCommerce the online withdrawal function required by art.
54-bis of the Italian Consumer Code, mandatory in Italy from **19 June 2026** (Legislative
Decree 209/2025, implementing EU Directive 2023/2673).

The plugin shows the pre-contractual information (art. 49 c.1 lett. h) on the product
page and in the cart, provides a button with the unambiguous wording required by
the law, and handles a withdrawal in **two steps** with a separate confirmation.
At the end it automatically sends the consumer a **receipt on a durable medium**
containing the text of the declaration and the **exact date and time** of transmission.

#### A compliance requirement, not just a nice touch

Anyone selling online to consumers in Italy must provide a withdrawal function that
is **clearly visible, always accessible and free of any justification**, for the
whole 14-day period. If the information is incomplete, the term is no longer 14 
days but **12 months and 14 days** in favor of the consumer. Dietrofront is built
to meet these requirements in a verifiable and traceable way.

#### Why WooCommerce’s native feature is not enough

WooCommerce includes a withdrawal feature that is **experimental and marked as @
internal** (subject to change or removal without notice). Dietrofront replaces it
with an implementation dedicated to the Italian market:

 * **Compliant texts.** Exact wording **“recedere dal contratto qui”** and confirmation
   command **“conferma recesso”**, both configurable. The native feature uses generic
   strings.
 * **Correct start of the period.** The 14 days run from **delivery**: Dietrofront
   adds a **delivery date** field on the order, with a fallback to the completion
   or creation date. The native feature relies on the standard dates only.
 * **Product exclusions (art. 59).** A checkbox on the product for custom/personalized
   or sealed goods, with automatic exclusion of the withdrawal when all items are
   excluded.
 * **Guests without an account.** Withdrawal also for those who buy as a guest, 
   with order number and email verification. The native feature is effectively tied
   to the account area.
 * **Receipt on a durable medium.** Configurable WooCommerce email (HTML and text)
   containing the text of the declaration, date and time and order number, always
   sent because it is a legal obligation.
 * **Traceability.** The withdrawal is recorded from the moment of transmission 
   with a timestamp and an order note, regardless of the outcome of the email delivery.
 * **Independence and security.** No dependency on internal APIs: nonce, rate limiting
   per IP and email, anti-enumeration messages, HPOS support.

#### Features

 * Configurable pre-contractual notice on the product page and in the cart.
 * Withdrawal button with the statutory wording and a two-step flow (withdrawal -
   > confirmation).
 * Withdrawal from the **“My orders”** area for registered customers.
 * **Public withdrawal page** for **guests**, with no account required (shortcode`[
   dietrofront_withdrawal_form]`).
 * **Automatic email receipt** with date, time and text of the declaration.
 * Notification to the shop owner and a note on the order.
 * Texts customizable from the WooCommerce settings.
 * Templates overridable from the theme.

## Screenshots

[⌊Pre-contractual notice (art. 49 c.1 lett. h) on the product page.⌉⌊Pre-contractual
notice (art. 49 c.1 lett. h) on the product page.⌉[

Pre-contractual notice (art. 49 c.1 lett. h) on the product page.

[⌊Pre-contractual notice in the cart.⌉⌊Pre-contractual notice in the cart.⌉[

Pre-contractual notice in the cart.

[⌊Withdrawal button with the statutory wording in the "My orders" area.⌉⌊Withdrawal
button with the statutory wording in the "My orders" area.⌉[

Withdrawal button with the statutory wording in the “My orders” area.

[⌊Second step: separate confirmation command ("conferma recesso").⌉⌊Second step:
separate confirmation command ("conferma recesso").⌉[

Second step: separate confirmation command (“conferma recesso”).

[⌊Receipt email on a durable medium with date, time and text of the declaration.⌉⌊
Receipt email on a durable medium with date, time and text of the declaration.⌉[

Receipt email on a durable medium with date, time and text of the declaration.

[⌊Public withdrawal page for guests ([dietrofront_withdrawal_form]).⌉⌊Public withdrawal
page for guests ([dietrofront_withdrawal_form]).⌉[

Public withdrawal page for guests (`[dietrofront_withdrawal_form]`).

[⌊Settings in WooCommerce > Settings > Recesso.⌉⌊Settings in WooCommerce > Settings
> Recesso.⌉[

Settings in WooCommerce > Settings > Recesso.

## Installation

 1. Upload the `dietrofront` folder to `/wp-content/plugins/`, or install the plugin
    from the WordPress Plugins screen.
 2. Activate the plugin. On activation the “Diritto di recesso” page is created and
    the endpoint in the “My orders” area is registered.
 3. Go to **WooCommerce > Settings > Recesso** to customize texts and notices.
 4. (Optional) Set the delivery date on orders so the 14 days start correctly.

## FAQ

### When does it become mandatory?

The obligation applies in Italy from 19 June 2026 (Legislative Decree 209/2025).

### Does it work with orders created before installation?

Yes. The feature reads the order status and dates and makes the withdrawal available
if the order is eligible and the term has not expired.

### Does the consumer need an account?

No. The withdrawal is available both from the “My orders” area for registered customers
and through the public page (shortcode `[dietrofront_withdrawal_form]`) for those
who buy as a guest, with order number and email verification.

### Is it compatible with HPOS?

Yes, the plugin declares compatibility with WooCommerce’s new order storage.

### Is the plugin free? How can I support development?

Yes. Dietrofront is **completely free and open source** (GPLv2): there is no paid
version and no feature is locked. If you find the plugin useful you can make a **
free and optional donation** — with no consideration in return — via the PayPal 
button on the settings page, or by writing to `info@andreshunger.com`.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Dietrofront – Recesso Online for WooCommerce” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Andres Hunger ](https://profiles.wordpress.org/andresitaly/)

[Translate “Dietrofront – Recesso Online for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/dietrofront)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/dietrofront/), check
out the [SVN repository](https://plugins.svn.wordpress.org/dietrofront/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/dietrofront/) by
[RSS](https://plugins.trac.wordpress.org/log/dietrofront/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * First version.

## Meta

 *  Version **1.0.0**
 *  Last updated **2 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [Italy](https://wordpress.org/plugins/tags/italy/)[recesso](https://wordpress.org/plugins/tags/recesso/)
   [right of withdrawal](https://wordpress.org/plugins/tags/right-of-withdrawal/)
   [withdrawal](https://wordpress.org/plugins/tags/withdrawal/)[woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/dietrofront/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/dietrofront/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/dietrofront/reviews/)

## Contributors

 *   [ Andres Hunger ](https://profiles.wordpress.org/andresitaly/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/dietrofront/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/paypalme/andreshunger)