Skip to content

Commit

Permalink
Add back the condition to display the step only for eCommerce trial p…
Browse files Browse the repository at this point in the history
…lans
  • Loading branch information
epeicher committed Jul 17, 2024
1 parent 9c32e81 commit 93f4a72
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ public static function get_instance() {
*/
public function __construct() {
// Only for free trials.
// TODO: Uncomment this line when the free trial plan is available.
// if ( ! wc_calypso_bridge_is_ecommerce_trial_plan() ) {
// return;
// }
if ( ! wc_calypso_bridge_is_ecommerce_trial_plan() ) {
return;
}
$onboarding_profile = get_option( 'woocommerce_onboarding_profile', array() );
if ( ! isset( $onboarding_profile['partner'] ) ) {
return;
Expand Down

0 comments on commit 93f4a72

Please sign in to comment.