diff --git a/projects/packages/sync/changelog/add-allow-sync-for-woo-assorted-options b/projects/packages/sync/changelog/add-allow-sync-for-woo-assorted-options new file mode 100644 index 00000000000..7e0892aa0f0 --- /dev/null +++ b/projects/packages/sync/changelog/add-allow-sync-for-woo-assorted-options @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Add options from assorted WooCommerce settings pages to sync whitelist, as part of activity log improvements. diff --git a/projects/packages/sync/src/modules/class-woocommerce.php b/projects/packages/sync/src/modules/class-woocommerce.php index fd30b4291f1..801c319d4e2 100644 --- a/projects/packages/sync/src/modules/class-woocommerce.php +++ b/projects/packages/sync/src/modules/class-woocommerce.php @@ -617,6 +617,7 @@ public function filter_action_scheduler_comments( $can_sync, $comment ) { 'woocommerce_woocommerce_payments_google_pay_settings', 'woocommerce_woocommerce_payments_settings', 'wc_stripe_agentic_commerce_webhook_secret', // This and the below options relate to additional payment types. + 'wc_square_settings', 'woocommerce_amazon_payments_advanced_settings', 'woocommerce_gift_cards_pay_settings', 'woocommerce_square_cash_app_pay_settings', @@ -625,6 +626,18 @@ public function filter_action_scheduler_comments( $can_sync, $comment ) { 'woocommerce_bacs_accounts', // This and the below options relate to offline payments. 'woocommerce_bacs_settings', 'woocommerce_cheque_settings', + 'woocommerce_ppcp-recaptcha_settings', // This and the below options relate to the WooCommerce Integrations settings page. Required for the Activity Log. + 'woocommerce_maxmind_geolocation_settings', + 'woocommerce_store_pages_only', // This and the below options relate to the WooCommerce Site Visibility settings page. Required for the Activity Log. + 'woocommerce_private_link', + 'woocommerce_coming_soon', + 'wcpay_multi_currency_enabled_currencies', // This and the below option relate to the WooCommerce Multi-Currency settings page. Required for the Activity Log. + 'wcpay_multi_currency_enable_auto_currency', + 'woocommerce_pos_store_name', // This and the below options relate to the WooCommerce Point of Sale settings page. Required for the Activity Log. + 'woocommerce_pos_store_address', + 'woocommerce_pos_store_phone', + 'woocommerce_pos_store_email', + 'woocommerce_pos_refund_returns_policy', 'wcs_notification_settings_update_time', // This and the below options relate to the WooCommerce Subscriptions settings page. Required for the Activity Log. 'wcsatt_add_cart_to_subscription', 'wcsatt_add_product_to_subscription',