Skip to content

Commit

Permalink
Jetpack Search for Jetpack sites should redirect to the checkout screen.
Browse files Browse the repository at this point in the history
Atm it is adding an empty product to the Cart and redirecting to /plans.
  • Loading branch information
AnnaMag committed Jul 2, 2020
1 parent a538383 commit cc26a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/my-sites/checkout/checkout/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export class Checkout extends React.Component {
? jetpackProductItem( 'wpcom_search_monthly' )
: jetpackProductItem( 'wpcom_search' );
} else {
cartItem = null;
cartItem = ! isJetpackNotAtomic ? null : cartItem;
}
}

Expand Down

0 comments on commit cc26a25

Please sign in to comment.