Commit cae23d1a80c for woocommerce
commit cae23d1a80ca589fda17af47d8b8a1fed6ddabb3
Author: Tom Cafferkey <tjcafferkey@gmail.com>
Date: Thu Aug 6 10:50:00 2026 +0100
Update order withdrawal documentation links (#67430)
* Update order withdrawal documentation links
* Add changelog entry for order withdrawal docs link
diff --git a/plugins/woocommerce/changelog/update-order-withdrawal-doc-link b/plugins/woocommerce/changelog/update-order-withdrawal-doc-link
new file mode 100644
index 00000000000..5db85653c6b
--- /dev/null
+++ b/plugins/woocommerce/changelog/update-order-withdrawal-doc-link
@@ -0,0 +1,3 @@
+Significance: patch
+Type: update
+Comment: Update order withdrawal Learn more links to point to the customer order withdrawal documentation.
diff --git a/plugins/woocommerce/src/Internal/Features/FeaturesController.php b/plugins/woocommerce/src/Internal/Features/FeaturesController.php
index 038c426f0b5..4fdbacdbc87 100644
--- a/plugins/woocommerce/src/Internal/Features/FeaturesController.php
+++ b/plugins/woocommerce/src/Internal/Features/FeaturesController.php
@@ -349,6 +349,15 @@ class FeaturesController {
'deprecated_since' => '10.5.0',
'deprecated_value' => true,
),
+ 'order_withdrawal' => array(
+ 'name' => __( 'Order withdrawal', 'woocommerce' ),
+ 'description' => __( 'Enable the public order withdrawal feature for customer requests.', 'woocommerce' ),
+ 'learn_more_url' => 'https://woocommerce.com/document/customer-order-withdrawal/',
+ 'enabled_by_default' => false,
+ 'disable_ui' => false,
+ 'default_plugin_compatibility' => FeaturePluginCompatibility::COMPATIBLE,
+ 'is_experimental' => false,
+ ),
// Marked as a legacy feature to avoid compatibility checks, which aren't really relevant to this feature.
// https://github.com/woocommerce/woocommerce/pull/39701#discussion_r1376976959.
'order_attribution' => array(
@@ -458,14 +467,6 @@ class FeaturesController {
'enabled_by_default' => false,
'is_experimental' => false,
),
- 'order_withdrawal' => array(
- 'name' => __( 'Order withdrawal', 'woocommerce' ),
- 'description' => __( 'Enable the public order withdrawal feature for customer requests.', 'woocommerce' ),
- 'enabled_by_default' => false,
- 'disable_ui' => false,
- 'default_plugin_compatibility' => FeaturePluginCompatibility::COMPATIBLE,
- 'is_experimental' => false,
- ),
'abandoned_cart_recovery' => array(
'name' => __( 'Abandoned cart recovery', 'woocommerce' ),
'description' => __(
diff --git a/plugins/woocommerce/src/Internal/OrderWithdrawal/OrderWithdrawalFeatureHighlightNotification.php b/plugins/woocommerce/src/Internal/OrderWithdrawal/OrderWithdrawalFeatureHighlightNotification.php
index ec92b9991f4..7346896b6f9 100644
--- a/plugins/woocommerce/src/Internal/OrderWithdrawal/OrderWithdrawalFeatureHighlightNotification.php
+++ b/plugins/woocommerce/src/Internal/OrderWithdrawal/OrderWithdrawalFeatureHighlightNotification.php
@@ -21,7 +21,7 @@ final class OrderWithdrawalFeatureHighlightNotification implements RegisterHooks
private const COMING_SOON_OPTION = 'woocommerce_coming_soon';
private const FEATURES_SETTINGS_URL = 'admin.php?page=wc-settings&tab=advanced§ion=features';
- private const DOCUMENTATION_URL = 'https://woocommerce.com/';
+ private const DOCUMENTATION_URL = 'https://woocommerce.com/document/customer-order-withdrawal/';
/**
* Register hooks.