03 [ field note — plugin ]

Dietrofront Online withdrawal for WooCommerce

· 1 min read · Plugin

Dietrofront plugin icon — return arrow with the Italian flag

Italian online shops must let customers withdraw from a purchase online — art. 54-bis of the Italian Consumer Code (Codice del Consumo, recesso online). Dietrofront adds exactly that to WooCommerce, without a page builder or a monthly fee.

The problem

The law asks for a clear withdrawal button, a confirmation step and a receipt with date, time and the text of the declaration. Most shops handle it with a contact form and an email — which is not what the law describes.

How it works

  1. Pre-contractual notice on the product page and in the cart.
  2. Withdrawal button (pulsante di recesso) with the statutory wording and a two-step flow: request, then a separate confirmation.
  3. From "My orders" for registered customers, and a public withdrawal page for guests (shortcode, order number + email check).
  4. Automatic email receipt with date, time and the text of the declaration — plus a notification and an order note for the shop owner.

Made for real shops

Texts are editable in the WooCommerce settings, templates can be overridden by the theme, and custom, personalised or sealed products can be excluded. A delivery-date field marks the start of the withdrawal period. Rate limiting, nonce checks and HPOS compatibility are built in.

FAQ

What is art. 54-bis of the Italian Consumer Code?

It requires online sellers to offer consumers a way to withdraw from a contract online, with a clear withdrawal function, a confirmation step and a receipt.

Is Dietrofront free?

Yes. It is free and open source (GPLv2) with no paid version; donations are optional.

Does it work for guest customers?

Yes. Guests use a public withdrawal page, added with a shortcode, that checks the order number and email.

[ next note ]The book
04 [ contact — commissions open 2026 ]

Got a wall, a canvas or a site to set on fire? Got a wall, a canvas or a site to set on fire?

[ digital ]

[ studio ]

  • Castelplanio, Ancona
  • Marche — Italy
  • local time
  • 43.49°N 13.08°E