Commit 8ac16e8580 for woocommerce
commit 8ac16e858018f55df7a84a09b86486c8060cd8ba
Author: Darren Ethier <darren@roughsmootheng.in>
Date: Mon Nov 3 18:01:19 2025 -0500
Remove CedCommerce from onboarding marketing task (#61758)
* Remove CedCommerce activation handler from marketing task
Remove the on_activated_plugin method and its action hook that
marked the marketing task as complete when multichannel-by-cedcommerce
was activated. The custom contract with CedCommerce has been
terminated, so this handler is no longer needed.
* Remove CedCommerce from marketing task bundle
Remove multichannel-by-cedcommerce from the task-list/grow bundle
in the DefaultFreeExtensions class as the custom contract has
been terminated.
* Comment out CedCommerce activation handler from marketing task
Keep the on_activated_plugin method structure as an example for
how to mark the marketing task as complete when plugins are
activated. The multichannel-by-cedcommerce condition is commented
out as the custom contract has been terminated.
* Add changefile(s) from automation for the following project(s): woocommerce
* update PR creation rule to be available in every context
* Improve comment block for example
---------
Co-authored-by: github-actions <github-actions@github.com>
diff --git a/.cursor/rules/generate-pr-description.mdc b/.cursor/rules/generate-pr-description.mdc
index 1ab4dc6199..cb83668e62 100644
--- a/.cursor/rules/generate-pr-description.mdc
+++ b/.cursor/rules/generate-pr-description.mdc
@@ -1,5 +1,5 @@
---
-alwaysApply: false
+alwaysApply: true
---
# Generating a Pull Request Description
diff --git a/plugins/woocommerce/changelog/61758-update-woomkt-335-remove-ced-from-onboarding b/plugins/woocommerce/changelog/61758-update-woomkt-335-remove-ced-from-onboarding
new file mode 100644
index 0000000000..28e72abd2f
--- /dev/null
+++ b/plugins/woocommerce/changelog/61758-update-woomkt-335-remove-ced-from-onboarding
@@ -0,0 +1,4 @@
+Significance: patch
+Type: update
+
+Remove CedCommerce from onboarding marketing task
\ No newline at end of file
diff --git a/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Marketing.php b/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Marketing.php
index dd6230cb55..11be6d2271 100644
--- a/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Marketing.php
+++ b/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Marketing.php
@@ -26,13 +26,18 @@ class Marketing extends Task {
public function on_activated_plugin( $plugin ) {
$plugin_basename = basename( plugin_basename( $plugin ), '.php' );
- if ( $plugin_basename === 'multichannel-by-cedcommerce' &&
- $this->task_list->visible &&
- ! $this->task_list->is_hidden() &&
- ! $this->is_complete()
- ) {
- $this->mark_actioned();
- }
+ // Example: How to mark the marketing task as complete when a specific plugin is activated.
+ /**
+ * Example:
+ * if (
+ * $plugin_basename === 'multichannel-by-cedcommerce' &&
+ * $this->task_list->visible &&
+ * ! $this->task_list->is_hidden() &&
+ * ! $this->is_complete()
+ * ) {
+ * $this->mark_actioned();
+ * }
+ */
}
/**
diff --git a/plugins/woocommerce/src/Internal/Admin/RemoteFreeExtensions/DefaultFreeExtensions.php b/plugins/woocommerce/src/Internal/Admin/RemoteFreeExtensions/DefaultFreeExtensions.php
index 5cafa1f28a..d60e5b4df2 100644
--- a/plugins/woocommerce/src/Internal/Admin/RemoteFreeExtensions/DefaultFreeExtensions.php
+++ b/plugins/woocommerce/src/Internal/Admin/RemoteFreeExtensions/DefaultFreeExtensions.php
@@ -69,7 +69,6 @@ class DefaultFreeExtensions {
'title' => __( 'Grow your store', 'woocommerce' ),
'plugins' => array(
self::get_plugin( 'google-listings-and-ads:alt' ),
- self::get_plugin( 'multichannel-by-cedcommerce' ),
self::get_plugin( 'tiktok-for-business' ),
self::get_plugin( 'pinterest-for-woocommerce:alt' ),
self::get_plugin( 'facebook-for-woocommerce:alt' ),
@@ -137,18 +136,6 @@ class DefaultFreeExtensions {
'manage_url' => 'admin.php?page=wc-admin&path=%2Fgoogle%2Fstart',
'is_built_by_wc' => true,
),
- 'multichannel-by-cedcommerce' => array(
- 'name' => __( 'Multichannel for WooCommerce', 'woocommerce' ),
- 'description' => __( 'Sync your sales data across platforms and manage everything from a unified dashboard.', 'woocommerce' ),
- 'image_url' => plugins_url( '/assets/images/onboarding/multichannel.webp', WC_PLUGIN_FILE ),
- 'manage_url' => 'admin.php?page=sales_channel',
- 'is_built_by_wc' => false,
- 'install_external' => true,
- 'learn_more_link' => 'https://woocommerce.com/products/multichannel-by-cedcommerce-ebay-amazon-walmart-etsy-integration/?utm_source=marketing_task&utm_medium=product',
- 'tags' => array(
- 'marketplace',
- ),
- ),
'facebook-for-woocommerce' => array(
'name' => __( 'Facebook for WooCommerce', 'woocommerce' ),
'description' => __( 'List products and create ads on Facebook and Instagram with <a href="https://woocommerce.com/products/facebook/">Facebook for WooCommerce</a>', 'woocommerce' ),