Home > Docs > How to Add the Withdrawal Button Anywhere with the Shortcode

How to Add the Withdrawal Button Anywhere with the Shortcode

Last updated on August 28, 2026

Introduction

By default, the WebToffee’s EU withdrawal button for WooCommerce plugin can display the withdrawal option in two places: the site footer and the My Account order pages. But many stores need more flexibility for example, placing the button on a dedicated returns policy page, a product page, or a custom support page.

The withdrawal button shortcode lets you insert the button anywhere on your site that accepts shortcodes.

The Shortcode

[wt_eu_order_withdrawal]

Placing this shortcode on any page or post will render a button that links directly to your configured withdrawal page.

Customizing the Button Label

By default, the shortcode uses your configured link text. To override this for a specific placement, use the label attribute:

[wt_eu_order_withdrawal label="Cancel my order"]

Available Attributes

AttributeRequiredDescription
labelNoCustom button text. Uses the default shortcode label when omitted.
classNoAdds extra CSS classes to the button, useful for custom styling.

Setup Steps

Step 1: Open Advanced Settings Go to WooCommerce → Withdrawals → Settings → Advanced to view the shortcode reference and examples.

EU Withdrawal Button Shortcode
EU Withdrawal Button Shortcode

Step 2: Copy the Shortcode Copy [wt_eu_order_withdrawal], or the version with a custom label if needed.

Step 3: Paste It Where Needed Add the shortcode to any page, post, or widget area that supports shortcodes — for example, a returns/refund policy page.

A Note on Visibility Rules

If Geo-Targeting is enabled with Hide withdrawal button shortcode turned on, the shortcode button will automatically be hidden for non-EU visitors, keeping its behavior consistent with the footer and My Account placements.