Aller au contenu principal
In practice10 June 2026·4 min read

The withdrawal button: installing it depending on your platform

Shopify, WooCommerce, Wix, PrestaShop or a bespoke site: the obligation is the same, the installation method changes. The common principle, the specifics of each platform and the pitfall that shows up everywhere.

Anis Mokadym

Anis Mokadym

Founder of BackToMe

Affected by the withdrawal button? BackToMe installs it on your store: 7-day free trial.

Start the trial

Since 19 June 2026, the withdrawal button has been mandatory in the European Union on every B2C online store (Directive (EU) 2023/2673, applicable across the 27 member states; in Ireland, enforced by the CCPC). The obligation is identical whatever your tool, but the way you install the button depends on your platform. Here is the common principle, then the specifics of each CMS and the pitfall that shows up everywhere.

The principle is the same everywhere

Whatever your CMS, the withdrawal button is installed the same way in substance: a tag (a <script>) added to the header (<head>) of your site. From then on, the button appears automatically across all your pages, as the button obligation (Directive (EU) 2023/2673) requires.

No developer required in most cases

Most platforms offer an official place to paste custom code into the header, without touching the rest of the site. This is what makes installation accessible to a non-technical merchant, in a few minutes.

One important nuance: the button must be accessible to exercise withdrawal after the purchase, not during the payment funnel. This is why, on some platforms, it appears on the product pages, cart and customer account but not in the checkout, which is perfectly compliant.

Shopify

On Shopify, you paste a BackToMe tag into theme.liquid, just before </head>. One quirk to know about: the Shopify checkout is served in a secure iframe, so the button appears on the theme but not in the payment funnel, which is compliant.

The detail is on the withdrawal button for Shopify page, with the step-by-step Shopify installation guide.

WooCommerce (WordPress)

On WooCommerce, you control your own code: installation is direct. The recommended method is a header-injection plugin (such as WPCode), or a child theme, never the parent theme, which would be overwritten on update. The most common pitfall: a caching plugin (WP Rocket, LiteSpeed) that combines or defers scripts. If the button does not appear, exclude backtome.fr/widget.js from JavaScript optimisation.

All the details on the withdrawal button for WooCommerce page and the WooCommerce guide.

Wix

Wix is a closed platform: the button is added through the Custom Code feature, in the site settings. Two specific points: adding custom code requires a Premium plan, and the tag only runs on the published site, not in the editor preview. This is the number-one confusion on Wix, so remember to publish and then check on the public URL.

See the withdrawal button for Wix page and the Wix guide.

PrestaShop

On PrestaShop, you install the button by editing your theme's _partials/head.tpl over FTP/SFTP (the file that contains the </head> tag, not to be confused with header.tpl), or through a code-injection module. The unavoidable pitfall: PrestaShop caches compiled templates aggressively. Until you clear the cache (Advanced Parameters > Performance), your tag is not injected, even if the file is correct.

Details on the withdrawal button for PrestaShop page and the PrestaShop guide.

What if you have a bespoke site?

Any site that accepts custom JavaScript can host the button: you simply paste the tag into the <head>. This is the case for in-house-built sites, modern frameworks (Next.js, Nuxt, etc.) and CMSs not listed above. The generic installation guide covers this case.

The pitfall that shows up on every platform

Three causes explain almost every "the button does not appear": a cache that has not been cleared (PrestaShop, WordPress), a strict Content-Security-Policy that blocks the backtome.fr domain (to be allowed in script-src), or a site that has not been published (Wix). Before concluding it is a bug, check these three points.

Installing the button is not enough

The technical installation is only one step. To be fully compliant with the withdrawal-button obligation, the button must also trigger an acknowledgement of receipt to the consumer and a timestamped archive of probative value for each request. This is precisely what BackToMe handles, whatever your platform, while the refund stays executed by you in your usual payment tool.

Once the button is installed, you still have to place it in the right spot: the four compliant placements and the pitfalls to avoid.

You start with a 7-day free trial (0 € today, cancellable in one click): the button appears on your site with full legal value, with acknowledgement of receipt and timestamped archiving of the withdrawals received.

Anis Mokadym

Anis Mokadym

Founder of BackToMe

Art. L.221-21 · 19 June 2026

Ready to install the withdrawal feature?

Install the withdrawal button on your site in five minutes. 7-day free trial: 0 € today, 30-day money-back guarantee.

Start the free trial →