Skip to content
Sign in
Dietrofront – Recesso Online for WooCommerce icon

Dietrofront – Recesso Online for WooCommerce

Online withdrawal button compliant with art.

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

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.

Written by Joobi from the project's own listing. See the source page

Italyrecessoright of withdrawalwithdrawalwoocommerce
27 Nov 2026
Version 1.0.1 released. Not scanned yet.

1.0.1

  • Hardening: the order lookup no longer loads every order for an email address. The withdrawal form is public and runs the lookup on each submission, so an unbounded query was work a stranger could ask the site to do; it now reads the 100 most recent orders, filterable with dietrofront_order_lookup_limit. A withdrawal is only valid for 14 days after delivery, so no order that could still be withdrawn falls outside that window.
  • Fix: the plugin version constant said 0.1.0 while the header said 1.0.0, so the stylesheets were cache-busted with the wrong version string.
  • Fix: the template files carry an explanation for the code checkers — their variables come from wc_get_template(), which extracts them inside a function, so they are local and not the unprefixed globals the checker reported.
  • Compatibility: tested with WordPress 7.2, PHP 8.6 and WooCommerce 11.3.

1.0.0

  • First version.
3 Oct 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)