Setting up a withdrawal button for WordPress & WooCommerce
Step by step: how to set up the withdrawal button for your WordPress or WooCommerce shop – in just a few minutes, without installing a plugin.
With over 40 % market share, WordPress is the most popular content management system in the world – and WooCommerce is the most-used shop plugin. If you run a WordPress or WooCommerce shop, you too must offer a compliant withdrawal button from 19 June 2026. In this article we show you how to set up the withdrawal button for WordPress.
Why WordPress shops are affected
The new obligation under § 356a BGB (Germany’s transposition of the EU-wide rule) applies to all B2C online shops – regardless of the shop system in use. This affects:
- WooCommerce shops: whether with Germanized, German Market or no additional plugin
- WordPress + plugin shops: Easy Digital Downloads, WP eCommerce and other e-commerce plugins
- WordPress service providers: also if you sell services (consulting, coaching, courses) online
What matters is not the shop system but whether you conclude contracts with consumers where a right of withdrawal exists.
Option 1: Germanized plugin
Germanized is the most popular plugin for legally compliant WooCommerce shops in Germany. The developers have announced that they will integrate the withdrawal button in a future update.
The challenge: as of today there is still no official implementation. Germanized is expected to release a corresponding update only in May 2026 – just a few weeks before the deadline. That means:
- A tight window for testing and bug fixing
- Possible incompatibilities with other plugins
- Dependence on a single plugin provider
- Uncertainty as to whether the implementation fully covers all legal requirements
Option 2: WiderrufButton widget (available now)
WiderrufButton is a standalone solution that works independently of WordPress plugins. Integration is done via a single script tag – no plugin installation, no database changes, no maintenance overhead.
Advantages over a plugin solution:
- Available now: no need to wait for plugin updates
- System-independent: works with any theme and any plugin
- CSS-isolated: runs in a shadow DOM capsule – no conflicts with your theme CSS
- Automatic updates: legal changes are rolled out automatically
- GDPR-compliant: no cookies, hosting in Germany
Step-by-step guide with WiderrufButton
Here is how to set up the withdrawal button for your WordPress shop:
Step 1: Create a free account
Create a free account at widerrufbutton.net. You only need your email address – no credit card.
Step 2: Add your shop
Add your shop in the dashboard. Enter the name and the domain (e.g. „my-shop.com“). WiderrufButton automatically generates a unique widget key for your shop.
Step 3: Insert the script tag
Insert the script tag into your WordPress shop. You have several options for this:
- Theme editor: under „Appearance → Theme File Editor“ in
footer.phpbefore</body> - WPCode plugin: install the free WPCode plugin and add the script as a „Footer Snippet“
- Child theme: in
functions.phpviawp_enqueue_script()
The code looks like this (you will find your widget key in the dashboard):
<script src="https://widerrufbutton.net/widget/dist/wh.js" data-shop-id="YOUR_WIDGET_KEY" data-position="footer" data-lang="en" async defer ></script>
Step 4: Test
Open your shop and check whether the withdrawal button is visible. Click the button and submit a test withdrawal. You will see the incoming withdrawal in the WiderrufButton dashboard immediately.
Common mistakes during implementation
Avoid these typical mistakes when integrating the withdrawal button:
- Button only on the home page: the withdrawal button must be available on all pages – not just the home page
- Button hidden behind a login: the withdrawal button must not be hidden behind a customer-account login
- Caching issues: make sure your caching plugin (WP Rocket, W3 Total Cache) does not block the script
- Cookie banner blocking the script: the WiderrufButton widget sets no cookies and must therefore not be blocked by the cookie banner
- Missing email confirmation: the automatic acknowledgement of receipt is legally required – WiderrufButton handles this automatically
Conclusion
The withdrawal-button obligation affects your WordPress shop too. While plugin solutions such as Germanized are expected to be available only shortly before the deadline, with WiderrufButton you can get started today. Integration takes just a few minutes, works with any theme and plugin and ensures that your shop is compliant from 19 June 2026.
You can find more about integration on our WordPress integration page and the WooCommerce guide.
More articles
Adding a withdrawal button in Wix – step-by-step guide (2026)
How to add the legally required withdrawal button to your Wix shop – step by step, without code.
Withdrawal button checklist: compliant by 19 June 2026
Five steps to make your shop compliant by 19 June 2026 – compact as a checklist.