diff --git a/plugins/woocommerce-admin/client/payments/payment-recommendations-wrapper.tsx b/plugins/woocommerce-admin/client/payments/payment-recommendations-wrapper.tsx index 1a57546b462b4..d00e034175c2c 100644 --- a/plugins/woocommerce-admin/client/payments/payment-recommendations-wrapper.tsx +++ b/plugins/woocommerce-admin/client/payments/payment-recommendations-wrapper.tsx @@ -21,15 +21,11 @@ export const PaymentRecommendations: React.FC< EmbeddedBodyProps > = ( { tab, section, } ) => { - if ( page === 'wc-settings' && tab === 'checkout' && ! section ) { - if ( - window?.wcAdminFeatures?.[ - 'reactify-classic-payments-settings' - ] === true - ) { - return null; - } - + if ( + page === 'wc-settings' && + tab === 'checkout' && + ( ! section || section === 'main' ) + ) { return ( diff --git a/plugins/woocommerce/changelog/fix-show-recommendation-on-settings-payment-main-page b/plugins/woocommerce/changelog/fix-show-recommendation-on-settings-payment-main-page new file mode 100644 index 0000000000000..b45252f82393d --- /dev/null +++ b/plugins/woocommerce/changelog/fix-show-recommendation-on-settings-payment-main-page @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +Show payments recommendation when main settings element is found